Test duration : 10.025s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2021-05-03 22:28:22 |
2021-05-03 22:28:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:22 | ------------------------------------ 2021-05-03 22:28:22 | [Mutex] waiting for: [configured:node:node-53d7d083-4445-4362-a2c5-efe1e2486d60:node-96bb3461-2fc8-4b83-b1db-806c806208d3] 2021-05-03 22:28:22 | [Mutex] received everything. 2021-05-03 22:28:22 | [Mutex] isItemNotified: configured:node:node-53d7d083-4445-4362-a2c5-efe1e2486d60:node-96bb3461-2fc8-4b83-b1db-806c806208d3 :: true 2021-05-03 22:28:23 | [Mutex] waiting for: [received:nodes:713df208-a60f-43a4-a4af-0723f2eed831:localhost] 2021-05-03 22:28:23 | [Mutex] waiting for: [received:nodes:713df208-a60f-43a4-a4af-0723f2eed831:localhost] 2021-05-03 22:28:23 | [Mutex] received everything. 2021-05-03 22:28:23 | [Mutex] isItemNotified: received:node:713df208-a60f-43a4-a4af-0723f2eed831:localhost:node-53d7d083-4445-4362-a2c5-efe1e2486d60:Node 53d7d083-4445-4362-a2c5-efe1e2486d60 :: true 2021-05-03 22:28:23 | [Mutex] waiting for: [received:nodes:3fada451-b280-48f9-91ff-e29aed841683:localhost] 2021-05-03 22:28:23 | [Mutex] waiting for: [received:nodes:3fada451-b280-48f9-91ff-e29aed841683:localhost] 2021-05-03 22:28:23 | [Mutex] waiting for: [received:nodes:3fada451-b280-48f9-91ff-e29aed841683:localhost] 2021-05-03 22:28:23 | [Mutex] received everything. 2021-05-03 22:28:23 | [Mutex] isItemNotified: received:node:3fada451-b280-48f9-91ff-e29aed841683:localhost:node-53d7d083-4445-4362-a2c5-efe1e2486d60:Node 53d7d083-4445-4362-a2c5-efe1e2486d60 :: false |
createNodes | 1.601s |
2021-05-03 22:28:19 |
2021-05-03 22:28:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:19 | ------------------------------------ 2021-05-03 22:28:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-53d7d083-4445-4362-a2c5-efe1e2486d60</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 53d7d083-4445-4362-a2c5-efe1e2486d60</title></pubsub></data> 2021-05-03 22:28:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-03 22:28:21 | [Mutex] waiting for: [received:nodes:c6ed930d-172e-4fac-aebd-79a7f988d000:localhost] 2021-05-03 22:28:21 | [Mutex] received everything. 2021-05-03 22:28:21 | [Mutex] isItemNotified: received:node:c6ed930d-172e-4fac-aebd-79a7f988d000:localhost:node-53d7d083-4445-4362-a2c5-efe1e2486d60:Node 53d7d083-4445-4362-a2c5-efe1e2486d60 :: true |
createSubnodes | 1.029s |
2021-05-03 22:28:21 |
2021-05-03 22:28:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:21 | ------------------------------------ 2021-05-03 22:28:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-96bb3461-2fc8-4b83-b1db-806c806208d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 96bb3461-2fc8-4b83-b1db-806c806208d3</title></pubsub></data> 2021-05-03 22:28:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-03 22:28:22 | [Mutex] waiting for: [received:nodes:b152f422-c092-4c11-b04a-e9ca93163307:localhost] 2021-05-03 22:28:22 | [Mutex] received everything. 2021-05-03 22:28:22 | [Mutex] isItemNotified: received:node:b152f422-c092-4c11-b04a-e9ca93163307:localhost:node-96bb3461-2fc8-4b83-b1db-806c806208d3:Node 96bb3461-2fc8-4b83-b1db-806c806208d3 :: true |
deleteNodes | 1.022s |
2021-05-03 22:28:27 |
2021-05-03 22:28:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:27 | ------------------------------------ 2021-05-03 22:28:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-96bb3461-2fc8-4b83-b1db-806c806208d3</node></data> 2021-05-03 22:28:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-03 22:28:28 | [Mutex] waiting for: [received:nodes:aa62340e-dc90-4a5c-9f33-788f3171f812:localhost] 2021-05-03 22:28:28 | [Mutex] received everything. 2021-05-03 22:28:28 | [Mutex] isItemNotified: received:node:aa62340e-dc90-4a5c-9f33-788f3171f812:localhost:node-96bb3461-2fc8-4b83-b1db-806c806208d3:Node 96bb3461-2fc8-4b83-b1db-806c806208d3 :: false |
deleteSubnodes | 1.159s |
2021-05-03 22:28:26 |
2021-05-03 22:28:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:26 | ------------------------------------ 2021-05-03 22:28:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-53d7d083-4445-4362-a2c5-efe1e2486d60</node></data> 2021-05-03 22:28:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-03 22:28:27 | [Mutex] waiting for: [received:nodes:2b27af14-d47c-4190-a13e-1ed049d98d46:localhost] 2021-05-03 22:28:27 | [Mutex] received everything. 2021-05-03 22:28:27 | [Mutex] isItemNotified: received:node:2b27af14-d47c-4190-a13e-1ed049d98d46:localhost:node-53d7d083-4445-4362-a2c5-efe1e2486d60:Node 53d7d083-4445-4362-a2c5-efe1e2486d60 :: false 2021-05-03 22:28:27 | [Mutex] waiting for: [received:nodes:a126309f-2a40-4a38-b21a-a7d33aab658a:localhost] 2021-05-03 22:28:27 | [Mutex] received everything. 2021-05-03 22:28:27 | [Mutex] isItemNotified: received:node:a126309f-2a40-4a38-b21a-a7d33aab658a:localhost:node-53d7d083-4445-4362-a2c5-efe1e2486d60:Node 53d7d083-4445-4362-a2c5-efe1e2486d60 :: false |
publishItemsToNodes | 0.190s |
2021-05-03 22:28:24 |
2021-05-03 22:28:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:24 | ------------------------------------ 2021-05-03 22:28:24 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-53d7d083-4445-4362-a2c5-efe1e2486d60</node><item-id>item-101fb5fb-428e-4f89-b7bd-d343097a2c4e</item-id><entry><test>item-101fb5fb-428e-4f89-b7bd-d343097a2c4e</test></entry></data> 2021-05-03 22:28:24 | 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-101fb5fb-428e-4f89-b7bd-d343097a2c4e</value></item-id></result> 2021-05-03 22:28:24 | [Mutex] received everything. 2021-05-03 22:28:24 | [Mutex] isItemNotified: published:item:notifieditem-101fb5fb-428e-4f89-b7bd-d343097a2c4e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.239s |
2021-05-03 22:28:25 |
2021-05-03 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:25 | ------------------------------------ 2021-05-03 22:28:25 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-53d7d083-4445-4362-a2c5-efe1e2486d60</node><item-id>item-101fb5fb-428e-4f89-b7bd-d343097a2c4e</item-id></data> 2021-05-03 22:28:25 | 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-101fb5fb-428e-4f89-b7bd-d343097a2c4e</value></item-id></result> 2021-05-03 22:28:25 | [Mutex] received everything. 2021-05-03 22:28:25 | [Mutex] isItemNotified: retracted:item:notifieditem-101fb5fb-428e-4f89-b7bd-d343097a2c4e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.292s |
2021-05-03 22:28:24 |
2021-05-03 22:28:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:24 | ------------------------------------ 2021-05-03 22:28:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-53d7d083-4445-4362-a2c5-efe1e2486d60</node><item-id>item-101fb5fb-428e-4f89-b7bd-d343097a2c4e</item-id></data> 2021-05-03 22:28:25 | 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-53d7d083-4445-4362-a2c5-efe1e2486d60</value></node><item-id label="Item ID" type="text-single"><value>item-101fb5fb-428e-4f89-b7bd-d343097a2c4e</value></item-id><item label="Item" type="text-multi"><value><item id="item-101fb5fb-428e-4f89-b7bd-d343097a2c4e"><test>item-101fb5fb-428e-4f89-b7bd-d343097a2c4e</test></item></value></item></result> 2021-05-03 22:28:25 | [Mutex] notify: [retrieved:item:item-101fb5fb-428e-4f89-b7bd-d343097a2c4e:payload-matches:true:localhost] 2021-05-03 22:28:25 | [Mutex] received everything. 2021-05-03 22:28:25 | [Mutex] isItemNotified: retrieved:item:item-101fb5fb-428e-4f89-b7bd-d343097a2c4e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-05-03 22:28:25 |
2021-05-03 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:25 | ------------------------------------ 2021-05-03 22:28:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-03 22:28:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-96bb3461-2fc8-4b83-b1db-806c806208d3</value><value>node-53d7d083-4445-4362-a2c5-efe1e2486d60</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-05-03 22:28:25 |
2021-05-03 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:25 | ------------------------------------ 2021-05-03 22:28:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-53d7d083-4445-4362-a2c5-efe1e2486d60)</node-pattern></data> 2021-05-03 22:28:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.157s |
2021-05-03 22:28:23 |
2021-05-03 22:28:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:23 | ------------------------------------ 2021-05-03 22:28:23 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-53d7d083-4445-4362-a2c5-efe1e2486d60</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-03 22:28:23 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.259s |
2021-05-03 22:28:25 |
2021-05-03 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:28:25 | ------------------------------------ 2021-05-03 22:28:25 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-53d7d083-4445-4362-a2c5-efe1e2486d60</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-03 22:28:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |