Test duration : 9.552s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-07-03 22:52:14 |
2022-07-03 22:52:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:14 | ------------------------------------ 2022-07-03 22:52:14 | [Mutex] waiting for: [configured:node:node-80bbb628-d719-494e-9544-dd873df93e79:node-9c39e427-98f7-4adc-afde-24bd63160d4b] 2022-07-03 22:52:14 | [Mutex] received everything. 2022-07-03 22:52:14 | [Mutex] isItemNotified: configured:node:node-80bbb628-d719-494e-9544-dd873df93e79:node-9c39e427-98f7-4adc-afde-24bd63160d4b :: true 2022-07-03 22:52:15 | [Mutex] waiting for: [received:nodes:6f1b6d0b-bd8b-4399-846e-8d214a2f4ad6:localhost] 2022-07-03 22:52:15 | [Mutex] received everything. 2022-07-03 22:52:15 | [Mutex] isItemNotified: received:node:6f1b6d0b-bd8b-4399-846e-8d214a2f4ad6:localhost:node-80bbb628-d719-494e-9544-dd873df93e79:Node 80bbb628-d719-494e-9544-dd873df93e79 :: true 2022-07-03 22:52:15 | [Mutex] waiting for: [received:nodes:6ebae514-2f73-4f1e-b7bd-0112b1708785:localhost] 2022-07-03 22:52:15 | [Mutex] received everything. 2022-07-03 22:52:15 | [Mutex] isItemNotified: received:node:6ebae514-2f73-4f1e-b7bd-0112b1708785:localhost:node-80bbb628-d719-494e-9544-dd873df93e79:Node 80bbb628-d719-494e-9544-dd873df93e79 :: false |
createNodes | 1.418s |
2022-07-03 22:52:12 |
2022-07-03 22:52:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:12 | ------------------------------------ 2022-07-03 22:52:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-80bbb628-d719-494e-9544-dd873df93e79</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 80bbb628-d719-494e-9544-dd873df93e79</title></pubsub></data> 2022-07-03 22:52:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-03 22:52:13 | [Mutex] waiting for: [received:nodes:11a788c4-ef20-4c68-b0ba-b10442e65b5f:localhost] 2022-07-03 22:52:13 | [Mutex] received everything. 2022-07-03 22:52:13 | [Mutex] isItemNotified: received:node:11a788c4-ef20-4c68-b0ba-b10442e65b5f:localhost:node-80bbb628-d719-494e-9544-dd873df93e79:Node 80bbb628-d719-494e-9544-dd873df93e79 :: true |
createSubnodes | 1.029s |
2022-07-03 22:52:13 |
2022-07-03 22:52:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:13 | ------------------------------------ 2022-07-03 22:52:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9c39e427-98f7-4adc-afde-24bd63160d4b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9c39e427-98f7-4adc-afde-24bd63160d4b</title></pubsub></data> 2022-07-03 22:52:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-03 22:52:14 | [Mutex] waiting for: [received:nodes:b14aeefd-09bc-4b6e-8a63-d3856c04c510:localhost] 2022-07-03 22:52:14 | [Mutex] waiting for: [received:nodes:b14aeefd-09bc-4b6e-8a63-d3856c04c510:localhost] 2022-07-03 22:52:14 | [Mutex] received everything. 2022-07-03 22:52:14 | [Mutex] isItemNotified: received:node:b14aeefd-09bc-4b6e-8a63-d3856c04c510:localhost:node-9c39e427-98f7-4adc-afde-24bd63160d4b:Node 9c39e427-98f7-4adc-afde-24bd63160d4b :: true |
deleteNodes | 1.021s |
2022-07-03 22:52:20 |
2022-07-03 22:52:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:20 | ------------------------------------ 2022-07-03 22:52:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9c39e427-98f7-4adc-afde-24bd63160d4b</node></data> 2022-07-03 22:52:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-03 22:52:21 | [Mutex] waiting for: [received:nodes:8002da5c-2656-4932-b003-cc5e6086cdc9:localhost] 2022-07-03 22:52:21 | [Mutex] received everything. 2022-07-03 22:52:21 | [Mutex] isItemNotified: received:node:8002da5c-2656-4932-b003-cc5e6086cdc9:localhost:node-9c39e427-98f7-4adc-afde-24bd63160d4b:Node 9c39e427-98f7-4adc-afde-24bd63160d4b :: false |
deleteSubnodes | 1.133s |
2022-07-03 22:52:19 |
2022-07-03 22:52:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:19 | ------------------------------------ 2022-07-03 22:52:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-80bbb628-d719-494e-9544-dd873df93e79</node></data> 2022-07-03 22:52:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-03 22:52:20 | [Mutex] waiting for: [received:nodes:d02d768c-8768-450a-9c37-83a7e631e0da:localhost] 2022-07-03 22:52:20 | [Mutex] waiting for: [received:nodes:d02d768c-8768-450a-9c37-83a7e631e0da:localhost] 2022-07-03 22:52:20 | [Mutex] waiting for: [received:nodes:d02d768c-8768-450a-9c37-83a7e631e0da:localhost] 2022-07-03 22:52:20 | [Mutex] received everything. 2022-07-03 22:52:20 | [Mutex] isItemNotified: received:node:d02d768c-8768-450a-9c37-83a7e631e0da:localhost:node-80bbb628-d719-494e-9544-dd873df93e79:Node 80bbb628-d719-494e-9544-dd873df93e79 :: false 2022-07-03 22:52:20 | [Mutex] waiting for: [received:nodes:486e849a-f311-40fe-b1e0-5413eb91f707:localhost] 2022-07-03 22:52:20 | [Mutex] received everything. 2022-07-03 22:52:20 | [Mutex] isItemNotified: received:node:486e849a-f311-40fe-b1e0-5413eb91f707:localhost:node-80bbb628-d719-494e-9544-dd873df93e79:Node 80bbb628-d719-494e-9544-dd873df93e79 :: false |
publishItemsToNodes | 0.202s |
2022-07-03 22:52:17 |
2022-07-03 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:17 | ------------------------------------ 2022-07-03 22:52:17 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-80bbb628-d719-494e-9544-dd873df93e79</node><item-id>item-3ef44046-3f42-4711-8ac4-0f0a54e37b48</item-id><entry><test>item-3ef44046-3f42-4711-8ac4-0f0a54e37b48</test></entry></data> 2022-07-03 22:52:17 | 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-3ef44046-3f42-4711-8ac4-0f0a54e37b48</value></item-id></result> 2022-07-03 22:52:17 | [Mutex] waiting for: [published:item:notifieditem-3ef44046-3f42-4711-8ac4-0f0a54e37b48:admin@test-domain.com] 2022-07-03 22:52:17 | [Mutex] received everything. 2022-07-03 22:52:17 | [Mutex] isItemNotified: published:item:notifieditem-3ef44046-3f42-4711-8ac4-0f0a54e37b48:admin@test-domain.com :: true |
retractItemsFromNodes | 0.264s |
2022-07-03 22:52:17 |
2022-07-03 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:17 | ------------------------------------ 2022-07-03 22:52:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-80bbb628-d719-494e-9544-dd873df93e79</node><item-id>item-3ef44046-3f42-4711-8ac4-0f0a54e37b48</item-id></data> 2022-07-03 22:52:17 | 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-3ef44046-3f42-4711-8ac4-0f0a54e37b48</value></item-id></result> 2022-07-03 22:52:17 | [Mutex] received everything. 2022-07-03 22:52:17 | [Mutex] isItemNotified: retracted:item:notifieditem-3ef44046-3f42-4711-8ac4-0f0a54e37b48:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.277s |
2022-07-03 22:52:17 |
2022-07-03 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:17 | ------------------------------------ 2022-07-03 22:52:17 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-80bbb628-d719-494e-9544-dd873df93e79</node><item-id>item-3ef44046-3f42-4711-8ac4-0f0a54e37b48</item-id></data> 2022-07-03 22:52:17 | 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-80bbb628-d719-494e-9544-dd873df93e79</value></node><item-id label="Item ID" type="text-single"><value>item-3ef44046-3f42-4711-8ac4-0f0a54e37b48</value></item-id><item label="Item" type="text-multi"><value><item id="item-3ef44046-3f42-4711-8ac4-0f0a54e37b48"><test>item-3ef44046-3f42-4711-8ac4-0f0a54e37b48</test></item></value></item></result> 2022-07-03 22:52:17 | [Mutex] notify: [retrieved:item:item-3ef44046-3f42-4711-8ac4-0f0a54e37b48:payload-matches:true:localhost] 2022-07-03 22:52:17 | [Mutex] received everything. 2022-07-03 22:52:17 | [Mutex] isItemNotified: retrieved:item:item-3ef44046-3f42-4711-8ac4-0f0a54e37b48:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2022-07-03 22:52:17 |
2022-07-03 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:17 | ------------------------------------ 2022-07-03 22:52:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-03 22:52:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-80bbb628-d719-494e-9544-dd873df93e79</value><value>test</value><value>node-9c39e427-98f7-4adc-afde-24bd63160d4b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.060s |
2022-07-03 22:52:17 |
2022-07-03 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:17 | ------------------------------------ 2022-07-03 22:52:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-80bbb628-d719-494e-9544-dd873df93e79)</node-pattern></data> 2022-07-03 22:52:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.145s |
2022-07-03 22:52:15 |
2022-07-03 22:52:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:15 | ------------------------------------ 2022-07-03 22:52:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-80bbb628-d719-494e-9544-dd873df93e79</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-03 22:52:16 | 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-03 22:52:17 |
2022-07-03 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 22:52:17 | ------------------------------------ 2022-07-03 22:52:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-80bbb628-d719-494e-9544-dd873df93e79</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-03 22:52:18 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |