Test duration : 9.272s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2023-09-28 23:29:35 |
2023-09-28 23:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:35 | ------------------------------------ 2023-09-28 23:29:35 | [Mutex] waiting for: [configured:node:node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3:node-ed1d2035-e678-43f2-8be8-e82a4bd735ff] 2023-09-28 23:29:35 | [Mutex] received everything. 2023-09-28 23:29:35 | [Mutex] isItemNotified: configured:node:node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3:node-ed1d2035-e678-43f2-8be8-e82a4bd735ff :: true 2023-09-28 23:29:36 | [Mutex] waiting for: [received:nodes:b611b649-5d7b-40fc-94ee-b3cc362d378e:localhost] 2023-09-28 23:29:36 | [Mutex] received everything. 2023-09-28 23:29:36 | [Mutex] isItemNotified: received:node:b611b649-5d7b-40fc-94ee-b3cc362d378e:localhost:node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3:Node 4b23950c-bca6-40a0-bff9-a55b1fbc27d3 :: true 2023-09-28 23:29:36 | [Mutex] waiting for: [received:nodes:9d1bdc05-ec6f-4702-8275-bec2a25288fb:localhost] 2023-09-28 23:29:36 | [Mutex] waiting for: [received:nodes:9d1bdc05-ec6f-4702-8275-bec2a25288fb:localhost] 2023-09-28 23:29:36 | [Mutex] waiting for: [received:nodes:9d1bdc05-ec6f-4702-8275-bec2a25288fb:localhost] 2023-09-28 23:29:36 | [Mutex] received everything. 2023-09-28 23:29:36 | [Mutex] isItemNotified: received:node:9d1bdc05-ec6f-4702-8275-bec2a25288fb:localhost:node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3:Node 4b23950c-bca6-40a0-bff9-a55b1fbc27d3 :: false |
createNodes | 1.438s |
2023-09-28 23:29:32 |
2023-09-28 23:29:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:32 | ------------------------------------ 2023-09-28 23:29:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4b23950c-bca6-40a0-bff9-a55b1fbc27d3</title></pubsub></data> 2023-09-28 23:29:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-09-28 23:29:34 | [Mutex] waiting for: [received:nodes:661aea68-b993-4a09-b213-ef976d07e0fc:localhost] 2023-09-28 23:29:34 | [Mutex] waiting for: [received:nodes:661aea68-b993-4a09-b213-ef976d07e0fc:localhost] 2023-09-28 23:29:34 | [Mutex] waiting for: [received:nodes:661aea68-b993-4a09-b213-ef976d07e0fc:localhost] 2023-09-28 23:29:34 | [Mutex] waiting for: [received:nodes:661aea68-b993-4a09-b213-ef976d07e0fc:localhost] 2023-09-28 23:29:34 | [Mutex] received everything. 2023-09-28 23:29:34 | [Mutex] isItemNotified: received:node:661aea68-b993-4a09-b213-ef976d07e0fc:localhost:node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3:Node 4b23950c-bca6-40a0-bff9-a55b1fbc27d3 :: true |
createSubnodes | 1.023s |
2023-09-28 23:29:34 |
2023-09-28 23:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:34 | ------------------------------------ 2023-09-28 23:29:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ed1d2035-e678-43f2-8be8-e82a4bd735ff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ed1d2035-e678-43f2-8be8-e82a4bd735ff</title></pubsub></data> 2023-09-28 23:29:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-09-28 23:29:35 | [Mutex] waiting for: [received:nodes:bf1e723c-7937-4a26-a8e8-5ab943256e20:localhost] 2023-09-28 23:29:35 | [Mutex] waiting for: [received:nodes:bf1e723c-7937-4a26-a8e8-5ab943256e20:localhost] 2023-09-28 23:29:35 | [Mutex] waiting for: [received:nodes:bf1e723c-7937-4a26-a8e8-5ab943256e20:localhost] 2023-09-28 23:29:35 | [Mutex] waiting for: [received:nodes:bf1e723c-7937-4a26-a8e8-5ab943256e20:localhost] 2023-09-28 23:29:35 | [Mutex] waiting for: [received:nodes:bf1e723c-7937-4a26-a8e8-5ab943256e20:localhost] 2023-09-28 23:29:35 | [Mutex] received everything. 2023-09-28 23:29:35 | [Mutex] isItemNotified: received:node:bf1e723c-7937-4a26-a8e8-5ab943256e20:localhost:node-ed1d2035-e678-43f2-8be8-e82a4bd735ff:Node ed1d2035-e678-43f2-8be8-e82a4bd735ff :: true |
deleteNodes | 1.017s |
2023-09-28 23:29:40 |
2023-09-28 23:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:40 | ------------------------------------ 2023-09-28 23:29:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ed1d2035-e678-43f2-8be8-e82a4bd735ff</node></data> 2023-09-28 23:29:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-09-28 23:29:41 | [Mutex] waiting for: [received:nodes:9babaccc-3860-43c4-b2c7-96f41b293406:localhost] 2023-09-28 23:29:41 | [Mutex] waiting for: [received:nodes:9babaccc-3860-43c4-b2c7-96f41b293406:localhost] 2023-09-28 23:29:41 | [Mutex] waiting for: [received:nodes:9babaccc-3860-43c4-b2c7-96f41b293406:localhost] 2023-09-28 23:29:41 | [Mutex] received everything. 2023-09-28 23:29:41 | [Mutex] isItemNotified: received:node:9babaccc-3860-43c4-b2c7-96f41b293406:localhost:node-ed1d2035-e678-43f2-8be8-e82a4bd735ff:Node ed1d2035-e678-43f2-8be8-e82a4bd735ff :: false |
deleteSubnodes | 1.116s |
2023-09-28 23:29:39 |
2023-09-28 23:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:39 | ------------------------------------ 2023-09-28 23:29:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3</node></data> 2023-09-28 23:29:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-09-28 23:29:40 | [Mutex] waiting for: [received:nodes:45c723d4-73d9-4358-a6fb-d31449ddabec:localhost] 2023-09-28 23:29:40 | [Mutex] waiting for: [received:nodes:45c723d4-73d9-4358-a6fb-d31449ddabec:localhost] 2023-09-28 23:29:40 | [Mutex] waiting for: [received:nodes:45c723d4-73d9-4358-a6fb-d31449ddabec:localhost] 2023-09-28 23:29:40 | [Mutex] waiting for: [received:nodes:45c723d4-73d9-4358-a6fb-d31449ddabec:localhost] 2023-09-28 23:29:40 | [Mutex] received everything. 2023-09-28 23:29:40 | [Mutex] isItemNotified: received:node:45c723d4-73d9-4358-a6fb-d31449ddabec:localhost:node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3:Node 4b23950c-bca6-40a0-bff9-a55b1fbc27d3 :: false 2023-09-28 23:29:40 | [Mutex] waiting for: [received:nodes:2c908a0d-2a7f-401c-8102-9b75422e4105:localhost] 2023-09-28 23:29:40 | [Mutex] received everything. 2023-09-28 23:29:40 | [Mutex] isItemNotified: received:node:2c908a0d-2a7f-401c-8102-9b75422e4105:localhost:node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3:Node 4b23950c-bca6-40a0-bff9-a55b1fbc27d3 :: false |
publishItemsToNodes | 0.186s |
2023-09-28 23:29:37 |
2023-09-28 23:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:37 | ------------------------------------ 2023-09-28 23:29:37 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3</node><item-id>item-c8ad6ea7-e058-4184-9e2c-ce93172604c8</item-id><entry><test>item-c8ad6ea7-e058-4184-9e2c-ce93172604c8</test></entry></data> 2023-09-28 23:29:37 | 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-c8ad6ea7-e058-4184-9e2c-ce93172604c8</value></item-id></result> 2023-09-28 23:29:37 | [Mutex] waiting for: [published:item:notifieditem-c8ad6ea7-e058-4184-9e2c-ce93172604c8:admin@test-domain.com] 2023-09-28 23:29:37 | [Mutex] received everything. 2023-09-28 23:29:37 | [Mutex] isItemNotified: published:item:notifieditem-c8ad6ea7-e058-4184-9e2c-ce93172604c8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.215s |
2023-09-28 23:29:38 |
2023-09-28 23:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:38 | ------------------------------------ 2023-09-28 23:29:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3</node><item-id>item-c8ad6ea7-e058-4184-9e2c-ce93172604c8</item-id></data> 2023-09-28 23:29:38 | 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-c8ad6ea7-e058-4184-9e2c-ce93172604c8</value></item-id></result> 2023-09-28 23:29:38 | [Mutex] received everything. 2023-09-28 23:29:38 | [Mutex] isItemNotified: retracted:item:notifieditem-c8ad6ea7-e058-4184-9e2c-ce93172604c8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.201s |
2023-09-28 23:29:37 |
2023-09-28 23:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:37 | ------------------------------------ 2023-09-28 23:29:37 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3</node><item-id>item-c8ad6ea7-e058-4184-9e2c-ce93172604c8</item-id></data> 2023-09-28 23:29:38 | 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-4b23950c-bca6-40a0-bff9-a55b1fbc27d3</value></node><item-id type="text-single" label="Item ID"><value>item-c8ad6ea7-e058-4184-9e2c-ce93172604c8</value></item-id><item type="text-multi" label="Item"><value><item id="item-c8ad6ea7-e058-4184-9e2c-ce93172604c8"><test>item-c8ad6ea7-e058-4184-9e2c-ce93172604c8</test></item></value></item></result> 2023-09-28 23:29:38 | [Mutex] notify: [retrieved:item:item-c8ad6ea7-e058-4184-9e2c-ce93172604c8:payload-matches:true:localhost] 2023-09-28 23:29:38 | [Mutex] received everything. 2023-09-28 23:29:38 | [Mutex] isItemNotified: retrieved:item:item-c8ad6ea7-e058-4184-9e2c-ce93172604c8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-09-28 23:29:38 |
2023-09-28 23:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:38 | ------------------------------------ 2023-09-28 23:29:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-09-28 23:29:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-ed1d2035-e678-43f2-8be8-e82a4bd735ff</value><value>test</value><value>node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-09-28 23:29:38 |
2023-09-28 23:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:38 | ------------------------------------ 2023-09-28 23:29:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3)</node-pattern></data> 2023-09-28 23:29:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.143s |
2023-09-28 23:29:36 |
2023-09-28 23:29:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:36 | ------------------------------------ 2023-09-28 23:29:36 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3</node><jids><value>admin@test-domain.com</value></jids></data> 2023-09-28 23:29:36 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.159s |
2023-09-28 23:29:38 |
2023-09-28 23:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:29:38 | ------------------------------------ 2023-09-28 23:29:38 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4b23950c-bca6-40a0-bff9-a55b1fbc27d3</node><jids><value>admin@test-domain.com</value></jids></data> 2023-09-28 23:29:38 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |