Test duration : 10.348s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.121s |
2021-11-16 21:44:09 |
2021-11-16 21:44:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:09 | ------------------------------------ 2021-11-16 21:44:09 | [Mutex] waiting for: [configured:node:node-d02898a5-5485-4613-b125-3002a2f38343:node-d0812cda-784a-46c5-af91-823d206ba363] 2021-11-16 21:44:09 | [Mutex] received everything. 2021-11-16 21:44:09 | [Mutex] isItemNotified: configured:node:node-d02898a5-5485-4613-b125-3002a2f38343:node-d0812cda-784a-46c5-af91-823d206ba363 :: true 2021-11-16 21:44:10 | [Mutex] waiting for: [received:nodes:e44c60a4-ca79-46e7-8d6e-a27086e6c69e:localhost] 2021-11-16 21:44:10 | [Mutex] waiting for: [received:nodes:e44c60a4-ca79-46e7-8d6e-a27086e6c69e:localhost] 2021-11-16 21:44:10 | [Mutex] received everything. 2021-11-16 21:44:10 | [Mutex] isItemNotified: received:node:e44c60a4-ca79-46e7-8d6e-a27086e6c69e:localhost:node-d02898a5-5485-4613-b125-3002a2f38343:Node d02898a5-5485-4613-b125-3002a2f38343 :: true 2021-11-16 21:44:10 | [Mutex] waiting for: [received:nodes:1a42661d-1706-4f94-9641-b05e64547b8a:localhost] 2021-11-16 21:44:10 | [Mutex] waiting for: [received:nodes:1a42661d-1706-4f94-9641-b05e64547b8a:localhost] 2021-11-16 21:44:10 | [Mutex] received everything. 2021-11-16 21:44:10 | [Mutex] isItemNotified: received:node:1a42661d-1706-4f94-9641-b05e64547b8a:localhost:node-d02898a5-5485-4613-b125-3002a2f38343:Node d02898a5-5485-4613-b125-3002a2f38343 :: false |
createNodes | 1.567s |
2021-11-16 21:44:06 |
2021-11-16 21:44:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:06 | ------------------------------------ 2021-11-16 21:44:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d02898a5-5485-4613-b125-3002a2f38343</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d02898a5-5485-4613-b125-3002a2f38343</title></pubsub></data> 2021-11-16 21:44:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 21:44:08 | [Mutex] waiting for: [received:nodes:d0434bf3-0d94-401d-94e3-980ded3f9f04:localhost] 2021-11-16 21:44:08 | [Mutex] received everything. 2021-11-16 21:44:08 | [Mutex] isItemNotified: received:node:d0434bf3-0d94-401d-94e3-980ded3f9f04:localhost:node-d02898a5-5485-4613-b125-3002a2f38343:Node d02898a5-5485-4613-b125-3002a2f38343 :: true |
createSubnodes | 1.042s |
2021-11-16 21:44:08 |
2021-11-16 21:44:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:08 | ------------------------------------ 2021-11-16 21:44:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d0812cda-784a-46c5-af91-823d206ba363</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d0812cda-784a-46c5-af91-823d206ba363</title></pubsub></data> 2021-11-16 21:44:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 21:44:09 | [Mutex] waiting for: [received:nodes:1ad68096-3d01-4957-9e57-fd727c58572a:localhost] 2021-11-16 21:44:09 | [Mutex] received everything. 2021-11-16 21:44:09 | [Mutex] isItemNotified: received:node:1ad68096-3d01-4957-9e57-fd727c58572a:localhost:node-d0812cda-784a-46c5-af91-823d206ba363:Node d0812cda-784a-46c5-af91-823d206ba363 :: true |
deleteNodes | 1.024s |
2021-11-16 21:44:15 |
2021-11-16 21:44:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:15 | ------------------------------------ 2021-11-16 21:44:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d0812cda-784a-46c5-af91-823d206ba363</node></data> 2021-11-16 21:44:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 21:44:16 | [Mutex] waiting for: [received:nodes:38e7d27c-1e77-4a79-8d54-84cf03523ccc:localhost] 2021-11-16 21:44:16 | [Mutex] waiting for: [received:nodes:38e7d27c-1e77-4a79-8d54-84cf03523ccc:localhost] 2021-11-16 21:44:16 | [Mutex] received everything. 2021-11-16 21:44:16 | [Mutex] isItemNotified: received:node:38e7d27c-1e77-4a79-8d54-84cf03523ccc:localhost:node-d0812cda-784a-46c5-af91-823d206ba363:Node d0812cda-784a-46c5-af91-823d206ba363 :: false |
deleteSubnodes | 1.163s |
2021-11-16 21:44:14 |
2021-11-16 21:44:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:14 | ------------------------------------ 2021-11-16 21:44:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d02898a5-5485-4613-b125-3002a2f38343</node></data> 2021-11-16 21:44:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 21:44:15 | [Mutex] waiting for: [received:nodes:e76f03c3-e769-4574-8065-b85ff0a24e36:localhost] 2021-11-16 21:44:15 | [Mutex] received everything. 2021-11-16 21:44:15 | [Mutex] isItemNotified: received:node:e76f03c3-e769-4574-8065-b85ff0a24e36:localhost:node-d02898a5-5485-4613-b125-3002a2f38343:Node d02898a5-5485-4613-b125-3002a2f38343 :: false 2021-11-16 21:44:15 | [Mutex] waiting for: [received:nodes:65156a7a-6e48-40b9-8549-f9ac7c2d82a0:localhost] 2021-11-16 21:44:15 | [Mutex] received everything. 2021-11-16 21:44:15 | [Mutex] isItemNotified: received:node:65156a7a-6e48-40b9-8549-f9ac7c2d82a0:localhost:node-d02898a5-5485-4613-b125-3002a2f38343:Node d02898a5-5485-4613-b125-3002a2f38343 :: false |
publishItemsToNodes | 0.297s |
2021-11-16 21:44:11 |
2021-11-16 21:44:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:11 | ------------------------------------ 2021-11-16 21:44:11 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d02898a5-5485-4613-b125-3002a2f38343</node><item-id>item-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb</item-id><entry><test>item-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb</test></entry></data> 2021-11-16 21:44:12 | 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-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb</value></item-id></result> 2021-11-16 21:44:12 | [Mutex] received everything. 2021-11-16 21:44:12 | [Mutex] isItemNotified: published:item:notifieditem-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.307s |
2021-11-16 21:44:12 |
2021-11-16 21:44:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:12 | ------------------------------------ 2021-11-16 21:44:12 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d02898a5-5485-4613-b125-3002a2f38343</node><item-id>item-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb</item-id></data> 2021-11-16 21:44:12 | 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-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb</value></item-id></result> 2021-11-16 21:44:12 | [Mutex] received everything. 2021-11-16 21:44:12 | [Mutex] isItemNotified: retracted:item:notifieditem-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.371s |
2021-11-16 21:44:12 |
2021-11-16 21:44:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:12 | ------------------------------------ 2021-11-16 21:44:12 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d02898a5-5485-4613-b125-3002a2f38343</node><item-id>item-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb</item-id></data> 2021-11-16 21:44:12 | 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-d02898a5-5485-4613-b125-3002a2f38343</value></node><item-id label="Item ID" type="text-single"><value>item-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb</value></item-id><item label="Item" type="text-multi"><value><item id="item-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb"><test>item-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb</test></item></value></item></result> 2021-11-16 21:44:12 | [Mutex] notify: [retrieved:item:item-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb:payload-matches:true:localhost] 2021-11-16 21:44:12 | [Mutex] received everything. 2021-11-16 21:44:12 | [Mutex] isItemNotified: retrieved:item:item-9d5b1a3b-56f0-41b2-88b4-777e7879b3cb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-11-16 21:44:12 |
2021-11-16 21:44:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:12 | ------------------------------------ 2021-11-16 21:44:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-11-16 21:44:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-d0812cda-784a-46c5-af91-823d206ba363</value><value>test</value><value>node-d02898a5-5485-4613-b125-3002a2f38343</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-11-16 21:44:12 |
2021-11-16 21:44:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:12 | ------------------------------------ 2021-11-16 21:44:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d02898a5-5485-4613-b125-3002a2f38343)</node-pattern></data> 2021-11-16 21:44:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.133s |
2021-11-16 21:44:10 |
2021-11-16 21:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:10 | ------------------------------------ 2021-11-16 21:44:10 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d02898a5-5485-4613-b125-3002a2f38343</node><jids><value>admin@test-domain.com</value></jids></data> 2021-11-16 21:44:10 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.263s |
2021-11-16 21:44:12 |
2021-11-16 21:44:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:44:12 | ------------------------------------ 2021-11-16 21:44:12 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d02898a5-5485-4613-b125-3002a2f38343</node><jids><value>admin@test-domain.com</value></jids></data> 2021-11-16 21:44:13 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |