Test duration : 10.137s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2021-03-01 21:30:20 |
2021-03-01 21:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:20 | ------------------------------------ 2021-03-01 21:30:20 | [Mutex] waiting for: [configured:node:node-009af35b-a2f7-4c4d-83bc-9231cd625ab1:node-86c6da22-f0af-4b0c-aa53-74e1765bd6ae] 2021-03-01 21:30:20 | [Mutex] received everything. 2021-03-01 21:30:20 | [Mutex] isItemNotified: configured:node:node-009af35b-a2f7-4c4d-83bc-9231cd625ab1:node-86c6da22-f0af-4b0c-aa53-74e1765bd6ae :: true 2021-03-01 21:30:21 | [Mutex] waiting for: [received:nodes:6aea0f5c-a733-4406-8690-0f2bd6070f5f:localhost] 2021-03-01 21:30:21 | [Mutex] received everything. 2021-03-01 21:30:21 | [Mutex] isItemNotified: received:node:6aea0f5c-a733-4406-8690-0f2bd6070f5f:localhost:node-009af35b-a2f7-4c4d-83bc-9231cd625ab1:Node 009af35b-a2f7-4c4d-83bc-9231cd625ab1 :: true 2021-03-01 21:30:21 | [Mutex] waiting for: [received:nodes:01d02653-0511-4f38-980e-2f3fdba8a52a:localhost] 2021-03-01 21:30:21 | [Mutex] received everything. 2021-03-01 21:30:21 | [Mutex] isItemNotified: received:node:01d02653-0511-4f38-980e-2f3fdba8a52a:localhost:node-009af35b-a2f7-4c4d-83bc-9231cd625ab1:Node 009af35b-a2f7-4c4d-83bc-9231cd625ab1 :: false |
createNodes | 1.492s |
2021-03-01 21:30:18 |
2021-03-01 21:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:18 | ------------------------------------ 2021-03-01 21:30:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-009af35b-a2f7-4c4d-83bc-9231cd625ab1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 009af35b-a2f7-4c4d-83bc-9231cd625ab1</title></pubsub></data> 2021-03-01 21:30:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-01 21:30:19 | [Mutex] waiting for: [received:nodes:18e7f2cf-3aef-415b-9a7c-866b09894ea3:localhost] 2021-03-01 21:30:19 | [Mutex] waiting for: [received:nodes:18e7f2cf-3aef-415b-9a7c-866b09894ea3:localhost] 2021-03-01 21:30:19 | [Mutex] received everything. 2021-03-01 21:30:19 | [Mutex] isItemNotified: received:node:18e7f2cf-3aef-415b-9a7c-866b09894ea3:localhost:node-009af35b-a2f7-4c4d-83bc-9231cd625ab1:Node 009af35b-a2f7-4c4d-83bc-9231cd625ab1 :: true |
createSubnodes | 1.024s |
2021-03-01 21:30:19 |
2021-03-01 21:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:19 | ------------------------------------ 2021-03-01 21:30:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-86c6da22-f0af-4b0c-aa53-74e1765bd6ae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 86c6da22-f0af-4b0c-aa53-74e1765bd6ae</title></pubsub></data> 2021-03-01 21:30:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-01 21:30:20 | [Mutex] waiting for: [received:nodes:5ff82bc2-0d29-4919-a6b5-5b617190d2e1:localhost] 2021-03-01 21:30:20 | [Mutex] received everything. 2021-03-01 21:30:20 | [Mutex] isItemNotified: received:node:5ff82bc2-0d29-4919-a6b5-5b617190d2e1:localhost:node-86c6da22-f0af-4b0c-aa53-74e1765bd6ae:Node 86c6da22-f0af-4b0c-aa53-74e1765bd6ae :: true |
deleteNodes | 1.020s |
2021-03-01 21:30:26 |
2021-03-01 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:26 | ------------------------------------ 2021-03-01 21:30:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-86c6da22-f0af-4b0c-aa53-74e1765bd6ae</node></data> 2021-03-01 21:30:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-01 21:30:27 | [Mutex] waiting for: [received:nodes:784771dd-5a45-4387-8e93-8f2a6a615896:localhost] 2021-03-01 21:30:27 | [Mutex] waiting for: [received:nodes:784771dd-5a45-4387-8e93-8f2a6a615896:localhost] 2021-03-01 21:30:27 | [Mutex] received everything. 2021-03-01 21:30:27 | [Mutex] isItemNotified: received:node:784771dd-5a45-4387-8e93-8f2a6a615896:localhost:node-86c6da22-f0af-4b0c-aa53-74e1765bd6ae:Node 86c6da22-f0af-4b0c-aa53-74e1765bd6ae :: false |
deleteSubnodes | 1.123s |
2021-03-01 21:30:25 |
2021-03-01 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:25 | ------------------------------------ 2021-03-01 21:30:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-009af35b-a2f7-4c4d-83bc-9231cd625ab1</node></data> 2021-03-01 21:30:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-01 21:30:26 | [Mutex] waiting for: [received:nodes:90de6eb8-61b8-4988-b739-711e04e35d8f:localhost] 2021-03-01 21:30:26 | [Mutex] received everything. 2021-03-01 21:30:26 | [Mutex] isItemNotified: received:node:90de6eb8-61b8-4988-b739-711e04e35d8f:localhost:node-009af35b-a2f7-4c4d-83bc-9231cd625ab1:Node 009af35b-a2f7-4c4d-83bc-9231cd625ab1 :: false 2021-03-01 21:30:26 | [Mutex] waiting for: [received:nodes:38a2c97d-487b-4331-9351-e0758895eb54:localhost] 2021-03-01 21:30:26 | [Mutex] received everything. 2021-03-01 21:30:26 | [Mutex] isItemNotified: received:node:38a2c97d-487b-4331-9351-e0758895eb54:localhost:node-009af35b-a2f7-4c4d-83bc-9231cd625ab1:Node 009af35b-a2f7-4c4d-83bc-9231cd625ab1 :: false |
publishItemsToNodes | 0.199s |
2021-03-01 21:30:23 |
2021-03-01 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:23 | ------------------------------------ 2021-03-01 21:30:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-009af35b-a2f7-4c4d-83bc-9231cd625ab1</node><item-id>item-61bead0e-2109-40a7-b571-ff269b212d50</item-id><entry><test>item-61bead0e-2109-40a7-b571-ff269b212d50</test></entry></data> 2021-03-01 21:30:23 | 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-61bead0e-2109-40a7-b571-ff269b212d50</value></item-id></result> 2021-03-01 21:30:23 | [Mutex] waiting for: [published:item:notifieditem-61bead0e-2109-40a7-b571-ff269b212d50:admin@test-domain.com] 2021-03-01 21:30:23 | [Mutex] received everything. 2021-03-01 21:30:23 | [Mutex] isItemNotified: published:item:notifieditem-61bead0e-2109-40a7-b571-ff269b212d50:admin@test-domain.com :: true |
retractItemsFromNodes | 0.315s |
2021-03-01 21:30:23 |
2021-03-01 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:23 | ------------------------------------ 2021-03-01 21:30:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-009af35b-a2f7-4c4d-83bc-9231cd625ab1</node><item-id>item-61bead0e-2109-40a7-b571-ff269b212d50</item-id></data> 2021-03-01 21:30:23 | 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-61bead0e-2109-40a7-b571-ff269b212d50</value></item-id></result> 2021-03-01 21:30:23 | [Mutex] received everything. 2021-03-01 21:30:23 | [Mutex] isItemNotified: retracted:item:notifieditem-61bead0e-2109-40a7-b571-ff269b212d50:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.327s |
2021-03-01 21:30:23 |
2021-03-01 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:23 | ------------------------------------ 2021-03-01 21:30:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-009af35b-a2f7-4c4d-83bc-9231cd625ab1</node><item-id>item-61bead0e-2109-40a7-b571-ff269b212d50</item-id></data> 2021-03-01 21:30:23 | 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-009af35b-a2f7-4c4d-83bc-9231cd625ab1</value></node><item-id type="text-single" label="Item ID"><value>item-61bead0e-2109-40a7-b571-ff269b212d50</value></item-id><item type="text-multi" label="Item"><value><item id="item-61bead0e-2109-40a7-b571-ff269b212d50"><test>item-61bead0e-2109-40a7-b571-ff269b212d50</test></item></value></item></result> 2021-03-01 21:30:23 | [Mutex] notify: [retrieved:item:item-61bead0e-2109-40a7-b571-ff269b212d50:payload-matches:true:localhost] 2021-03-01 21:30:23 | [Mutex] received everything. 2021-03-01 21:30:23 | [Mutex] isItemNotified: retrieved:item:item-61bead0e-2109-40a7-b571-ff269b212d50:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-01 21:30:23 |
2021-03-01 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:23 | ------------------------------------ 2021-03-01 21:30:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-01 21:30:23 | 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-009af35b-a2f7-4c4d-83bc-9231cd625ab1</value><value>node-86c6da22-f0af-4b0c-aa53-74e1765bd6ae</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-03-01 21:30:23 |
2021-03-01 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:23 | ------------------------------------ 2021-03-01 21:30:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-009af35b-a2f7-4c4d-83bc-9231cd625ab1)</node-pattern></data> 2021-03-01 21:30:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.174s |
2021-03-01 21:30:21 |
2021-03-01 21:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:21 | ------------------------------------ 2021-03-01 21:30:21 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-009af35b-a2f7-4c4d-83bc-9231cd625ab1</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-01 21:30:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.351s |
2021-03-01 21:30:23 |
2021-03-01 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-01 21:30:23 | ------------------------------------ 2021-03-01 21:30:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-009af35b-a2f7-4c4d-83bc-9231cd625ab1</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-01 21:30:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |