Test duration : 9.358s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2023-11-06 00:08:20 |
2023-11-06 00:08:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:20 | ------------------------------------ 2023-11-06 00:08:20 | [Mutex] waiting for: [configured:node:node-17bc8c17-1533-4819-be67-83ab961b0ebf:node-6257a4da-58d3-464e-ae34-c4fd840d431e] 2023-11-06 00:08:21 | [Mutex] received everything. 2023-11-06 00:08:21 | [Mutex] isItemNotified: configured:node:node-17bc8c17-1533-4819-be67-83ab961b0ebf:node-6257a4da-58d3-464e-ae34-c4fd840d431e :: true 2023-11-06 00:08:22 | [Mutex] waiting for: [received:nodes:ade289a3-1130-45c0-9f8f-84fe057b60bf:localhost] 2023-11-06 00:08:22 | [Mutex] received everything. 2023-11-06 00:08:22 | [Mutex] isItemNotified: received:node:ade289a3-1130-45c0-9f8f-84fe057b60bf:localhost:node-17bc8c17-1533-4819-be67-83ab961b0ebf:Node 17bc8c17-1533-4819-be67-83ab961b0ebf :: true 2023-11-06 00:08:22 | [Mutex] waiting for: [received:nodes:3c4f2cf8-4e09-4450-bb3d-753b76bf5c62:localhost] 2023-11-06 00:08:22 | [Mutex] waiting for: [received:nodes:3c4f2cf8-4e09-4450-bb3d-753b76bf5c62:localhost] 2023-11-06 00:08:22 | [Mutex] waiting for: [received:nodes:3c4f2cf8-4e09-4450-bb3d-753b76bf5c62:localhost] 2023-11-06 00:08:22 | [Mutex] received everything. 2023-11-06 00:08:22 | [Mutex] isItemNotified: received:node:3c4f2cf8-4e09-4450-bb3d-753b76bf5c62:localhost:node-17bc8c17-1533-4819-be67-83ab961b0ebf:Node 17bc8c17-1533-4819-be67-83ab961b0ebf :: false |
createNodes | 1.388s |
2023-11-06 00:08:18 |
2023-11-06 00:08:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:18 | ------------------------------------ 2023-11-06 00:08:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-17bc8c17-1533-4819-be67-83ab961b0ebf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 17bc8c17-1533-4819-be67-83ab961b0ebf</title></pubsub></data> 2023-11-06 00:08:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-06 00:08:19 | [Mutex] waiting for: [received:nodes:3df40dd5-172e-49eb-bcb7-74c0d44deaf0:localhost] 2023-11-06 00:08:19 | [Mutex] waiting for: [received:nodes:3df40dd5-172e-49eb-bcb7-74c0d44deaf0:localhost] 2023-11-06 00:08:19 | [Mutex] waiting for: [received:nodes:3df40dd5-172e-49eb-bcb7-74c0d44deaf0:localhost] 2023-11-06 00:08:19 | [Mutex] waiting for: [received:nodes:3df40dd5-172e-49eb-bcb7-74c0d44deaf0:localhost] 2023-11-06 00:08:19 | [Mutex] received everything. 2023-11-06 00:08:19 | [Mutex] isItemNotified: received:node:3df40dd5-172e-49eb-bcb7-74c0d44deaf0:localhost:node-17bc8c17-1533-4819-be67-83ab961b0ebf:Node 17bc8c17-1533-4819-be67-83ab961b0ebf :: true |
createSubnodes | 1.020s |
2023-11-06 00:08:19 |
2023-11-06 00:08:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:19 | ------------------------------------ 2023-11-06 00:08:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6257a4da-58d3-464e-ae34-c4fd840d431e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6257a4da-58d3-464e-ae34-c4fd840d431e</title></pubsub></data> 2023-11-06 00:08:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-06 00:08:20 | [Mutex] waiting for: [received:nodes:e37ce633-7db4-4c1b-a515-9477dbf57c9c:localhost] 2023-11-06 00:08:20 | [Mutex] waiting for: [received:nodes:e37ce633-7db4-4c1b-a515-9477dbf57c9c:localhost] 2023-11-06 00:08:20 | [Mutex] waiting for: [received:nodes:e37ce633-7db4-4c1b-a515-9477dbf57c9c:localhost] 2023-11-06 00:08:20 | [Mutex] waiting for: [received:nodes:e37ce633-7db4-4c1b-a515-9477dbf57c9c:localhost] 2023-11-06 00:08:20 | [Mutex] waiting for: [received:nodes:e37ce633-7db4-4c1b-a515-9477dbf57c9c:localhost] 2023-11-06 00:08:20 | [Mutex] received everything. 2023-11-06 00:08:20 | [Mutex] isItemNotified: received:node:e37ce633-7db4-4c1b-a515-9477dbf57c9c:localhost:node-6257a4da-58d3-464e-ae34-c4fd840d431e:Node 6257a4da-58d3-464e-ae34-c4fd840d431e :: true |
deleteNodes | 1.020s |
2023-11-06 00:08:26 |
2023-11-06 00:08:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:26 | ------------------------------------ 2023-11-06 00:08:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6257a4da-58d3-464e-ae34-c4fd840d431e</node></data> 2023-11-06 00:08:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-06 00:08:27 | [Mutex] waiting for: [received:nodes:0f02f412-97b0-4789-9ba4-0f02259f6e56:localhost] 2023-11-06 00:08:27 | [Mutex] waiting for: [received:nodes:0f02f412-97b0-4789-9ba4-0f02259f6e56:localhost] 2023-11-06 00:08:27 | [Mutex] waiting for: [received:nodes:0f02f412-97b0-4789-9ba4-0f02259f6e56:localhost] 2023-11-06 00:08:27 | [Mutex] received everything. 2023-11-06 00:08:27 | [Mutex] isItemNotified: received:node:0f02f412-97b0-4789-9ba4-0f02259f6e56:localhost:node-6257a4da-58d3-464e-ae34-c4fd840d431e:Node 6257a4da-58d3-464e-ae34-c4fd840d431e :: false |
deleteSubnodes | 1.149s |
2023-11-06 00:08:25 |
2023-11-06 00:08:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:25 | ------------------------------------ 2023-11-06 00:08:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-17bc8c17-1533-4819-be67-83ab961b0ebf</node></data> 2023-11-06 00:08:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-06 00:08:26 | [Mutex] waiting for: [received:nodes:e5547b6d-fa3a-41a0-8bd3-429e7142b475:localhost] 2023-11-06 00:08:26 | [Mutex] waiting for: [received:nodes:e5547b6d-fa3a-41a0-8bd3-429e7142b475:localhost] 2023-11-06 00:08:26 | [Mutex] waiting for: [received:nodes:e5547b6d-fa3a-41a0-8bd3-429e7142b475:localhost] 2023-11-06 00:08:26 | [Mutex] received everything. 2023-11-06 00:08:26 | [Mutex] isItemNotified: received:node:e5547b6d-fa3a-41a0-8bd3-429e7142b475:localhost:node-17bc8c17-1533-4819-be67-83ab961b0ebf:Node 17bc8c17-1533-4819-be67-83ab961b0ebf :: false 2023-11-06 00:08:26 | [Mutex] waiting for: [received:nodes:25dc137f-d218-43e3-a21b-5d1be3a1167c:localhost] 2023-11-06 00:08:26 | [Mutex] received everything. 2023-11-06 00:08:26 | [Mutex] isItemNotified: received:node:25dc137f-d218-43e3-a21b-5d1be3a1167c:localhost:node-17bc8c17-1533-4819-be67-83ab961b0ebf:Node 17bc8c17-1533-4819-be67-83ab961b0ebf :: false |
publishItemsToNodes | 0.179s |
2023-11-06 00:08:23 |
2023-11-06 00:08:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:23 | ------------------------------------ 2023-11-06 00:08:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-17bc8c17-1533-4819-be67-83ab961b0ebf</node><item-id>item-dd23fcc6-8567-4193-aae8-752541696c11</item-id><entry><test>item-dd23fcc6-8567-4193-aae8-752541696c11</test></entry></data> 2023-11-06 00:08:23 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-dd23fcc6-8567-4193-aae8-752541696c11</value></item-id></result> 2023-11-06 00:08:23 | [Mutex] waiting for: [published:item:notifieditem-dd23fcc6-8567-4193-aae8-752541696c11:admin@test-domain.com] 2023-11-06 00:08:23 | [Mutex] received everything. 2023-11-06 00:08:23 | [Mutex] isItemNotified: published:item:notifieditem-dd23fcc6-8567-4193-aae8-752541696c11:admin@test-domain.com :: true |
retractItemsFromNodes | 0.275s |
2023-11-06 00:08:23 |
2023-11-06 00:08:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:23 | ------------------------------------ 2023-11-06 00:08:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-17bc8c17-1533-4819-be67-83ab961b0ebf</node><item-id>item-dd23fcc6-8567-4193-aae8-752541696c11</item-id></data> 2023-11-06 00:08:23 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-dd23fcc6-8567-4193-aae8-752541696c11</value></item-id></result> 2023-11-06 00:08:23 | [Mutex] received everything. 2023-11-06 00:08:23 | [Mutex] isItemNotified: retracted:item:notifieditem-dd23fcc6-8567-4193-aae8-752541696c11:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.230s |
2023-11-06 00:08:23 |
2023-11-06 00:08:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:23 | ------------------------------------ 2023-11-06 00:08:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-17bc8c17-1533-4819-be67-83ab961b0ebf</node><item-id>item-dd23fcc6-8567-4193-aae8-752541696c11</item-id></data> 2023-11-06 00:08:23 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-17bc8c17-1533-4819-be67-83ab961b0ebf</value></node><item-id type="text-single" label="Item ID"><value>item-dd23fcc6-8567-4193-aae8-752541696c11</value></item-id><item type="text-multi" label="Item"><value><item id="item-dd23fcc6-8567-4193-aae8-752541696c11"><test>item-dd23fcc6-8567-4193-aae8-752541696c11</test></item></value></item></result> 2023-11-06 00:08:23 | [Mutex] notify: [retrieved:item:item-dd23fcc6-8567-4193-aae8-752541696c11:payload-matches:true:localhost] 2023-11-06 00:08:23 | [Mutex] received everything. 2023-11-06 00:08:23 | [Mutex] isItemNotified: retrieved:item:item-dd23fcc6-8567-4193-aae8-752541696c11:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-11-06 00:08:23 |
2023-11-06 00:08:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:23 | ------------------------------------ 2023-11-06 00:08:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-11-06 00:08:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-17bc8c17-1533-4819-be67-83ab961b0ebf</value><value>node-6257a4da-58d3-464e-ae34-c4fd840d431e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.056s |
2023-11-06 00:08:23 |
2023-11-06 00:08:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:23 | ------------------------------------ 2023-11-06 00:08:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-17bc8c17-1533-4819-be67-83ab961b0ebf)</node-pattern></data> 2023-11-06 00:08:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.137s |
2023-11-06 00:08:22 |
2023-11-06 00:08:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:22 | ------------------------------------ 2023-11-06 00:08:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-17bc8c17-1533-4819-be67-83ab961b0ebf</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-06 00:08:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.143s |
2023-11-06 00:08:23 |
2023-11-06 00:08:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-06 00:08:23 | ------------------------------------ 2023-11-06 00:08:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-17bc8c17-1533-4819-be67-83ab961b0ebf</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-06 00:08:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |