Test duration : 9.568s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.079s |
2022-07-12 23:03:17 |
2022-07-12 23:03:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:17 | ------------------------------------ 2022-07-12 23:03:17 | [Mutex] waiting for: [configured:node:node-d09497fb-3f0a-406b-b5be-9dcba3adccff:node-7613c065-0b73-4e34-90a2-0f1b65f9e76b] 2022-07-12 23:03:17 | [Mutex] received everything. 2022-07-12 23:03:17 | [Mutex] isItemNotified: configured:node:node-d09497fb-3f0a-406b-b5be-9dcba3adccff:node-7613c065-0b73-4e34-90a2-0f1b65f9e76b :: true 2022-07-12 23:03:18 | [Mutex] waiting for: [received:nodes:07811880-893b-4c41-8e9a-527bab82f17c:localhost] 2022-07-12 23:03:18 | [Mutex] received everything. 2022-07-12 23:03:18 | [Mutex] isItemNotified: received:node:07811880-893b-4c41-8e9a-527bab82f17c:localhost:node-d09497fb-3f0a-406b-b5be-9dcba3adccff:Node d09497fb-3f0a-406b-b5be-9dcba3adccff :: true 2022-07-12 23:03:18 | [Mutex] waiting for: [received:nodes:f97c5ea9-e2c2-488b-b13e-13ec216a0074:localhost] 2022-07-12 23:03:18 | [Mutex] received everything. 2022-07-12 23:03:18 | [Mutex] isItemNotified: received:node:f97c5ea9-e2c2-488b-b13e-13ec216a0074:localhost:node-d09497fb-3f0a-406b-b5be-9dcba3adccff:Node d09497fb-3f0a-406b-b5be-9dcba3adccff :: false |
createNodes | 1.442s |
2022-07-12 23:03:15 |
2022-07-12 23:03:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:15 | ------------------------------------ 2022-07-12 23:03:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d09497fb-3f0a-406b-b5be-9dcba3adccff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d09497fb-3f0a-406b-b5be-9dcba3adccff</title></pubsub></data> 2022-07-12 23:03:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 23:03:16 | [Mutex] waiting for: [received:nodes:28459c5f-5ad0-4fd5-a37d-86ee2c742104:localhost] 2022-07-12 23:03:16 | [Mutex] received everything. 2022-07-12 23:03:16 | [Mutex] isItemNotified: received:node:28459c5f-5ad0-4fd5-a37d-86ee2c742104:localhost:node-d09497fb-3f0a-406b-b5be-9dcba3adccff:Node d09497fb-3f0a-406b-b5be-9dcba3adccff :: true |
createSubnodes | 1.021s |
2022-07-12 23:03:16 |
2022-07-12 23:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:16 | ------------------------------------ 2022-07-12 23:03:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7613c065-0b73-4e34-90a2-0f1b65f9e76b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7613c065-0b73-4e34-90a2-0f1b65f9e76b</title></pubsub></data> 2022-07-12 23:03:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 23:03:17 | [Mutex] waiting for: [received:nodes:0cac3de2-46ef-4e28-a95b-b7a5e9e4c232:localhost] 2022-07-12 23:03:17 | [Mutex] waiting for: [received:nodes:0cac3de2-46ef-4e28-a95b-b7a5e9e4c232:localhost] 2022-07-12 23:03:17 | [Mutex] received everything. 2022-07-12 23:03:17 | [Mutex] isItemNotified: received:node:0cac3de2-46ef-4e28-a95b-b7a5e9e4c232:localhost:node-7613c065-0b73-4e34-90a2-0f1b65f9e76b:Node 7613c065-0b73-4e34-90a2-0f1b65f9e76b :: true |
deleteNodes | 1.015s |
2022-07-12 23:03:23 |
2022-07-12 23:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:23 | ------------------------------------ 2022-07-12 23:03:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7613c065-0b73-4e34-90a2-0f1b65f9e76b</node></data> 2022-07-12 23:03:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 23:03:24 | [Mutex] waiting for: [received:nodes:8c5d85de-db6c-49a4-a6ad-1166db349182:localhost] 2022-07-12 23:03:24 | [Mutex] waiting for: [received:nodes:8c5d85de-db6c-49a4-a6ad-1166db349182:localhost] 2022-07-12 23:03:24 | [Mutex] received everything. 2022-07-12 23:03:24 | [Mutex] isItemNotified: received:node:8c5d85de-db6c-49a4-a6ad-1166db349182:localhost:node-7613c065-0b73-4e34-90a2-0f1b65f9e76b:Node 7613c065-0b73-4e34-90a2-0f1b65f9e76b :: false |
deleteSubnodes | 1.146s |
2022-07-12 23:03:22 |
2022-07-12 23:03:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:22 | ------------------------------------ 2022-07-12 23:03:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d09497fb-3f0a-406b-b5be-9dcba3adccff</node></data> 2022-07-12 23:03:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 23:03:23 | [Mutex] waiting for: [received:nodes:773a8c06-2cbf-48fe-ac4f-fcd07e3a8ac5:localhost] 2022-07-12 23:03:23 | [Mutex] received everything. 2022-07-12 23:03:23 | [Mutex] isItemNotified: received:node:773a8c06-2cbf-48fe-ac4f-fcd07e3a8ac5:localhost:node-d09497fb-3f0a-406b-b5be-9dcba3adccff:Node d09497fb-3f0a-406b-b5be-9dcba3adccff :: false 2022-07-12 23:03:23 | [Mutex] waiting for: [received:nodes:646748e5-ee66-4ad0-a9f0-e7501552358e:localhost] 2022-07-12 23:03:23 | [Mutex] received everything. 2022-07-12 23:03:23 | [Mutex] isItemNotified: received:node:646748e5-ee66-4ad0-a9f0-e7501552358e:localhost:node-d09497fb-3f0a-406b-b5be-9dcba3adccff:Node d09497fb-3f0a-406b-b5be-9dcba3adccff :: false |
publishItemsToNodes | 0.278s |
2022-07-12 23:03:20 |
2022-07-12 23:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:20 | ------------------------------------ 2022-07-12 23:03:20 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d09497fb-3f0a-406b-b5be-9dcba3adccff</node><item-id>item-9105a821-5cad-4c64-8451-6e21e1d8222f</item-id><entry><test>item-9105a821-5cad-4c64-8451-6e21e1d8222f</test></entry></data> 2022-07-12 23:03:20 | 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-9105a821-5cad-4c64-8451-6e21e1d8222f</value></item-id></result> 2022-07-12 23:03:20 | [Mutex] waiting for: [published:item:notifieditem-9105a821-5cad-4c64-8451-6e21e1d8222f:admin@test-domain.com] 2022-07-12 23:03:20 | [Mutex] received everything. 2022-07-12 23:03:20 | [Mutex] isItemNotified: published:item:notifieditem-9105a821-5cad-4c64-8451-6e21e1d8222f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.299s |
2022-07-12 23:03:20 |
2022-07-12 23:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:20 | ------------------------------------ 2022-07-12 23:03:20 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d09497fb-3f0a-406b-b5be-9dcba3adccff</node><item-id>item-9105a821-5cad-4c64-8451-6e21e1d8222f</item-id></data> 2022-07-12 23:03:20 | 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-9105a821-5cad-4c64-8451-6e21e1d8222f</value></item-id></result> 2022-07-12 23:03:20 | [Mutex] received everything. 2022-07-12 23:03:20 | [Mutex] isItemNotified: retracted:item:notifieditem-9105a821-5cad-4c64-8451-6e21e1d8222f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.233s |
2022-07-12 23:03:20 |
2022-07-12 23:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:20 | ------------------------------------ 2022-07-12 23:03:20 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d09497fb-3f0a-406b-b5be-9dcba3adccff</node><item-id>item-9105a821-5cad-4c64-8451-6e21e1d8222f</item-id></data> 2022-07-12 23:03:20 | 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-d09497fb-3f0a-406b-b5be-9dcba3adccff</value></node><item-id type="text-single" label="Item ID"><value>item-9105a821-5cad-4c64-8451-6e21e1d8222f</value></item-id><item type="text-multi" label="Item"><value><item id="item-9105a821-5cad-4c64-8451-6e21e1d8222f"><test>item-9105a821-5cad-4c64-8451-6e21e1d8222f</test></item></value></item></result> 2022-07-12 23:03:20 | [Mutex] notify: [retrieved:item:item-9105a821-5cad-4c64-8451-6e21e1d8222f:payload-matches:true:localhost] 2022-07-12 23:03:20 | [Mutex] received everything. 2022-07-12 23:03:20 | [Mutex] isItemNotified: retrieved:item:item-9105a821-5cad-4c64-8451-6e21e1d8222f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-12 23:03:20 |
2022-07-12 23:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:20 | ------------------------------------ 2022-07-12 23:03:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-12 23:03:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-d09497fb-3f0a-406b-b5be-9dcba3adccff</value><value>test</value><value>node-7613c065-0b73-4e34-90a2-0f1b65f9e76b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-12 23:03:20 |
2022-07-12 23:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:20 | ------------------------------------ 2022-07-12 23:03:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d09497fb-3f0a-406b-b5be-9dcba3adccff)</node-pattern></data> 2022-07-12 23:03:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.106s |
2022-07-12 23:03:18 |
2022-07-12 23:03:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:18 | ------------------------------------ 2022-07-12 23:03:18 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d09497fb-3f0a-406b-b5be-9dcba3adccff</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-12 23:03:19 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2022-07-12 23:03:20 |
2022-07-12 23:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 23:03:20 | ------------------------------------ 2022-07-12 23:03:20 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d09497fb-3f0a-406b-b5be-9dcba3adccff</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-12 23:03:21 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |