Test duration : 10.135s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.138s |
2021-10-05 22:28:11 |
2021-10-05 22:28:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:11 | ------------------------------------ 2021-10-05 22:28:11 | [Mutex] waiting for: [configured:node:node-2d32992a-362a-4a11-a3c6-f82338b155a9:node-d6515569-7806-4fd6-80de-070132a63850] 2021-10-05 22:28:11 | [Mutex] received everything. 2021-10-05 22:28:11 | [Mutex] isItemNotified: configured:node:node-2d32992a-362a-4a11-a3c6-f82338b155a9:node-d6515569-7806-4fd6-80de-070132a63850 :: true 2021-10-05 22:28:12 | [Mutex] waiting for: [received:nodes:0ef0b2cf-c6ab-48f0-802a-80b355e427eb:localhost] 2021-10-05 22:28:12 | [Mutex] received everything. 2021-10-05 22:28:12 | [Mutex] isItemNotified: received:node:0ef0b2cf-c6ab-48f0-802a-80b355e427eb:localhost:node-2d32992a-362a-4a11-a3c6-f82338b155a9:Node 2d32992a-362a-4a11-a3c6-f82338b155a9 :: true 2021-10-05 22:28:12 | [Mutex] waiting for: [received:nodes:534ed55c-0b25-40cc-bdd9-28d17e894200:localhost] 2021-10-05 22:28:12 | [Mutex] received everything. 2021-10-05 22:28:12 | [Mutex] isItemNotified: received:node:534ed55c-0b25-40cc-bdd9-28d17e894200:localhost:node-2d32992a-362a-4a11-a3c6-f82338b155a9:Node 2d32992a-362a-4a11-a3c6-f82338b155a9 :: false |
createNodes | 1.435s |
2021-10-05 22:28:09 |
2021-10-05 22:28:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:09 | ------------------------------------ 2021-10-05 22:28:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2d32992a-362a-4a11-a3c6-f82338b155a9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2d32992a-362a-4a11-a3c6-f82338b155a9</title></pubsub></data> 2021-10-05 22:28:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-05 22:28:10 | [Mutex] waiting for: [received:nodes:8e5712ac-06be-4150-bc48-4f208589d1c3:localhost] 2021-10-05 22:28:10 | [Mutex] received everything. 2021-10-05 22:28:10 | [Mutex] isItemNotified: received:node:8e5712ac-06be-4150-bc48-4f208589d1c3:localhost:node-2d32992a-362a-4a11-a3c6-f82338b155a9:Node 2d32992a-362a-4a11-a3c6-f82338b155a9 :: true |
createSubnodes | 1.025s |
2021-10-05 22:28:10 |
2021-10-05 22:28:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:10 | ------------------------------------ 2021-10-05 22:28:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d6515569-7806-4fd6-80de-070132a63850</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d6515569-7806-4fd6-80de-070132a63850</title></pubsub></data> 2021-10-05 22:28:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-05 22:28:11 | [Mutex] waiting for: [received:nodes:6ba33163-36c9-4c89-b00e-d080cbb57c76:localhost] 2021-10-05 22:28:11 | [Mutex] received everything. 2021-10-05 22:28:11 | [Mutex] isItemNotified: received:node:6ba33163-36c9-4c89-b00e-d080cbb57c76:localhost:node-d6515569-7806-4fd6-80de-070132a63850:Node d6515569-7806-4fd6-80de-070132a63850 :: true |
deleteNodes | 1.022s |
2021-10-05 22:28:17 |
2021-10-05 22:28:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:17 | ------------------------------------ 2021-10-05 22:28:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d6515569-7806-4fd6-80de-070132a63850</node></data> 2021-10-05 22:28:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-05 22:28:18 | [Mutex] waiting for: [received:nodes:02a05c70-cef5-4d36-b912-03eed4f2e785:localhost] 2021-10-05 22:28:18 | [Mutex] received everything. 2021-10-05 22:28:18 | [Mutex] isItemNotified: received:node:02a05c70-cef5-4d36-b912-03eed4f2e785:localhost:node-d6515569-7806-4fd6-80de-070132a63850:Node d6515569-7806-4fd6-80de-070132a63850 :: false |
deleteSubnodes | 1.153s |
2021-10-05 22:28:16 |
2021-10-05 22:28:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:16 | ------------------------------------ 2021-10-05 22:28:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2d32992a-362a-4a11-a3c6-f82338b155a9</node></data> 2021-10-05 22:28:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-05 22:28:17 | [Mutex] waiting for: [received:nodes:514e3a99-3149-40de-839a-c804f2f99106:localhost] 2021-10-05 22:28:17 | [Mutex] received everything. 2021-10-05 22:28:17 | [Mutex] isItemNotified: received:node:514e3a99-3149-40de-839a-c804f2f99106:localhost:node-2d32992a-362a-4a11-a3c6-f82338b155a9:Node 2d32992a-362a-4a11-a3c6-f82338b155a9 :: false 2021-10-05 22:28:17 | [Mutex] waiting for: [received:nodes:7916f168-4d43-403d-bfed-b38d7c4d973c:localhost] 2021-10-05 22:28:17 | [Mutex] received everything. 2021-10-05 22:28:17 | [Mutex] isItemNotified: received:node:7916f168-4d43-403d-bfed-b38d7c4d973c:localhost:node-2d32992a-362a-4a11-a3c6-f82338b155a9:Node 2d32992a-362a-4a11-a3c6-f82338b155a9 :: false |
publishItemsToNodes | 0.260s |
2021-10-05 22:28:14 |
2021-10-05 22:28:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:14 | ------------------------------------ 2021-10-05 22:28:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2d32992a-362a-4a11-a3c6-f82338b155a9</node><item-id>item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d</item-id><entry><test>item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d</test></entry></data> 2021-10-05 22:28:14 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d</value></item-id></result> 2021-10-05 22:28:14 | [Mutex] waiting for: [published:item:notifieditem-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d:admin@test-domain.com] 2021-10-05 22:28:14 | [Mutex] received everything. 2021-10-05 22:28:14 | [Mutex] isItemNotified: published:item:notifieditem-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.275s |
2021-10-05 22:28:14 |
2021-10-05 22:28:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:14 | ------------------------------------ 2021-10-05 22:28:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2d32992a-362a-4a11-a3c6-f82338b155a9</node><item-id>item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d</item-id></data> 2021-10-05 22:28:14 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d</value></item-id></result> 2021-10-05 22:28:14 | [Mutex] received everything. 2021-10-05 22:28:14 | [Mutex] isItemNotified: retracted:item:notifieditem-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.326s |
2021-10-05 22:28:14 |
2021-10-05 22:28:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:14 | ------------------------------------ 2021-10-05 22:28:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2d32992a-362a-4a11-a3c6-f82338b155a9</node><item-id>item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d</item-id></data> 2021-10-05 22:28:14 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-2d32992a-362a-4a11-a3c6-f82338b155a9</value></node><item-id label="Item ID" type="text-single"><value>item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d</value></item-id><item label="Item" type="text-multi"><value><item id="item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d"><test>item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d</test></item></value></item></result> 2021-10-05 22:28:14 | [Mutex] notify: [retrieved:item:item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d:payload-matches:true:localhost] 2021-10-05 22:28:14 | [Mutex] received everything. 2021-10-05 22:28:14 | [Mutex] isItemNotified: retrieved:item:item-0518c70a-a2b3-432c-bdad-7ca9b5b6fd2d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.057s |
2021-10-05 22:28:14 |
2021-10-05 22:28:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:14 | ------------------------------------ 2021-10-05 22:28:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-05 22:28:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-2d32992a-362a-4a11-a3c6-f82338b155a9</value><value>node-d6515569-7806-4fd6-80de-070132a63850</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2021-10-05 22:28:14 |
2021-10-05 22:28:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:14 | ------------------------------------ 2021-10-05 22:28:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2d32992a-362a-4a11-a3c6-f82338b155a9)</node-pattern></data> 2021-10-05 22:28:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.193s |
2021-10-05 22:28:12 |
2021-10-05 22:28:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:12 | ------------------------------------ 2021-10-05 22:28:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2d32992a-362a-4a11-a3c6-f82338b155a9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-05 22:28:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.295s |
2021-10-05 22:28:14 |
2021-10-05 22:28:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-05 22:28:14 | ------------------------------------ 2021-10-05 22:28:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2d32992a-362a-4a11-a3c6-f82338b155a9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-05 22:28:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |