Test duration : 10.556s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.115s |
2022-02-08 21:50:21 |
2022-02-08 21:50:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:21 | ------------------------------------ 2022-02-08 21:50:21 | [Mutex] waiting for: [configured:node:node-37d85170-269d-4168-806e-537523192333:node-e07b3054-0c59-4732-9316-f7a352787489] 2022-02-08 21:50:22 | [Mutex] received everything. 2022-02-08 21:50:22 | [Mutex] isItemNotified: configured:node:node-37d85170-269d-4168-806e-537523192333:node-e07b3054-0c59-4732-9316-f7a352787489 :: true 2022-02-08 21:50:23 | [Mutex] waiting for: [received:nodes:e4b258e9-b90e-41fd-a5a8-68a9dde06b20:localhost] 2022-02-08 21:50:23 | [Mutex] received everything. 2022-02-08 21:50:23 | [Mutex] isItemNotified: received:node:e4b258e9-b90e-41fd-a5a8-68a9dde06b20:localhost:node-37d85170-269d-4168-806e-537523192333:Node 37d85170-269d-4168-806e-537523192333 :: true 2022-02-08 21:50:23 | [Mutex] waiting for: [received:nodes:b20b7a94-1204-4ec2-a0b3-8e3bbd6920f1:localhost] 2022-02-08 21:50:23 | [Mutex] waiting for: [received:nodes:b20b7a94-1204-4ec2-a0b3-8e3bbd6920f1:localhost] 2022-02-08 21:50:23 | [Mutex] waiting for: [received:nodes:b20b7a94-1204-4ec2-a0b3-8e3bbd6920f1:localhost] 2022-02-08 21:50:23 | [Mutex] received everything. 2022-02-08 21:50:23 | [Mutex] isItemNotified: received:node:b20b7a94-1204-4ec2-a0b3-8e3bbd6920f1:localhost:node-37d85170-269d-4168-806e-537523192333:Node 37d85170-269d-4168-806e-537523192333 :: false |
createNodes | 1.621s |
2022-02-08 21:50:19 |
2022-02-08 21:50:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:19 | ------------------------------------ 2022-02-08 21:50:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-37d85170-269d-4168-806e-537523192333</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 37d85170-269d-4168-806e-537523192333</title></pubsub></data> 2022-02-08 21:50:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 21:50:20 | [Mutex] waiting for: [received:nodes:909379fd-18ee-493d-bafe-12a5eb024da3:localhost] 2022-02-08 21:50:20 | [Mutex] received everything. 2022-02-08 21:50:20 | [Mutex] isItemNotified: received:node:909379fd-18ee-493d-bafe-12a5eb024da3:localhost:node-37d85170-269d-4168-806e-537523192333:Node 37d85170-269d-4168-806e-537523192333 :: true |
createSubnodes | 1.033s |
2022-02-08 21:50:20 |
2022-02-08 21:50:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:20 | ------------------------------------ 2022-02-08 21:50:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e07b3054-0c59-4732-9316-f7a352787489</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e07b3054-0c59-4732-9316-f7a352787489</title></pubsub></data> 2022-02-08 21:50:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 21:50:21 | [Mutex] waiting for: [received:nodes:4d939f4f-670b-4eba-9434-cf3174424f48:localhost] 2022-02-08 21:50:21 | [Mutex] waiting for: [received:nodes:4d939f4f-670b-4eba-9434-cf3174424f48:localhost] 2022-02-08 21:50:21 | [Mutex] received everything. 2022-02-08 21:50:21 | [Mutex] isItemNotified: received:node:4d939f4f-670b-4eba-9434-cf3174424f48:localhost:node-e07b3054-0c59-4732-9316-f7a352787489:Node e07b3054-0c59-4732-9316-f7a352787489 :: true |
deleteNodes | 1.021s |
2022-02-08 21:50:27 |
2022-02-08 21:50:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:27 | ------------------------------------ 2022-02-08 21:50:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e07b3054-0c59-4732-9316-f7a352787489</node></data> 2022-02-08 21:50:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 21:50:28 | [Mutex] waiting for: [received:nodes:e5973868-9811-4a86-b106-a9de87f831ec:localhost] 2022-02-08 21:50:28 | [Mutex] received everything. 2022-02-08 21:50:28 | [Mutex] isItemNotified: received:node:e5973868-9811-4a86-b106-a9de87f831ec:localhost:node-e07b3054-0c59-4732-9316-f7a352787489:Node e07b3054-0c59-4732-9316-f7a352787489 :: false |
deleteSubnodes | 1.141s |
2022-02-08 21:50:26 |
2022-02-08 21:50:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:26 | ------------------------------------ 2022-02-08 21:50:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-37d85170-269d-4168-806e-537523192333</node></data> 2022-02-08 21:50:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 21:50:27 | [Mutex] waiting for: [received:nodes:4037c36e-f057-4a02-9d74-d0517d961c73:localhost] 2022-02-08 21:50:27 | [Mutex] received everything. 2022-02-08 21:50:27 | [Mutex] isItemNotified: received:node:4037c36e-f057-4a02-9d74-d0517d961c73:localhost:node-37d85170-269d-4168-806e-537523192333:Node 37d85170-269d-4168-806e-537523192333 :: false 2022-02-08 21:50:27 | [Mutex] waiting for: [received:nodes:579e6cc2-6859-48fe-ae51-3976850407b0:localhost] 2022-02-08 21:50:27 | [Mutex] received everything. 2022-02-08 21:50:27 | [Mutex] isItemNotified: received:node:579e6cc2-6859-48fe-ae51-3976850407b0:localhost:node-37d85170-269d-4168-806e-537523192333:Node 37d85170-269d-4168-806e-537523192333 :: false |
publishItemsToNodes | 0.357s |
2022-02-08 21:50:24 |
2022-02-08 21:50:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:24 | ------------------------------------ 2022-02-08 21:50:24 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-37d85170-269d-4168-806e-537523192333</node><item-id>item-4bc863a9-590b-4ee7-a914-47b4fc646882</item-id><entry><test>item-4bc863a9-590b-4ee7-a914-47b4fc646882</test></entry></data> 2022-02-08 21:50: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-4bc863a9-590b-4ee7-a914-47b4fc646882</value></item-id></result> 2022-02-08 21:50:24 | [Mutex] received everything. 2022-02-08 21:50:24 | [Mutex] isItemNotified: published:item:notifieditem-4bc863a9-590b-4ee7-a914-47b4fc646882:admin@test-domain.com :: true |
retractItemsFromNodes | 0.209s |
2022-02-08 21:50:25 |
2022-02-08 21:50:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:25 | ------------------------------------ 2022-02-08 21:50:25 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-37d85170-269d-4168-806e-537523192333</node><item-id>item-4bc863a9-590b-4ee7-a914-47b4fc646882</item-id></data> 2022-02-08 21:50: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-4bc863a9-590b-4ee7-a914-47b4fc646882</value></item-id></result> 2022-02-08 21:50:25 | [Mutex] waiting for: [retracted:item:notifieditem-4bc863a9-590b-4ee7-a914-47b4fc646882:admin@test-domain.com] 2022-02-08 21:50:25 | [Mutex] received everything. 2022-02-08 21:50:25 | [Mutex] isItemNotified: retracted:item:notifieditem-4bc863a9-590b-4ee7-a914-47b4fc646882:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.371s |
2022-02-08 21:50:24 |
2022-02-08 21:50:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:24 | ------------------------------------ 2022-02-08 21:50:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-37d85170-269d-4168-806e-537523192333</node><item-id>item-4bc863a9-590b-4ee7-a914-47b4fc646882</item-id></data> 2022-02-08 21:50:24 | 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-37d85170-269d-4168-806e-537523192333</value></node><item-id label="Item ID" type="text-single"><value>item-4bc863a9-590b-4ee7-a914-47b4fc646882</value></item-id><item label="Item" type="text-multi"><value><item id="item-4bc863a9-590b-4ee7-a914-47b4fc646882"><test>item-4bc863a9-590b-4ee7-a914-47b4fc646882</test></item></value></item></result> 2022-02-08 21:50:24 | [Mutex] notify: [retrieved:item:item-4bc863a9-590b-4ee7-a914-47b4fc646882:payload-matches:true:localhost] 2022-02-08 21:50:24 | [Mutex] received everything. 2022-02-08 21:50:24 | [Mutex] isItemNotified: retrieved:item:item-4bc863a9-590b-4ee7-a914-47b4fc646882:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-08 21:50:24 |
2022-02-08 21:50:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:24 | ------------------------------------ 2022-02-08 21:50:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-08 21:50:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-37d85170-269d-4168-806e-537523192333</value><value>test</value><value>node-e07b3054-0c59-4732-9316-f7a352787489</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-02-08 21:50:25 |
2022-02-08 21:50:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:25 | ------------------------------------ 2022-02-08 21:50: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-37d85170-269d-4168-806e-537523192333)</node-pattern></data> 2022-02-08 21:50:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.200s |
2022-02-08 21:50:23 |
2022-02-08 21:50:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:23 | ------------------------------------ 2022-02-08 21:50:23 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-37d85170-269d-4168-806e-537523192333</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-08 21:50: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.301s |
2022-02-08 21:50:25 |
2022-02-08 21:50:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:25 | ------------------------------------ 2022-02-08 21:50:25 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-37d85170-269d-4168-806e-537523192333</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-08 21:50:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |