Test duration : 9.909s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.143s |
2021-02-05 21:30:26 |
2021-02-05 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:26 | ------------------------------------ 2021-02-05 21:30:26 | [Mutex] waiting for: [configured:node:node-e9dd8ff5-6a8e-408d-b714-e28767240b7c:node-579d2905-01a6-4c80-aae6-dcf8cabe56a5] 2021-02-05 21:30:26 | [Mutex] received everything. 2021-02-05 21:30:26 | [Mutex] isItemNotified: configured:node:node-e9dd8ff5-6a8e-408d-b714-e28767240b7c:node-579d2905-01a6-4c80-aae6-dcf8cabe56a5 :: true 2021-02-05 21:30:27 | [Mutex] waiting for: [received:nodes:d309158c-be91-4860-bd0a-362f24397f4e:localhost] 2021-02-05 21:30:27 | [Mutex] received everything. 2021-02-05 21:30:27 | [Mutex] isItemNotified: received:node:d309158c-be91-4860-bd0a-362f24397f4e:localhost:node-e9dd8ff5-6a8e-408d-b714-e28767240b7c:Node e9dd8ff5-6a8e-408d-b714-e28767240b7c :: true 2021-02-05 21:30:27 | [Mutex] waiting for: [received:nodes:08e48b29-2edb-4aed-a97b-5be39c881491:localhost] 2021-02-05 21:30:27 | [Mutex] received everything. 2021-02-05 21:30:27 | [Mutex] isItemNotified: received:node:08e48b29-2edb-4aed-a97b-5be39c881491:localhost:node-e9dd8ff5-6a8e-408d-b714-e28767240b7c:Node e9dd8ff5-6a8e-408d-b714-e28767240b7c :: false |
createNodes | 1.386s |
2021-02-05 21:30:24 |
2021-02-05 21:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:24 | ------------------------------------ 2021-02-05 21:30:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e9dd8ff5-6a8e-408d-b714-e28767240b7c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e9dd8ff5-6a8e-408d-b714-e28767240b7c</title></pubsub></data> 2021-02-05 21:30:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-05 21:30:25 | [Mutex] waiting for: [received:nodes:0e854a55-9722-4546-82e2-ed0d903cb3b5:localhost] 2021-02-05 21:30:25 | [Mutex] received everything. 2021-02-05 21:30:25 | [Mutex] isItemNotified: received:node:0e854a55-9722-4546-82e2-ed0d903cb3b5:localhost:node-e9dd8ff5-6a8e-408d-b714-e28767240b7c:Node e9dd8ff5-6a8e-408d-b714-e28767240b7c :: true |
createSubnodes | 1.031s |
2021-02-05 21:30:25 |
2021-02-05 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:25 | ------------------------------------ 2021-02-05 21:30:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-579d2905-01a6-4c80-aae6-dcf8cabe56a5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 579d2905-01a6-4c80-aae6-dcf8cabe56a5</title></pubsub></data> 2021-02-05 21:30:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-05 21:30:26 | [Mutex] waiting for: [received:nodes:1e1ef74f-75e9-459d-959d-3c0aaa58cead:localhost] 2021-02-05 21:30:26 | [Mutex] received everything. 2021-02-05 21:30:26 | [Mutex] isItemNotified: received:node:1e1ef74f-75e9-459d-959d-3c0aaa58cead:localhost:node-579d2905-01a6-4c80-aae6-dcf8cabe56a5:Node 579d2905-01a6-4c80-aae6-dcf8cabe56a5 :: true |
deleteNodes | 1.022s |
2021-02-05 21:30:32 |
2021-02-05 21:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:32 | ------------------------------------ 2021-02-05 21:30:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-579d2905-01a6-4c80-aae6-dcf8cabe56a5</node></data> 2021-02-05 21:30:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-05 21:30:33 | [Mutex] waiting for: [received:nodes:ef66f17b-1642-47b1-9185-e41391950bf4:localhost] 2021-02-05 21:30:33 | [Mutex] received everything. 2021-02-05 21:30:33 | [Mutex] isItemNotified: received:node:ef66f17b-1642-47b1-9185-e41391950bf4:localhost:node-579d2905-01a6-4c80-aae6-dcf8cabe56a5:Node 579d2905-01a6-4c80-aae6-dcf8cabe56a5 :: false |
deleteSubnodes | 1.135s |
2021-02-05 21:30:31 |
2021-02-05 21:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:31 | ------------------------------------ 2021-02-05 21:30:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e9dd8ff5-6a8e-408d-b714-e28767240b7c</node></data> 2021-02-05 21:30:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-05 21:30:32 | [Mutex] waiting for: [received:nodes:c0e6846c-4b47-44ce-89c7-7254d92dd98b:localhost] 2021-02-05 21:30:32 | [Mutex] received everything. 2021-02-05 21:30:32 | [Mutex] isItemNotified: received:node:c0e6846c-4b47-44ce-89c7-7254d92dd98b:localhost:node-e9dd8ff5-6a8e-408d-b714-e28767240b7c:Node e9dd8ff5-6a8e-408d-b714-e28767240b7c :: false 2021-02-05 21:30:32 | [Mutex] waiting for: [received:nodes:bc85812a-09dd-4f54-8945-53c5758be84b:localhost] 2021-02-05 21:30:32 | [Mutex] received everything. 2021-02-05 21:30:32 | [Mutex] isItemNotified: received:node:bc85812a-09dd-4f54-8945-53c5758be84b:localhost:node-e9dd8ff5-6a8e-408d-b714-e28767240b7c:Node e9dd8ff5-6a8e-408d-b714-e28767240b7c :: false |
publishItemsToNodes | 0.221s |
2021-02-05 21:30:29 |
2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:29 | ------------------------------------ 2021-02-05 21:30:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e9dd8ff5-6a8e-408d-b714-e28767240b7c</node><item-id>item-9a342c91-147f-46c5-bae7-78f14c131b84</item-id><entry><test>item-9a342c91-147f-46c5-bae7-78f14c131b84</test></entry></data> 2021-02-05 21:30:29 | 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-9a342c91-147f-46c5-bae7-78f14c131b84</value></item-id></result> 2021-02-05 21:30:29 | [Mutex] received everything. 2021-02-05 21:30:29 | [Mutex] isItemNotified: published:item:notifieditem-9a342c91-147f-46c5-bae7-78f14c131b84:admin@test-domain.com :: true |
retractItemsFromNodes | 0.183s |
2021-02-05 21:30:29 |
2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:29 | ------------------------------------ 2021-02-05 21:30:29 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e9dd8ff5-6a8e-408d-b714-e28767240b7c</node><item-id>item-9a342c91-147f-46c5-bae7-78f14c131b84</item-id></data> 2021-02-05 21:30:29 | 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-9a342c91-147f-46c5-bae7-78f14c131b84</value></item-id></result> 2021-02-05 21:30:29 | [Mutex] received everything. 2021-02-05 21:30:29 | [Mutex] isItemNotified: retracted:item:notifieditem-9a342c91-147f-46c5-bae7-78f14c131b84:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.281s |
2021-02-05 21:30:29 |
2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:29 | ------------------------------------ 2021-02-05 21:30:29 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e9dd8ff5-6a8e-408d-b714-e28767240b7c</node><item-id>item-9a342c91-147f-46c5-bae7-78f14c131b84</item-id></data> 2021-02-05 21:30:29 | 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-e9dd8ff5-6a8e-408d-b714-e28767240b7c</value></node><item-id type="text-single" label="Item ID"><value>item-9a342c91-147f-46c5-bae7-78f14c131b84</value></item-id><item type="text-multi" label="Item"><value><item id="item-9a342c91-147f-46c5-bae7-78f14c131b84"><test>item-9a342c91-147f-46c5-bae7-78f14c131b84</test></item></value></item></result> 2021-02-05 21:30:29 | [Mutex] notify: [retrieved:item:item-9a342c91-147f-46c5-bae7-78f14c131b84:payload-matches:true:localhost] 2021-02-05 21:30:29 | [Mutex] received everything. 2021-02-05 21:30:29 | [Mutex] isItemNotified: retrieved:item:item-9a342c91-147f-46c5-bae7-78f14c131b84:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-02-05 21:30:29 |
2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:29 | ------------------------------------ 2021-02-05 21:30:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-02-05 21:30:29 | 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-579d2905-01a6-4c80-aae6-dcf8cabe56a5</value><value>node-e9dd8ff5-6a8e-408d-b714-e28767240b7c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2021-02-05 21:30:29 |
2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:29 | ------------------------------------ 2021-02-05 21:30:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e9dd8ff5-6a8e-408d-b714-e28767240b7c)</node-pattern></data> 2021-02-05 21:30:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.115s |
2021-02-05 21:30:27 |
2021-02-05 21:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:27 | ------------------------------------ 2021-02-05 21:30:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e9dd8ff5-6a8e-408d-b714-e28767240b7c</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-05 21:30:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.291s |
2021-02-05 21:30:29 |
2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:30:29 | ------------------------------------ 2021-02-05 21:30:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e9dd8ff5-6a8e-408d-b714-e28767240b7c</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-05 21:30:30 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |