Test duration : 10.271s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.176s |
2020-11-03 21:58:34 |
2020-11-03 21:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:34 | ------------------------------------ 2020-11-03 21:58:34 | [Mutex] waiting for: [configured:node:node-077059d6-2d14-4d53-ba75-c7fd448322cd:node-37bcd242-c04b-425b-9c6b-40454e34c9c7] 2020-11-03 21:58:34 | [Mutex] received everything. 2020-11-03 21:58:34 | [Mutex] isItemNotified: configured:node:node-077059d6-2d14-4d53-ba75-c7fd448322cd:node-37bcd242-c04b-425b-9c6b-40454e34c9c7 :: true 2020-11-03 21:58:35 | [Mutex] waiting for: [received:nodes:c78ff971-91a4-4ce3-96a9-71378f528adb:localhost] 2020-11-03 21:58:35 | [Mutex] received everything. 2020-11-03 21:58:35 | [Mutex] isItemNotified: received:node:c78ff971-91a4-4ce3-96a9-71378f528adb:localhost:node-077059d6-2d14-4d53-ba75-c7fd448322cd:Node 077059d6-2d14-4d53-ba75-c7fd448322cd :: true 2020-11-03 21:58:35 | [Mutex] waiting for: [received:nodes:17e45faa-c7ec-42e8-a09f-fb8d15b6af30:localhost] 2020-11-03 21:58:35 | [Mutex] received everything. 2020-11-03 21:58:35 | [Mutex] isItemNotified: received:node:17e45faa-c7ec-42e8-a09f-fb8d15b6af30:localhost:node-077059d6-2d14-4d53-ba75-c7fd448322cd:Node 077059d6-2d14-4d53-ba75-c7fd448322cd :: false |
createNodes | 1.610s |
2020-11-03 21:58:31 |
2020-11-03 21:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:31 | ------------------------------------ 2020-11-03 21:58:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-077059d6-2d14-4d53-ba75-c7fd448322cd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 077059d6-2d14-4d53-ba75-c7fd448322cd</title></pubsub></data> 2020-11-03 21:58:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:58:33 | [Mutex] waiting for: [received:nodes:3a30d8ab-d750-4673-8496-f901e8dddf77:localhost] 2020-11-03 21:58:33 | [Mutex] received everything. 2020-11-03 21:58:33 | [Mutex] isItemNotified: received:node:3a30d8ab-d750-4673-8496-f901e8dddf77:localhost:node-077059d6-2d14-4d53-ba75-c7fd448322cd:Node 077059d6-2d14-4d53-ba75-c7fd448322cd :: true |
createSubnodes | 1.026s |
2020-11-03 21:58:33 |
2020-11-03 21:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:33 | ------------------------------------ 2020-11-03 21:58:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-37bcd242-c04b-425b-9c6b-40454e34c9c7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 37bcd242-c04b-425b-9c6b-40454e34c9c7</title></pubsub></data> 2020-11-03 21:58:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:58:34 | [Mutex] waiting for: [received:nodes:4edd7246-85a5-4ca9-ab3e-23105bf0dda7:localhost] 2020-11-03 21:58:34 | [Mutex] received everything. 2020-11-03 21:58:34 | [Mutex] isItemNotified: received:node:4edd7246-85a5-4ca9-ab3e-23105bf0dda7:localhost:node-37bcd242-c04b-425b-9c6b-40454e34c9c7:Node 37bcd242-c04b-425b-9c6b-40454e34c9c7 :: true |
deleteNodes | 1.022s |
2020-11-03 21:58:40 |
2020-11-03 21:58:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:40 | ------------------------------------ 2020-11-03 21:58:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-37bcd242-c04b-425b-9c6b-40454e34c9c7</node></data> 2020-11-03 21:58:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:58:41 | [Mutex] waiting for: [received:nodes:5d2d1271-f9e0-4eef-9c46-9421a98d8717:localhost] 2020-11-03 21:58:41 | [Mutex] received everything. 2020-11-03 21:58:41 | [Mutex] isItemNotified: received:node:5d2d1271-f9e0-4eef-9c46-9421a98d8717:localhost:node-37bcd242-c04b-425b-9c6b-40454e34c9c7:Node 37bcd242-c04b-425b-9c6b-40454e34c9c7 :: false |
deleteSubnodes | 1.137s |
2020-11-03 21:58:38 |
2020-11-03 21:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:38 | ------------------------------------ 2020-11-03 21:58:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-077059d6-2d14-4d53-ba75-c7fd448322cd</node></data> 2020-11-03 21:58:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:58:40 | [Mutex] waiting for: [received:nodes:2fee8a7c-15f0-4f27-9e7f-cad1c4c3b2aa:localhost] 2020-11-03 21:58:40 | [Mutex] waiting for: [received:nodes:2fee8a7c-15f0-4f27-9e7f-cad1c4c3b2aa:localhost] 2020-11-03 21:58:40 | [Mutex] received everything. 2020-11-03 21:58:40 | [Mutex] isItemNotified: received:node:2fee8a7c-15f0-4f27-9e7f-cad1c4c3b2aa:localhost:node-077059d6-2d14-4d53-ba75-c7fd448322cd:Node 077059d6-2d14-4d53-ba75-c7fd448322cd :: false 2020-11-03 21:58:40 | [Mutex] waiting for: [received:nodes:966761a0-da08-4e02-91ec-198d158b4c9f:localhost] 2020-11-03 21:58:40 | [Mutex] received everything. 2020-11-03 21:58:40 | [Mutex] isItemNotified: received:node:966761a0-da08-4e02-91ec-198d158b4c9f:localhost:node-077059d6-2d14-4d53-ba75-c7fd448322cd:Node 077059d6-2d14-4d53-ba75-c7fd448322cd :: false |
publishItemsToNodes | 0.217s |
2020-11-03 21:58:36 |
2020-11-03 21:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:36 | ------------------------------------ 2020-11-03 21:58:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-077059d6-2d14-4d53-ba75-c7fd448322cd</node><item-id>item-f6226e41-af94-4043-9c61-c3affe9158e4</item-id><entry><test>item-f6226e41-af94-4043-9c61-c3affe9158e4</test></entry></data> 2020-11-03 21:58:36 | 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-f6226e41-af94-4043-9c61-c3affe9158e4</value></item-id></result> 2020-11-03 21:58:36 | [Mutex] waiting for: [published:item:notifieditem-f6226e41-af94-4043-9c61-c3affe9158e4:admin@test-domain.com] 2020-11-03 21:58:36 | [Mutex] received everything. 2020-11-03 21:58:36 | [Mutex] isItemNotified: published:item:notifieditem-f6226e41-af94-4043-9c61-c3affe9158e4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.276s |
2020-11-03 21:58:37 |
2020-11-03 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:37 | ------------------------------------ 2020-11-03 21:58:37 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-077059d6-2d14-4d53-ba75-c7fd448322cd</node><item-id>item-f6226e41-af94-4043-9c61-c3affe9158e4</item-id></data> 2020-11-03 21:58:37 | 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-f6226e41-af94-4043-9c61-c3affe9158e4</value></item-id></result> 2020-11-03 21:58:37 | [Mutex] received everything. 2020-11-03 21:58:37 | [Mutex] isItemNotified: retracted:item:notifieditem-f6226e41-af94-4043-9c61-c3affe9158e4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.268s |
2020-11-03 21:58:36 |
2020-11-03 21:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:36 | ------------------------------------ 2020-11-03 21:58:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-077059d6-2d14-4d53-ba75-c7fd448322cd</node><item-id>item-f6226e41-af94-4043-9c61-c3affe9158e4</item-id></data> 2020-11-03 21:58:37 | 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-077059d6-2d14-4d53-ba75-c7fd448322cd</value></node><item-id type="text-single" label="Item ID"><value>item-f6226e41-af94-4043-9c61-c3affe9158e4</value></item-id><item type="text-multi" label="Item"><value><item id="item-f6226e41-af94-4043-9c61-c3affe9158e4"><test>item-f6226e41-af94-4043-9c61-c3affe9158e4</test></item></value></item></result> 2020-11-03 21:58:37 | [Mutex] notify: [retrieved:item:item-f6226e41-af94-4043-9c61-c3affe9158e4:payload-matches:true:localhost] 2020-11-03 21:58:37 | [Mutex] received everything. 2020-11-03 21:58:37 | [Mutex] isItemNotified: retrieved:item:item-f6226e41-af94-4043-9c61-c3affe9158e4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-03 21:58:37 |
2020-11-03 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:37 | ------------------------------------ 2020-11-03 21:58:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-03 21:58:37 | 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-37bcd242-c04b-425b-9c6b-40454e34c9c7</value><value>node-077059d6-2d14-4d53-ba75-c7fd448322cd</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-11-03 21:58:37 |
2020-11-03 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:37 | ------------------------------------ 2020-11-03 21:58:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-077059d6-2d14-4d53-ba75-c7fd448322cd)</node-pattern></data> 2020-11-03 21:58:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.143s |
2020-11-03 21:58:35 |
2020-11-03 21:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:35 | ------------------------------------ 2020-11-03 21:58:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-077059d6-2d14-4d53-ba75-c7fd448322cd</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-03 21:58:35 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.312s |
2020-11-03 21:58:37 |
2020-11-03 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:58:37 | ------------------------------------ 2020-11-03 21:58:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-077059d6-2d14-4d53-ba75-c7fd448322cd</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-03 21:58:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |