Test duration : 9.780s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.084s |
2022-05-10 22:39:25 |
2022-05-10 22:39:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:25 | ------------------------------------ 2022-05-10 22:39:25 | [Mutex] waiting for: [configured:node:node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2:node-b766a83d-9ea6-4d45-ac82-57276a56dc76] 2022-05-10 22:39:26 | [Mutex] received everything. 2022-05-10 22:39:26 | [Mutex] isItemNotified: configured:node:node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2:node-b766a83d-9ea6-4d45-ac82-57276a56dc76 :: true 2022-05-10 22:39:27 | [Mutex] waiting for: [received:nodes:e429d2e2-e930-4464-8675-9ef7ffc57e59:localhost] 2022-05-10 22:39:27 | [Mutex] received everything. 2022-05-10 22:39:27 | [Mutex] isItemNotified: received:node:e429d2e2-e930-4464-8675-9ef7ffc57e59:localhost:node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2:Node ce18dbf9-160c-4f22-b115-b69a1c8f32a2 :: true 2022-05-10 22:39:27 | [Mutex] waiting for: [received:nodes:49d5948f-aac9-4267-98c7-b371e4fd7be0:localhost] 2022-05-10 22:39:27 | [Mutex] received everything. 2022-05-10 22:39:27 | [Mutex] isItemNotified: received:node:49d5948f-aac9-4267-98c7-b371e4fd7be0:localhost:node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2:Node ce18dbf9-160c-4f22-b115-b69a1c8f32a2 :: false |
createNodes | 1.383s |
2022-05-10 22:39:23 |
2022-05-10 22:39:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:23 | ------------------------------------ 2022-05-10 22:39:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ce18dbf9-160c-4f22-b115-b69a1c8f32a2</title></pubsub></data> 2022-05-10 22:39:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-10 22:39:24 | [Mutex] waiting for: [received:nodes:bd0f9853-6a53-495c-b077-621c02e081eb:localhost] 2022-05-10 22:39:24 | [Mutex] waiting for: [received:nodes:bd0f9853-6a53-495c-b077-621c02e081eb:localhost] 2022-05-10 22:39:24 | [Mutex] received everything. 2022-05-10 22:39:24 | [Mutex] isItemNotified: received:node:bd0f9853-6a53-495c-b077-621c02e081eb:localhost:node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2:Node ce18dbf9-160c-4f22-b115-b69a1c8f32a2 :: true |
createSubnodes | 1.032s |
2022-05-10 22:39:24 |
2022-05-10 22:39:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:24 | ------------------------------------ 2022-05-10 22:39:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b766a83d-9ea6-4d45-ac82-57276a56dc76</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b766a83d-9ea6-4d45-ac82-57276a56dc76</title></pubsub></data> 2022-05-10 22:39:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-10 22:39:25 | [Mutex] waiting for: [received:nodes:a81b084a-bafc-49fe-ba5b-643d148ca4c2:localhost] 2022-05-10 22:39:25 | [Mutex] waiting for: [received:nodes:a81b084a-bafc-49fe-ba5b-643d148ca4c2:localhost] 2022-05-10 22:39:25 | [Mutex] received everything. 2022-05-10 22:39:25 | [Mutex] isItemNotified: received:node:a81b084a-bafc-49fe-ba5b-643d148ca4c2:localhost:node-b766a83d-9ea6-4d45-ac82-57276a56dc76:Node b766a83d-9ea6-4d45-ac82-57276a56dc76 :: true |
deleteNodes | 1.022s |
2022-05-10 22:39:31 |
2022-05-10 22:39:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:31 | ------------------------------------ 2022-05-10 22:39:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b766a83d-9ea6-4d45-ac82-57276a56dc76</node></data> 2022-05-10 22:39:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-10 22:39:32 | [Mutex] waiting for: [received:nodes:7250af9e-06ad-483d-bd18-bcf45b454b08:localhost] 2022-05-10 22:39:32 | [Mutex] received everything. 2022-05-10 22:39:32 | [Mutex] isItemNotified: received:node:7250af9e-06ad-483d-bd18-bcf45b454b08:localhost:node-b766a83d-9ea6-4d45-ac82-57276a56dc76:Node b766a83d-9ea6-4d45-ac82-57276a56dc76 :: false |
deleteSubnodes | 1.158s |
2022-05-10 22:39:30 |
2022-05-10 22:39:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:30 | ------------------------------------ 2022-05-10 22:39:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2</node></data> 2022-05-10 22:39:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-10 22:39:31 | [Mutex] waiting for: [received:nodes:d2368cd4-6f84-4e89-8624-808f40029aa9:localhost] 2022-05-10 22:39:31 | [Mutex] received everything. 2022-05-10 22:39:31 | [Mutex] isItemNotified: received:node:d2368cd4-6f84-4e89-8624-808f40029aa9:localhost:node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2:Node ce18dbf9-160c-4f22-b115-b69a1c8f32a2 :: false 2022-05-10 22:39:31 | [Mutex] waiting for: [received:nodes:94d4675f-85f1-4d4e-8d76-74e54be4b479:localhost] 2022-05-10 22:39:31 | [Mutex] received everything. 2022-05-10 22:39:31 | [Mutex] isItemNotified: received:node:94d4675f-85f1-4d4e-8d76-74e54be4b479:localhost:node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2:Node ce18dbf9-160c-4f22-b115-b69a1c8f32a2 :: false |
publishItemsToNodes | 0.224s |
2022-05-10 22:39:28 |
2022-05-10 22:39:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:28 | ------------------------------------ 2022-05-10 22:39:28 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2</node><item-id>item-7cd8b92e-52ec-47a3-a691-066fe189fc67</item-id><entry><test>item-7cd8b92e-52ec-47a3-a691-066fe189fc67</test></entry></data> 2022-05-10 22:39:28 | 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-7cd8b92e-52ec-47a3-a691-066fe189fc67</value></item-id></result> 2022-05-10 22:39:28 | [Mutex] waiting for: [published:item:notifieditem-7cd8b92e-52ec-47a3-a691-066fe189fc67:admin@test-domain.com] 2022-05-10 22:39:28 | [Mutex] received everything. 2022-05-10 22:39:28 | [Mutex] isItemNotified: published:item:notifieditem-7cd8b92e-52ec-47a3-a691-066fe189fc67:admin@test-domain.com :: true |
retractItemsFromNodes | 0.323s |
2022-05-10 22:39:28 |
2022-05-10 22:39:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:28 | ------------------------------------ 2022-05-10 22:39:28 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2</node><item-id>item-7cd8b92e-52ec-47a3-a691-066fe189fc67</item-id></data> 2022-05-10 22:39:29 | 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-7cd8b92e-52ec-47a3-a691-066fe189fc67</value></item-id></result> 2022-05-10 22:39:29 | [Mutex] received everything. 2022-05-10 22:39:29 | [Mutex] isItemNotified: retracted:item:notifieditem-7cd8b92e-52ec-47a3-a691-066fe189fc67:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.286s |
2022-05-10 22:39:28 |
2022-05-10 22:39:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:28 | ------------------------------------ 2022-05-10 22:39:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2</node><item-id>item-7cd8b92e-52ec-47a3-a691-066fe189fc67</item-id></data> 2022-05-10 22:39:28 | 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-ce18dbf9-160c-4f22-b115-b69a1c8f32a2</value></node><item-id label="Item ID" type="text-single"><value>item-7cd8b92e-52ec-47a3-a691-066fe189fc67</value></item-id><item label="Item" type="text-multi"><value><item id="item-7cd8b92e-52ec-47a3-a691-066fe189fc67"><test>item-7cd8b92e-52ec-47a3-a691-066fe189fc67</test></item></value></item></result> 2022-05-10 22:39:28 | [Mutex] notify: [retrieved:item:item-7cd8b92e-52ec-47a3-a691-066fe189fc67:payload-matches:true:localhost] 2022-05-10 22:39:28 | [Mutex] received everything. 2022-05-10 22:39:28 | [Mutex] isItemNotified: retrieved:item:item-7cd8b92e-52ec-47a3-a691-066fe189fc67:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-10 22:39:28 |
2022-05-10 22:39:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:28 | ------------------------------------ 2022-05-10 22:39:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-10 22:39:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-b766a83d-9ea6-4d45-ac82-57276a56dc76</value><value>test</value><value>node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-05-10 22:39:28 |
2022-05-10 22:39:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:28 | ------------------------------------ 2022-05-10 22:39:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2)</node-pattern></data> 2022-05-10 22:39:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.147s |
2022-05-10 22:39:27 |
2022-05-10 22:39:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:27 | ------------------------------------ 2022-05-10 22:39:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-10 22:39:27 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.239s |
2022-05-10 22:39:29 |
2022-05-10 22:39:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-10 22:39:29 | ------------------------------------ 2022-05-10 22:39:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ce18dbf9-160c-4f22-b115-b69a1c8f32a2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-10 22:39:29 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |