Test duration : 9.610s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2022-08-04 22:32:34 |
2022-08-04 22:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:34 | ------------------------------------ 2022-08-04 22:32:34 | [Mutex] waiting for: [configured:node:node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc:node-e432de28-8cd4-44dc-8793-4eff71c22d6f] 2022-08-04 22:32:34 | [Mutex] received everything. 2022-08-04 22:32:34 | [Mutex] isItemNotified: configured:node:node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc:node-e432de28-8cd4-44dc-8793-4eff71c22d6f :: true 2022-08-04 22:32:35 | [Mutex] waiting for: [received:nodes:575a538b-a68c-42a5-bc31-c95054fc48ff:localhost] 2022-08-04 22:32:35 | [Mutex] received everything. 2022-08-04 22:32:35 | [Mutex] isItemNotified: received:node:575a538b-a68c-42a5-bc31-c95054fc48ff:localhost:node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc:Node 2ff79acb-4ca5-446a-91ac-fa950b62cdbc :: true 2022-08-04 22:32:35 | [Mutex] waiting for: [received:nodes:76f50961-cb4a-416a-b56f-dd52263b8bf5:localhost] 2022-08-04 22:32:35 | [Mutex] received everything. 2022-08-04 22:32:35 | [Mutex] isItemNotified: received:node:76f50961-cb4a-416a-b56f-dd52263b8bf5:localhost:node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc:Node 2ff79acb-4ca5-446a-91ac-fa950b62cdbc :: false |
createNodes | 1.434s |
2022-08-04 22:32:31 |
2022-08-04 22:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:31 | ------------------------------------ 2022-08-04 22:32:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2ff79acb-4ca5-446a-91ac-fa950b62cdbc</title></pubsub></data> 2022-08-04 22:32:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-04 22:32:33 | [Mutex] waiting for: [received:nodes:d320f915-f885-46f0-a538-b066d76b189b:localhost] 2022-08-04 22:32:33 | [Mutex] received everything. 2022-08-04 22:32:33 | [Mutex] isItemNotified: received:node:d320f915-f885-46f0-a538-b066d76b189b:localhost:node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc:Node 2ff79acb-4ca5-446a-91ac-fa950b62cdbc :: true |
createSubnodes | 1.021s |
2022-08-04 22:32:33 |
2022-08-04 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:33 | ------------------------------------ 2022-08-04 22:32:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e432de28-8cd4-44dc-8793-4eff71c22d6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e432de28-8cd4-44dc-8793-4eff71c22d6f</title></pubsub></data> 2022-08-04 22:32:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-04 22:32:34 | [Mutex] waiting for: [received:nodes:9bdb7b19-937d-4e18-a93e-66c1ad36b878:localhost] 2022-08-04 22:32:34 | [Mutex] waiting for: [received:nodes:9bdb7b19-937d-4e18-a93e-66c1ad36b878:localhost] 2022-08-04 22:32:34 | [Mutex] received everything. 2022-08-04 22:32:34 | [Mutex] isItemNotified: received:node:9bdb7b19-937d-4e18-a93e-66c1ad36b878:localhost:node-e432de28-8cd4-44dc-8793-4eff71c22d6f:Node e432de28-8cd4-44dc-8793-4eff71c22d6f :: true |
deleteNodes | 1.020s |
2022-08-04 22:32:39 |
2022-08-04 22:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:39 | ------------------------------------ 2022-08-04 22:32:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e432de28-8cd4-44dc-8793-4eff71c22d6f</node></data> 2022-08-04 22:32:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-04 22:32:40 | [Mutex] waiting for: [received:nodes:e8cad8fb-4950-49bb-8e3c-15b4c3bb8036:localhost] 2022-08-04 22:32:40 | [Mutex] received everything. 2022-08-04 22:32:40 | [Mutex] isItemNotified: received:node:e8cad8fb-4950-49bb-8e3c-15b4c3bb8036:localhost:node-e432de28-8cd4-44dc-8793-4eff71c22d6f:Node e432de28-8cd4-44dc-8793-4eff71c22d6f :: false |
deleteSubnodes | 1.157s |
2022-08-04 22:32:38 |
2022-08-04 22:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:38 | ------------------------------------ 2022-08-04 22:32:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc</node></data> 2022-08-04 22:32:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-04 22:32:39 | [Mutex] waiting for: [received:nodes:d70e83c9-73f7-4ae9-8998-5b5fafa5d77a:localhost] 2022-08-04 22:32:39 | [Mutex] received everything. 2022-08-04 22:32:39 | [Mutex] isItemNotified: received:node:d70e83c9-73f7-4ae9-8998-5b5fafa5d77a:localhost:node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc:Node 2ff79acb-4ca5-446a-91ac-fa950b62cdbc :: false 2022-08-04 22:32:39 | [Mutex] waiting for: [received:nodes:7deb9897-53e9-4efa-9c27-cd188f93a5c2:localhost] 2022-08-04 22:32:39 | [Mutex] received everything. 2022-08-04 22:32:39 | [Mutex] isItemNotified: received:node:7deb9897-53e9-4efa-9c27-cd188f93a5c2:localhost:node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc:Node 2ff79acb-4ca5-446a-91ac-fa950b62cdbc :: false |
publishItemsToNodes | 0.228s |
2022-08-04 22:32:36 |
2022-08-04 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:36 | ------------------------------------ 2022-08-04 22:32:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc</node><item-id>item-e5ac7afe-d196-4b28-bde9-57c126198b20</item-id><entry><test>item-e5ac7afe-d196-4b28-bde9-57c126198b20</test></entry></data> 2022-08-04 22:32: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-e5ac7afe-d196-4b28-bde9-57c126198b20</value></item-id></result> 2022-08-04 22:32:36 | [Mutex] received everything. 2022-08-04 22:32:36 | [Mutex] isItemNotified: published:item:notifieditem-e5ac7afe-d196-4b28-bde9-57c126198b20:admin@test-domain.com :: true |
retractItemsFromNodes | 0.291s |
2022-08-04 22:32:37 |
2022-08-04 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:37 | ------------------------------------ 2022-08-04 22:32:37 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc</node><item-id>item-e5ac7afe-d196-4b28-bde9-57c126198b20</item-id></data> 2022-08-04 22:32: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-e5ac7afe-d196-4b28-bde9-57c126198b20</value></item-id></result> 2022-08-04 22:32:37 | [Mutex] received everything. 2022-08-04 22:32:37 | [Mutex] isItemNotified: retracted:item:notifieditem-e5ac7afe-d196-4b28-bde9-57c126198b20:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.271s |
2022-08-04 22:32:36 |
2022-08-04 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:36 | ------------------------------------ 2022-08-04 22:32:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc</node><item-id>item-e5ac7afe-d196-4b28-bde9-57c126198b20</item-id></data> 2022-08-04 22:32: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-2ff79acb-4ca5-446a-91ac-fa950b62cdbc</value></node><item-id type="text-single" label="Item ID"><value>item-e5ac7afe-d196-4b28-bde9-57c126198b20</value></item-id><item type="text-multi" label="Item"><value><item id="item-e5ac7afe-d196-4b28-bde9-57c126198b20"><test>item-e5ac7afe-d196-4b28-bde9-57c126198b20</test></item></value></item></result> 2022-08-04 22:32:37 | [Mutex] notify: [retrieved:item:item-e5ac7afe-d196-4b28-bde9-57c126198b20:payload-matches:true:localhost] 2022-08-04 22:32:37 | [Mutex] received everything. 2022-08-04 22:32:37 | [Mutex] isItemNotified: retrieved:item:item-e5ac7afe-d196-4b28-bde9-57c126198b20:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-04 22:32:37 |
2022-08-04 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:37 | ------------------------------------ 2022-08-04 22:32:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-04 22:32:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-e432de28-8cd4-44dc-8793-4eff71c22d6f</value><value>test</value><value>node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-04 22:32:37 |
2022-08-04 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:37 | ------------------------------------ 2022-08-04 22:32: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-2ff79acb-4ca5-446a-91ac-fa950b62cdbc)</node-pattern></data> 2022-08-04 22:32:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.145s |
2022-08-04 22:32:35 |
2022-08-04 22:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:35 | ------------------------------------ 2022-08-04 22:32:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-04 22:32: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.263s |
2022-08-04 22:32:37 |
2022-08-04 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-04 22:32:37 | ------------------------------------ 2022-08-04 22:32:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2ff79acb-4ca5-446a-91ac-fa950b62cdbc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-04 22:32:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |