Test duration : 9.328s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2023-05-29 23:01:12 |
2023-05-29 23:01:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:12 | ------------------------------------ 2023-05-29 23:01:12 | [Mutex] waiting for: [configured:node:node-22645386-49f5-4a28-ac04-3c504649a162:node-a2b3e8de-6dc1-4402-b289-de3a848711e9] 2023-05-29 23:01:12 | [Mutex] received everything. 2023-05-29 23:01:12 | [Mutex] isItemNotified: configured:node:node-22645386-49f5-4a28-ac04-3c504649a162:node-a2b3e8de-6dc1-4402-b289-de3a848711e9 :: true 2023-05-29 23:01:13 | [Mutex] waiting for: [received:nodes:197dcbe4-7b4e-483c-b227-8f71bb74a8f8:localhost] 2023-05-29 23:01:13 | [Mutex] received everything. 2023-05-29 23:01:13 | [Mutex] isItemNotified: received:node:197dcbe4-7b4e-483c-b227-8f71bb74a8f8:localhost:node-22645386-49f5-4a28-ac04-3c504649a162:Node 22645386-49f5-4a28-ac04-3c504649a162 :: true 2023-05-29 23:01:14 | [Mutex] waiting for: [received:nodes:334a6bdb-8154-4633-a920-5ce6f1efc6d0:localhost] 2023-05-29 23:01:14 | [Mutex] waiting for: [received:nodes:334a6bdb-8154-4633-a920-5ce6f1efc6d0:localhost] 2023-05-29 23:01:14 | [Mutex] waiting for: [received:nodes:334a6bdb-8154-4633-a920-5ce6f1efc6d0:localhost] 2023-05-29 23:01:14 | [Mutex] received everything. 2023-05-29 23:01:14 | [Mutex] isItemNotified: received:node:334a6bdb-8154-4633-a920-5ce6f1efc6d0:localhost:node-22645386-49f5-4a28-ac04-3c504649a162:Node 22645386-49f5-4a28-ac04-3c504649a162 :: false |
createNodes | 1.398s |
2023-05-29 23:01:10 |
2023-05-29 23:01:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:10 | ------------------------------------ 2023-05-29 23:01:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-22645386-49f5-4a28-ac04-3c504649a162</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 22645386-49f5-4a28-ac04-3c504649a162</title></pubsub></data> 2023-05-29 23:01:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-29 23:01:11 | [Mutex] waiting for: [received:nodes:8847b422-ae7d-41ed-b006-db0d97a58b7f:localhost] 2023-05-29 23:01:11 | [Mutex] received everything. 2023-05-29 23:01:11 | [Mutex] isItemNotified: received:node:8847b422-ae7d-41ed-b006-db0d97a58b7f:localhost:node-22645386-49f5-4a28-ac04-3c504649a162:Node 22645386-49f5-4a28-ac04-3c504649a162 :: true |
createSubnodes | 1.024s |
2023-05-29 23:01:11 |
2023-05-29 23:01:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:11 | ------------------------------------ 2023-05-29 23:01:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a2b3e8de-6dc1-4402-b289-de3a848711e9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a2b3e8de-6dc1-4402-b289-de3a848711e9</title></pubsub></data> 2023-05-29 23:01:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-29 23:01:12 | [Mutex] waiting for: [received:nodes:3f92531a-7991-4620-a027-2d88370ef2c3:localhost] 2023-05-29 23:01:12 | [Mutex] waiting for: [received:nodes:3f92531a-7991-4620-a027-2d88370ef2c3:localhost] 2023-05-29 23:01:12 | [Mutex] waiting for: [received:nodes:3f92531a-7991-4620-a027-2d88370ef2c3:localhost] 2023-05-29 23:01:12 | [Mutex] waiting for: [received:nodes:3f92531a-7991-4620-a027-2d88370ef2c3:localhost] 2023-05-29 23:01:12 | [Mutex] waiting for: [received:nodes:3f92531a-7991-4620-a027-2d88370ef2c3:localhost] 2023-05-29 23:01:12 | [Mutex] received everything. 2023-05-29 23:01:12 | [Mutex] isItemNotified: received:node:3f92531a-7991-4620-a027-2d88370ef2c3:localhost:node-a2b3e8de-6dc1-4402-b289-de3a848711e9:Node a2b3e8de-6dc1-4402-b289-de3a848711e9 :: true |
deleteNodes | 1.016s |
2023-05-29 23:01:18 |
2023-05-29 23:01:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:18 | ------------------------------------ 2023-05-29 23:01:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a2b3e8de-6dc1-4402-b289-de3a848711e9</node></data> 2023-05-29 23:01:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-29 23:01:19 | [Mutex] waiting for: [received:nodes:00a023fc-b02b-4920-a92a-fb8cbc73b88c:localhost] 2023-05-29 23:01:19 | [Mutex] waiting for: [received:nodes:00a023fc-b02b-4920-a92a-fb8cbc73b88c:localhost] 2023-05-29 23:01:19 | [Mutex] waiting for: [received:nodes:00a023fc-b02b-4920-a92a-fb8cbc73b88c:localhost] 2023-05-29 23:01:19 | [Mutex] received everything. 2023-05-29 23:01:19 | [Mutex] isItemNotified: received:node:00a023fc-b02b-4920-a92a-fb8cbc73b88c:localhost:node-a2b3e8de-6dc1-4402-b289-de3a848711e9:Node a2b3e8de-6dc1-4402-b289-de3a848711e9 :: false |
deleteSubnodes | 1.125s |
2023-05-29 23:01:17 |
2023-05-29 23:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:17 | ------------------------------------ 2023-05-29 23:01:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-22645386-49f5-4a28-ac04-3c504649a162</node></data> 2023-05-29 23:01:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-29 23:01:18 | [Mutex] waiting for: [received:nodes:ed19cb64-3b54-469a-b428-6c839034b497:localhost] 2023-05-29 23:01:18 | [Mutex] waiting for: [received:nodes:ed19cb64-3b54-469a-b428-6c839034b497:localhost] 2023-05-29 23:01:18 | [Mutex] waiting for: [received:nodes:ed19cb64-3b54-469a-b428-6c839034b497:localhost] 2023-05-29 23:01:18 | [Mutex] received everything. 2023-05-29 23:01:18 | [Mutex] isItemNotified: received:node:ed19cb64-3b54-469a-b428-6c839034b497:localhost:node-22645386-49f5-4a28-ac04-3c504649a162:Node 22645386-49f5-4a28-ac04-3c504649a162 :: false 2023-05-29 23:01:18 | [Mutex] waiting for: [received:nodes:8ff6268b-48e8-4a43-81b4-2f34c12e5ae9:localhost] 2023-05-29 23:01:18 | [Mutex] received everything. 2023-05-29 23:01:18 | [Mutex] isItemNotified: received:node:8ff6268b-48e8-4a43-81b4-2f34c12e5ae9:localhost:node-22645386-49f5-4a28-ac04-3c504649a162:Node 22645386-49f5-4a28-ac04-3c504649a162 :: false |
publishItemsToNodes | 0.238s |
2023-05-29 23:01:15 |
2023-05-29 23:01:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:15 | ------------------------------------ 2023-05-29 23:01:15 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-22645386-49f5-4a28-ac04-3c504649a162</node><item-id>item-9e864980-c942-406b-8071-9c26d34d6181</item-id><entry><test>item-9e864980-c942-406b-8071-9c26d34d6181</test></entry></data> 2023-05-29 23:01:15 | 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-9e864980-c942-406b-8071-9c26d34d6181</value></item-id></result> 2023-05-29 23:01:15 | [Mutex] waiting for: [published:item:notifieditem-9e864980-c942-406b-8071-9c26d34d6181:admin@test-domain.com] 2023-05-29 23:01:15 | [Mutex] received everything. 2023-05-29 23:01:15 | [Mutex] isItemNotified: published:item:notifieditem-9e864980-c942-406b-8071-9c26d34d6181:admin@test-domain.com :: true |
retractItemsFromNodes | 0.288s |
2023-05-29 23:01:15 |
2023-05-29 23:01:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:15 | ------------------------------------ 2023-05-29 23:01:15 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-22645386-49f5-4a28-ac04-3c504649a162</node><item-id>item-9e864980-c942-406b-8071-9c26d34d6181</item-id></data> 2023-05-29 23:01:15 | 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-9e864980-c942-406b-8071-9c26d34d6181</value></item-id></result> 2023-05-29 23:01:15 | [Mutex] received everything. 2023-05-29 23:01:15 | [Mutex] isItemNotified: retracted:item:notifieditem-9e864980-c942-406b-8071-9c26d34d6181:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.172s |
2023-05-29 23:01:15 |
2023-05-29 23:01:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:15 | ------------------------------------ 2023-05-29 23:01:15 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-22645386-49f5-4a28-ac04-3c504649a162</node><item-id>item-9e864980-c942-406b-8071-9c26d34d6181</item-id></data> 2023-05-29 23:01:15 | 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-22645386-49f5-4a28-ac04-3c504649a162</value></node><item-id type="text-single" label="Item ID"><value>item-9e864980-c942-406b-8071-9c26d34d6181</value></item-id><item type="text-multi" label="Item"><value><item id="item-9e864980-c942-406b-8071-9c26d34d6181"><test>item-9e864980-c942-406b-8071-9c26d34d6181</test></item></value></item></result> 2023-05-29 23:01:15 | [Mutex] notify: [retrieved:item:item-9e864980-c942-406b-8071-9c26d34d6181:payload-matches:true:localhost] 2023-05-29 23:01:15 | [Mutex] received everything. 2023-05-29 23:01:15 | [Mutex] isItemNotified: retrieved:item:item-9e864980-c942-406b-8071-9c26d34d6181:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-05-29 23:01:15 |
2023-05-29 23:01:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:15 | ------------------------------------ 2023-05-29 23:01:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-05-29 23:01:15 | 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-22645386-49f5-4a28-ac04-3c504649a162</value><value>node-a2b3e8de-6dc1-4402-b289-de3a848711e9</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.050s |
2023-05-29 23:01:15 |
2023-05-29 23:01:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:15 | ------------------------------------ 2023-05-29 23:01:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-22645386-49f5-4a28-ac04-3c504649a162)</node-pattern></data> 2023-05-29 23:01:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.118s |
2023-05-29 23:01:14 |
2023-05-29 23:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:14 | ------------------------------------ 2023-05-29 23:01:14 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-22645386-49f5-4a28-ac04-3c504649a162</node><jids><value>admin@test-domain.com</value></jids></data> 2023-05-29 23:01:14 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.152s |
2023-05-29 23:01:15 |
2023-05-29 23:01:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-29 23:01:15 | ------------------------------------ 2023-05-29 23:01:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-22645386-49f5-4a28-ac04-3c504649a162</node><jids><value>admin@test-domain.com</value></jids></data> 2023-05-29 23:01:16 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |