Test duration: 10.072s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2020-06-18 22:40:39 |
2020-06-18 22:40:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:39 | ------------------------------------ 2020-06-18 22:40:39 | [Mutex] waiting for: [configured:node:node-63b38869-484b-456f-ac2f-57f3610a5f77:node-6d86cdb0-96cb-4540-8e1a-dcddee64b6ba] 2020-06-18 22:40:39 | [Mutex] received everything. 2020-06-18 22:40:39 | [Mutex] isItemNotified: configured:node:node-63b38869-484b-456f-ac2f-57f3610a5f77:node-6d86cdb0-96cb-4540-8e1a-dcddee64b6ba :: true 2020-06-18 22:40:40 | [Mutex] waiting for: [received:nodes:824dfdd5-b81e-49a7-b621-b4ddcb6f3202:localhost] 2020-06-18 22:40:40 | [Mutex] received everything. 2020-06-18 22:40:40 | [Mutex] isItemNotified: received:node:824dfdd5-b81e-49a7-b621-b4ddcb6f3202:localhost:node-63b38869-484b-456f-ac2f-57f3610a5f77:Node 63b38869-484b-456f-ac2f-57f3610a5f77 :: true 2020-06-18 22:40:40 | [Mutex] waiting for: [received:nodes:e630e411-bf23-44ba-bd70-bbe376a47b2d:localhost] 2020-06-18 22:40:40 | [Mutex] received everything. 2020-06-18 22:40:40 | [Mutex] isItemNotified: received:node:e630e411-bf23-44ba-bd70-bbe376a47b2d:localhost:node-63b38869-484b-456f-ac2f-57f3610a5f77:Node 63b38869-484b-456f-ac2f-57f3610a5f77 :: false |
createNodes | 1.510s |
2020-06-18 22:40:36 |
2020-06-18 22:40:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:36 | ------------------------------------ 2020-06-18 22:40:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-63b38869-484b-456f-ac2f-57f3610a5f77</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 63b38869-484b-456f-ac2f-57f3610a5f77</title></pubsub></data> 2020-06-18 22:40:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-18 22:40:38 | [Mutex] waiting for: [received:nodes:8d391a9a-2243-46ca-8b9c-2d6963c40f40:localhost] 2020-06-18 22:40:38 | [Mutex] received everything. 2020-06-18 22:40:38 | [Mutex] isItemNotified: received:node:8d391a9a-2243-46ca-8b9c-2d6963c40f40:localhost:node-63b38869-484b-456f-ac2f-57f3610a5f77:Node 63b38869-484b-456f-ac2f-57f3610a5f77 :: true |
createSubnodes | 1.029s |
2020-06-18 22:40:38 |
2020-06-18 22:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:38 | ------------------------------------ 2020-06-18 22:40:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6d86cdb0-96cb-4540-8e1a-dcddee64b6ba</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6d86cdb0-96cb-4540-8e1a-dcddee64b6ba</title></pubsub></data> 2020-06-18 22:40:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-18 22:40:39 | [Mutex] waiting for: [received:nodes:014cc53f-44b1-44e1-ad35-7c7033fdd723:localhost] 2020-06-18 22:40:39 | [Mutex] received everything. 2020-06-18 22:40:39 | [Mutex] isItemNotified: received:node:014cc53f-44b1-44e1-ad35-7c7033fdd723:localhost:node-6d86cdb0-96cb-4540-8e1a-dcddee64b6ba:Node 6d86cdb0-96cb-4540-8e1a-dcddee64b6ba :: true |
deleteNodes | 1.016s |
2020-06-18 22:40:44 |
2020-06-18 22:40:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:44 | ------------------------------------ 2020-06-18 22:40:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6d86cdb0-96cb-4540-8e1a-dcddee64b6ba</node></data> 2020-06-18 22:40:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-18 22:40:45 | [Mutex] waiting for: [received:nodes:14832d35-f680-4f67-8ff5-65ba8ecb9fd9:localhost] 2020-06-18 22:40:45 | [Mutex] waiting for: [received:nodes:14832d35-f680-4f67-8ff5-65ba8ecb9fd9:localhost] 2020-06-18 22:40:45 | [Mutex] received everything. 2020-06-18 22:40:45 | [Mutex] isItemNotified: received:node:14832d35-f680-4f67-8ff5-65ba8ecb9fd9:localhost:node-6d86cdb0-96cb-4540-8e1a-dcddee64b6ba:Node 6d86cdb0-96cb-4540-8e1a-dcddee64b6ba :: false |
deleteSubnodes | 1.151s |
2020-06-18 22:40:43 |
2020-06-18 22:40:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:43 | ------------------------------------ 2020-06-18 22:40:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-63b38869-484b-456f-ac2f-57f3610a5f77</node></data> 2020-06-18 22:40:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-18 22:40:44 | [Mutex] waiting for: [received:nodes:ce958885-3946-466d-b3f8-8e6725f04d40:localhost] 2020-06-18 22:40:44 | [Mutex] received everything. 2020-06-18 22:40:44 | [Mutex] isItemNotified: received:node:ce958885-3946-466d-b3f8-8e6725f04d40:localhost:node-63b38869-484b-456f-ac2f-57f3610a5f77:Node 63b38869-484b-456f-ac2f-57f3610a5f77 :: false 2020-06-18 22:40:44 | [Mutex] waiting for: [received:nodes:fb1b8a1e-92b0-40fa-b6e2-095b11b6979b:localhost] 2020-06-18 22:40:44 | [Mutex] received everything. 2020-06-18 22:40:44 | [Mutex] isItemNotified: received:node:fb1b8a1e-92b0-40fa-b6e2-095b11b6979b:localhost:node-63b38869-484b-456f-ac2f-57f3610a5f77:Node 63b38869-484b-456f-ac2f-57f3610a5f77 :: false |
publishItemsToNodes | 0.245s |
2020-06-18 22:40:41 |
2020-06-18 22:40:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:41 | ------------------------------------ 2020-06-18 22:40:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-63b38869-484b-456f-ac2f-57f3610a5f77</node><item-id>item-9a2be478-7e28-4e9f-a454-2cf472449aaf</item-id><entry><test>item-9a2be478-7e28-4e9f-a454-2cf472449aaf</test></entry></data> 2020-06-18 22:40:41 | 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-9a2be478-7e28-4e9f-a454-2cf472449aaf</value></item-id></result> 2020-06-18 22:40:41 | [Mutex] waiting for: [published:item:notifieditem-9a2be478-7e28-4e9f-a454-2cf472449aaf:admin@localhost] 2020-06-18 22:40:41 | [Mutex] received everything. 2020-06-18 22:40:41 | [Mutex] isItemNotified: published:item:notifieditem-9a2be478-7e28-4e9f-a454-2cf472449aaf:admin@localhost :: true |
retractItemsFromNodes | 0.315s |
2020-06-18 22:40:42 |
2020-06-18 22:40:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:42 | ------------------------------------ 2020-06-18 22:40:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-63b38869-484b-456f-ac2f-57f3610a5f77</node><item-id>item-9a2be478-7e28-4e9f-a454-2cf472449aaf</item-id></data> 2020-06-18 22:40:42 | 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-9a2be478-7e28-4e9f-a454-2cf472449aaf</value></item-id></result> 2020-06-18 22:40:42 | [Mutex] received everything. 2020-06-18 22:40:42 | [Mutex] isItemNotified: retracted:item:notifieditem-9a2be478-7e28-4e9f-a454-2cf472449aaf:admin@localhost :: true |
retrieveItemsFromNodes | 0.120s |
2020-06-18 22:40:41 |
2020-06-18 22:40:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:41 | ------------------------------------ 2020-06-18 22:40:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-63b38869-484b-456f-ac2f-57f3610a5f77</node><item-id>item-9a2be478-7e28-4e9f-a454-2cf472449aaf</item-id></data> 2020-06-18 22:40:41 | 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-63b38869-484b-456f-ac2f-57f3610a5f77</value></node><item-id label="Item ID" type="text-single"><value>item-9a2be478-7e28-4e9f-a454-2cf472449aaf</value></item-id><item label="Item" type="text-multi"><value><item id="item-9a2be478-7e28-4e9f-a454-2cf472449aaf"><test>item-9a2be478-7e28-4e9f-a454-2cf472449aaf</test></item></value></item></result> 2020-06-18 22:40:41 | [Mutex] notify: [retrieved:item:item-9a2be478-7e28-4e9f-a454-2cf472449aaf:payload-matches:true:localhost] 2020-06-18 22:40:41 | [Mutex] received everything. 2020-06-18 22:40:41 | [Mutex] isItemNotified: retrieved:item:item-9a2be478-7e28-4e9f-a454-2cf472449aaf:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.252s |
2020-06-18 22:40:41 |
2020-06-18 22:40:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:41 | ------------------------------------ 2020-06-18 22:40:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-06-18 22:40:42 | 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-63b38869-484b-456f-ac2f-57f3610a5f77</value><value>node-6d86cdb0-96cb-4540-8e1a-dcddee64b6ba</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-06-18 22:40:42 |
2020-06-18 22:40:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:42 | ------------------------------------ 2020-06-18 22:40:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-63b38869-484b-456f-ac2f-57f3610a5f77)</node-pattern></data> 2020-06-18 22:40:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.147s |
2020-06-18 22:40:40 |
2020-06-18 22:40:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:40 | ------------------------------------ 2020-06-18 22:40:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-63b38869-484b-456f-ac2f-57f3610a5f77</node><jids><value>admin@localhost</value></jids></data> 2020-06-18 22:40:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.236s |
2020-06-18 22:40:42 |
2020-06-18 22:40:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-18 22:40:42 | ------------------------------------ 2020-06-18 22:40:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-63b38869-484b-456f-ac2f-57f3610a5f77</node><jids><value>admin@localhost</value></jids></data> 2020-06-18 22:40:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |