Test duration : 10.154s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.140s |
2021-09-19 22:29:17 |
2021-09-19 22:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:17 | ------------------------------------ 2021-09-19 22:29:17 | [Mutex] waiting for: [configured:node:node-af9411fc-4a63-4347-9553-ddabe211b1c9:node-cba22a77-002c-4d31-ae13-77d4f9f1d511] 2021-09-19 22:29:17 | [Mutex] received everything. 2021-09-19 22:29:17 | [Mutex] isItemNotified: configured:node:node-af9411fc-4a63-4347-9553-ddabe211b1c9:node-cba22a77-002c-4d31-ae13-77d4f9f1d511 :: true 2021-09-19 22:29:18 | [Mutex] waiting for: [received:nodes:18dd739e-9648-4c84-909b-30992d84f864:localhost] 2021-09-19 22:29:18 | [Mutex] received everything. 2021-09-19 22:29:18 | [Mutex] isItemNotified: received:node:18dd739e-9648-4c84-909b-30992d84f864:localhost:node-af9411fc-4a63-4347-9553-ddabe211b1c9:Node af9411fc-4a63-4347-9553-ddabe211b1c9 :: true 2021-09-19 22:29:19 | [Mutex] waiting for: [received:nodes:e9c8e475-efc0-4b79-b23a-58441299db7f:localhost] 2021-09-19 22:29:19 | [Mutex] received everything. 2021-09-19 22:29:19 | [Mutex] isItemNotified: received:node:e9c8e475-efc0-4b79-b23a-58441299db7f:localhost:node-af9411fc-4a63-4347-9553-ddabe211b1c9:Node af9411fc-4a63-4347-9553-ddabe211b1c9 :: false |
createNodes | 1.693s |
2021-09-19 22:29:15 |
2021-09-19 22:29:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:15 | ------------------------------------ 2021-09-19 22:29:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-af9411fc-4a63-4347-9553-ddabe211b1c9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node af9411fc-4a63-4347-9553-ddabe211b1c9</title></pubsub></data> 2021-09-19 22:29:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-19 22:29:16 | [Mutex] waiting for: [received:nodes:7d88e9fc-9881-4532-a952-d0594bbcef0a:localhost] 2021-09-19 22:29:16 | [Mutex] received everything. 2021-09-19 22:29:16 | [Mutex] isItemNotified: received:node:7d88e9fc-9881-4532-a952-d0594bbcef0a:localhost:node-af9411fc-4a63-4347-9553-ddabe211b1c9:Node af9411fc-4a63-4347-9553-ddabe211b1c9 :: true |
createSubnodes | 1.029s |
2021-09-19 22:29:16 |
2021-09-19 22:29:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:16 | ------------------------------------ 2021-09-19 22:29:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cba22a77-002c-4d31-ae13-77d4f9f1d511</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cba22a77-002c-4d31-ae13-77d4f9f1d511</title></pubsub></data> 2021-09-19 22:29:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-19 22:29:17 | [Mutex] waiting for: [received:nodes:e71cfb0e-440d-4d1f-b518-e1c23f6b4ef8:localhost] 2021-09-19 22:29:17 | [Mutex] received everything. 2021-09-19 22:29:17 | [Mutex] isItemNotified: received:node:e71cfb0e-440d-4d1f-b518-e1c23f6b4ef8:localhost:node-cba22a77-002c-4d31-ae13-77d4f9f1d511:Node cba22a77-002c-4d31-ae13-77d4f9f1d511 :: true |
deleteNodes | 1.018s |
2021-09-19 22:29:23 |
2021-09-19 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:23 | ------------------------------------ 2021-09-19 22:29:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cba22a77-002c-4d31-ae13-77d4f9f1d511</node></data> 2021-09-19 22:29:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-19 22:29:24 | [Mutex] waiting for: [received:nodes:ebc01db0-7d69-4ac8-9c4d-efd3286f9242:localhost] 2021-09-19 22:29:24 | [Mutex] waiting for: [received:nodes:ebc01db0-7d69-4ac8-9c4d-efd3286f9242:localhost] 2021-09-19 22:29:24 | [Mutex] received everything. 2021-09-19 22:29:24 | [Mutex] isItemNotified: received:node:ebc01db0-7d69-4ac8-9c4d-efd3286f9242:localhost:node-cba22a77-002c-4d31-ae13-77d4f9f1d511:Node cba22a77-002c-4d31-ae13-77d4f9f1d511 :: false |
deleteSubnodes | 1.170s |
2021-09-19 22:29:22 |
2021-09-19 22:29:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:22 | ------------------------------------ 2021-09-19 22:29:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-af9411fc-4a63-4347-9553-ddabe211b1c9</node></data> 2021-09-19 22:29:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-19 22:29:23 | [Mutex] waiting for: [received:nodes:77d5273f-ccac-46cd-8a39-e54a10e5b8bc:localhost] 2021-09-19 22:29:23 | [Mutex] received everything. 2021-09-19 22:29:23 | [Mutex] isItemNotified: received:node:77d5273f-ccac-46cd-8a39-e54a10e5b8bc:localhost:node-af9411fc-4a63-4347-9553-ddabe211b1c9:Node af9411fc-4a63-4347-9553-ddabe211b1c9 :: false 2021-09-19 22:29:23 | [Mutex] waiting for: [received:nodes:113ca1ce-8d31-4433-9792-94682d77b02a:localhost] 2021-09-19 22:29:23 | [Mutex] received everything. 2021-09-19 22:29:23 | [Mutex] isItemNotified: received:node:113ca1ce-8d31-4433-9792-94682d77b02a:localhost:node-af9411fc-4a63-4347-9553-ddabe211b1c9:Node af9411fc-4a63-4347-9553-ddabe211b1c9 :: false |
publishItemsToNodes | 0.255s |
2021-09-19 22:29:20 |
2021-09-19 22:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:20 | ------------------------------------ 2021-09-19 22:29:20 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-af9411fc-4a63-4347-9553-ddabe211b1c9</node><item-id>item-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8</item-id><entry><test>item-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8</test></entry></data> 2021-09-19 22:29: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-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8</value></item-id></result> 2021-09-19 22:29:20 | [Mutex] received everything. 2021-09-19 22:29:20 | [Mutex] isItemNotified: published:item:notifieditem-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.155s |
2021-09-19 22:29:20 |
2021-09-19 22:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:20 | ------------------------------------ 2021-09-19 22:29:20 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-af9411fc-4a63-4347-9553-ddabe211b1c9</node><item-id>item-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8</item-id></data> 2021-09-19 22:29: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-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8</value></item-id></result> 2021-09-19 22:29:20 | [Mutex] received everything. 2021-09-19 22:29:20 | [Mutex] isItemNotified: retracted:item:notifieditem-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.278s |
2021-09-19 22:29:20 |
2021-09-19 22:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:20 | ------------------------------------ 2021-09-19 22:29:20 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-af9411fc-4a63-4347-9553-ddabe211b1c9</node><item-id>item-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8</item-id></data> 2021-09-19 22:29: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-af9411fc-4a63-4347-9553-ddabe211b1c9</value></node><item-id type="text-single" label="Item ID"><value>item-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8</value></item-id><item type="text-multi" label="Item"><value><item id="item-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8"><test>item-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8</test></item></value></item></result> 2021-09-19 22:29:20 | [Mutex] notify: [retrieved:item:item-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8:payload-matches:true:localhost] 2021-09-19 22:29:20 | [Mutex] received everything. 2021-09-19 22:29:20 | [Mutex] isItemNotified: retrieved:item:item-cdc9e3a0-51f5-4dda-9f5e-2b6056c271e8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-09-19 22:29:20 |
2021-09-19 22:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:20 | ------------------------------------ 2021-09-19 22:29:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-19 22:29:20 | 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-cba22a77-002c-4d31-ae13-77d4f9f1d511</value><value>node-af9411fc-4a63-4347-9553-ddabe211b1c9</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-09-19 22:29:20 |
2021-09-19 22:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:20 | ------------------------------------ 2021-09-19 22:29: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-af9411fc-4a63-4347-9553-ddabe211b1c9)</node-pattern></data> 2021-09-19 22:29:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.176s |
2021-09-19 22:29:19 |
2021-09-19 22:29:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:19 | ------------------------------------ 2021-09-19 22:29:19 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-af9411fc-4a63-4347-9553-ddabe211b1c9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-19 22:29: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.243s |
2021-09-19 22:29:20 |
2021-09-19 22:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-19 22:29:20 | ------------------------------------ 2021-09-19 22:29:20 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-af9411fc-4a63-4347-9553-ddabe211b1c9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-19 22:29:21 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |