Test duration : 9.543s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2022-06-22 23:02:17 |
2022-06-22 23:02:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:17 | ------------------------------------ 2022-06-22 23:02:17 | [Mutex] waiting for: [configured:node:node-011ff44b-fb68-423f-84d3-b9886dba32bc:node-c8669fc0-062c-4a59-8e33-c58a9cdd2324] 2022-06-22 23:02:17 | [Mutex] received everything. 2022-06-22 23:02:17 | [Mutex] isItemNotified: configured:node:node-011ff44b-fb68-423f-84d3-b9886dba32bc:node-c8669fc0-062c-4a59-8e33-c58a9cdd2324 :: true 2022-06-22 23:02:18 | [Mutex] waiting for: [received:nodes:2ffd97d6-80a7-4029-a27f-6132189771e7:localhost] 2022-06-22 23:02:18 | [Mutex] received everything. 2022-06-22 23:02:18 | [Mutex] isItemNotified: received:node:2ffd97d6-80a7-4029-a27f-6132189771e7:localhost:node-011ff44b-fb68-423f-84d3-b9886dba32bc:Node 011ff44b-fb68-423f-84d3-b9886dba32bc :: true 2022-06-22 23:02:18 | [Mutex] waiting for: [received:nodes:849f4b56-55ba-4af3-a32d-73cf2cc53da1:localhost] 2022-06-22 23:02:18 | [Mutex] waiting for: [received:nodes:849f4b56-55ba-4af3-a32d-73cf2cc53da1:localhost] 2022-06-22 23:02:18 | [Mutex] received everything. 2022-06-22 23:02:18 | [Mutex] isItemNotified: received:node:849f4b56-55ba-4af3-a32d-73cf2cc53da1:localhost:node-011ff44b-fb68-423f-84d3-b9886dba32bc:Node 011ff44b-fb68-423f-84d3-b9886dba32bc :: false |
createNodes | 1.443s |
2022-06-22 23:02:14 |
2022-06-22 23:02:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:14 | ------------------------------------ 2022-06-22 23:02:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-011ff44b-fb68-423f-84d3-b9886dba32bc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 011ff44b-fb68-423f-84d3-b9886dba32bc</title></pubsub></data> 2022-06-22 23:02:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-22 23:02:16 | [Mutex] waiting for: [received:nodes:48096a25-7739-4937-ba28-5312b81ca9d6:localhost] 2022-06-22 23:02:16 | [Mutex] received everything. 2022-06-22 23:02:16 | [Mutex] isItemNotified: received:node:48096a25-7739-4937-ba28-5312b81ca9d6:localhost:node-011ff44b-fb68-423f-84d3-b9886dba32bc:Node 011ff44b-fb68-423f-84d3-b9886dba32bc :: true |
createSubnodes | 1.022s |
2022-06-22 23:02:16 |
2022-06-22 23:02:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:16 | ------------------------------------ 2022-06-22 23:02:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c8669fc0-062c-4a59-8e33-c58a9cdd2324</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c8669fc0-062c-4a59-8e33-c58a9cdd2324</title></pubsub></data> 2022-06-22 23:02:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-22 23:02:17 | [Mutex] waiting for: [received:nodes:30eecac3-2237-408c-b519-9cb256c18e96:localhost] 2022-06-22 23:02:17 | [Mutex] received everything. 2022-06-22 23:02:17 | [Mutex] isItemNotified: received:node:30eecac3-2237-408c-b519-9cb256c18e96:localhost:node-c8669fc0-062c-4a59-8e33-c58a9cdd2324:Node c8669fc0-062c-4a59-8e33-c58a9cdd2324 :: true |
deleteNodes | 1.016s |
2022-06-22 23:02:22 |
2022-06-22 23:02:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:22 | ------------------------------------ 2022-06-22 23:02:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c8669fc0-062c-4a59-8e33-c58a9cdd2324</node></data> 2022-06-22 23:02:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-22 23:02:23 | [Mutex] waiting for: [received:nodes:313d04c9-0aa0-46ae-9306-2c5722d34e5d:localhost] 2022-06-22 23:02:23 | [Mutex] received everything. 2022-06-22 23:02:23 | [Mutex] isItemNotified: received:node:313d04c9-0aa0-46ae-9306-2c5722d34e5d:localhost:node-c8669fc0-062c-4a59-8e33-c58a9cdd2324:Node c8669fc0-062c-4a59-8e33-c58a9cdd2324 :: false |
deleteSubnodes | 1.128s |
2022-06-22 23:02:21 |
2022-06-22 23:02:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:21 | ------------------------------------ 2022-06-22 23:02:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-011ff44b-fb68-423f-84d3-b9886dba32bc</node></data> 2022-06-22 23:02:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-22 23:02:22 | [Mutex] waiting for: [received:nodes:b30ac2a7-31c4-43b0-874d-ebca29826e41:localhost] 2022-06-22 23:02:22 | [Mutex] waiting for: [received:nodes:b30ac2a7-31c4-43b0-874d-ebca29826e41:localhost] 2022-06-22 23:02:22 | [Mutex] received everything. 2022-06-22 23:02:22 | [Mutex] isItemNotified: received:node:b30ac2a7-31c4-43b0-874d-ebca29826e41:localhost:node-011ff44b-fb68-423f-84d3-b9886dba32bc:Node 011ff44b-fb68-423f-84d3-b9886dba32bc :: false 2022-06-22 23:02:22 | [Mutex] waiting for: [received:nodes:09ca5215-4319-44c3-aed0-a34267437d2a:localhost] 2022-06-22 23:02:22 | [Mutex] received everything. 2022-06-22 23:02:22 | [Mutex] isItemNotified: received:node:09ca5215-4319-44c3-aed0-a34267437d2a:localhost:node-011ff44b-fb68-423f-84d3-b9886dba32bc:Node 011ff44b-fb68-423f-84d3-b9886dba32bc :: false |
publishItemsToNodes | 0.201s |
2022-06-22 23:02:19 |
2022-06-22 23:02:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:19 | ------------------------------------ 2022-06-22 23:02:19 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-011ff44b-fb68-423f-84d3-b9886dba32bc</node><item-id>item-1adb0371-0c5e-4246-952d-ee80abdf26ec</item-id><entry><test>item-1adb0371-0c5e-4246-952d-ee80abdf26ec</test></entry></data> 2022-06-22 23:02:19 | 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-1adb0371-0c5e-4246-952d-ee80abdf26ec</value></item-id></result> 2022-06-22 23:02:19 | [Mutex] waiting for: [published:item:notifieditem-1adb0371-0c5e-4246-952d-ee80abdf26ec:admin@test-domain.com] 2022-06-22 23:02:19 | [Mutex] received everything. 2022-06-22 23:02:19 | [Mutex] isItemNotified: published:item:notifieditem-1adb0371-0c5e-4246-952d-ee80abdf26ec:admin@test-domain.com :: true |
retractItemsFromNodes | 0.311s |
2022-06-22 23:02:19 |
2022-06-22 23:02:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:19 | ------------------------------------ 2022-06-22 23:02:19 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-011ff44b-fb68-423f-84d3-b9886dba32bc</node><item-id>item-1adb0371-0c5e-4246-952d-ee80abdf26ec</item-id></data> 2022-06-22 23:02:20 | 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-1adb0371-0c5e-4246-952d-ee80abdf26ec</value></item-id></result> 2022-06-22 23:02:20 | [Mutex] received everything. 2022-06-22 23:02:20 | [Mutex] isItemNotified: retracted:item:notifieditem-1adb0371-0c5e-4246-952d-ee80abdf26ec:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.223s |
2022-06-22 23:02:19 |
2022-06-22 23:02:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:19 | ------------------------------------ 2022-06-22 23:02:19 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-011ff44b-fb68-423f-84d3-b9886dba32bc</node><item-id>item-1adb0371-0c5e-4246-952d-ee80abdf26ec</item-id></data> 2022-06-22 23:02:19 | 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-011ff44b-fb68-423f-84d3-b9886dba32bc</value></node><item-id label="Item ID" type="text-single"><value>item-1adb0371-0c5e-4246-952d-ee80abdf26ec</value></item-id><item label="Item" type="text-multi"><value><item id="item-1adb0371-0c5e-4246-952d-ee80abdf26ec"><test>item-1adb0371-0c5e-4246-952d-ee80abdf26ec</test></item></value></item></result> 2022-06-22 23:02:19 | [Mutex] notify: [retrieved:item:item-1adb0371-0c5e-4246-952d-ee80abdf26ec:payload-matches:true:localhost] 2022-06-22 23:02:19 | [Mutex] received everything. 2022-06-22 23:02:19 | [Mutex] isItemNotified: retrieved:item:item-1adb0371-0c5e-4246-952d-ee80abdf26ec:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2022-06-22 23:02:19 |
2022-06-22 23:02:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:19 | ------------------------------------ 2022-06-22 23:02:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-22 23:02:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-c8669fc0-062c-4a59-8e33-c58a9cdd2324</value><value>test</value><value>node-011ff44b-fb68-423f-84d3-b9886dba32bc</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-22 23:02:19 |
2022-06-22 23:02:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:19 | ------------------------------------ 2022-06-22 23:02:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-011ff44b-fb68-423f-84d3-b9886dba32bc)</node-pattern></data> 2022-06-22 23:02:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.102s |
2022-06-22 23:02:18 |
2022-06-22 23:02:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:18 | ------------------------------------ 2022-06-22 23:02:18 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-011ff44b-fb68-423f-84d3-b9886dba32bc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-22 23:02:18 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.251s |
2022-06-22 23:02:20 |
2022-06-22 23:02:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 23:02:20 | ------------------------------------ 2022-06-22 23:02:20 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-011ff44b-fb68-423f-84d3-b9886dba32bc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-22 23:02:20 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |