Test duration : 9.306s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.093s |
2022-06-12 22:40:13 |
2022-06-12 22:40:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:13 | ------------------------------------ 2022-06-12 22:40:13 | [Mutex] waiting for: [configured:node:node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d:node-30012a97-e008-4924-ab51-b48cb740d846] 2022-06-12 22:40:13 | [Mutex] received everything. 2022-06-12 22:40:13 | [Mutex] isItemNotified: configured:node:node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d:node-30012a97-e008-4924-ab51-b48cb740d846 :: true 2022-06-12 22:40:14 | [Mutex] waiting for: [received:nodes:c573728b-7fb4-47e1-b456-eb99eac7084b:localhost] 2022-06-12 22:40:14 | [Mutex] received everything. 2022-06-12 22:40:14 | [Mutex] isItemNotified: received:node:c573728b-7fb4-47e1-b456-eb99eac7084b:localhost:node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d:Node bc5a4800-b6bc-40a7-8cb8-1b1f743b109d :: true 2022-06-12 22:40:14 | [Mutex] waiting for: [received:nodes:21648866-922e-47d9-864d-2d8ef312b467:localhost] 2022-06-12 22:40:14 | [Mutex] received everything. 2022-06-12 22:40:14 | [Mutex] isItemNotified: received:node:21648866-922e-47d9-864d-2d8ef312b467:localhost:node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d:Node bc5a4800-b6bc-40a7-8cb8-1b1f743b109d :: false |
createNodes | 1.396s |
2022-06-12 22:40:10 |
2022-06-12 22:40:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:10 | ------------------------------------ 2022-06-12 22:40:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bc5a4800-b6bc-40a7-8cb8-1b1f743b109d</title></pubsub></data> 2022-06-12 22:40:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:40:12 | [Mutex] waiting for: [received:nodes:ae703606-69b9-4cd5-9ea7-75a1c6eba9fe:localhost] 2022-06-12 22:40:12 | [Mutex] waiting for: [received:nodes:ae703606-69b9-4cd5-9ea7-75a1c6eba9fe:localhost] 2022-06-12 22:40:12 | [Mutex] received everything. 2022-06-12 22:40:12 | [Mutex] isItemNotified: received:node:ae703606-69b9-4cd5-9ea7-75a1c6eba9fe:localhost:node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d:Node bc5a4800-b6bc-40a7-8cb8-1b1f743b109d :: true |
createSubnodes | 1.021s |
2022-06-12 22:40:12 |
2022-06-12 22:40:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:12 | ------------------------------------ 2022-06-12 22:40:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-30012a97-e008-4924-ab51-b48cb740d846</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 30012a97-e008-4924-ab51-b48cb740d846</title></pubsub></data> 2022-06-12 22:40:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:40:13 | [Mutex] waiting for: [received:nodes:dee694e8-3bc3-4db9-814e-16a6d212a758:localhost] 2022-06-12 22:40:13 | [Mutex] received everything. 2022-06-12 22:40:13 | [Mutex] isItemNotified: received:node:dee694e8-3bc3-4db9-814e-16a6d212a758:localhost:node-30012a97-e008-4924-ab51-b48cb740d846:Node 30012a97-e008-4924-ab51-b48cb740d846 :: true |
deleteNodes | 1.017s |
2022-06-12 22:40:18 |
2022-06-12 22:40:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:18 | ------------------------------------ 2022-06-12 22:40:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-30012a97-e008-4924-ab51-b48cb740d846</node></data> 2022-06-12 22:40:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:40:19 | [Mutex] waiting for: [received:nodes:b233b3d2-2a39-47fa-879a-abbb766f2850:localhost] 2022-06-12 22:40:19 | [Mutex] waiting for: [received:nodes:b233b3d2-2a39-47fa-879a-abbb766f2850:localhost] 2022-06-12 22:40:19 | [Mutex] received everything. 2022-06-12 22:40:19 | [Mutex] isItemNotified: received:node:b233b3d2-2a39-47fa-879a-abbb766f2850:localhost:node-30012a97-e008-4924-ab51-b48cb740d846:Node 30012a97-e008-4924-ab51-b48cb740d846 :: false |
deleteSubnodes | 1.131s |
2022-06-12 22:40:17 |
2022-06-12 22:40:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:17 | ------------------------------------ 2022-06-12 22:40:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d</node></data> 2022-06-12 22:40:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:40:18 | [Mutex] waiting for: [received:nodes:d57ee07c-90f8-4351-800e-3d1635545464:localhost] 2022-06-12 22:40:18 | [Mutex] received everything. 2022-06-12 22:40:18 | [Mutex] isItemNotified: received:node:d57ee07c-90f8-4351-800e-3d1635545464:localhost:node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d:Node bc5a4800-b6bc-40a7-8cb8-1b1f743b109d :: false 2022-06-12 22:40:18 | [Mutex] waiting for: [received:nodes:1b3852f8-b453-4994-b818-259a64e389d9:localhost] 2022-06-12 22:40:18 | [Mutex] received everything. 2022-06-12 22:40:18 | [Mutex] isItemNotified: received:node:1b3852f8-b453-4994-b818-259a64e389d9:localhost:node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d:Node bc5a4800-b6bc-40a7-8cb8-1b1f743b109d :: false |
publishItemsToNodes | 0.186s |
2022-06-12 22:40:15 |
2022-06-12 22:40:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:15 | ------------------------------------ 2022-06-12 22:40:15 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d</node><item-id>item-244f7bdd-9498-4919-983b-46681742bee2</item-id><entry><test>item-244f7bdd-9498-4919-983b-46681742bee2</test></entry></data> 2022-06-12 22:40: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-244f7bdd-9498-4919-983b-46681742bee2</value></item-id></result> 2022-06-12 22:40:15 | [Mutex] waiting for: [published:item:notifieditem-244f7bdd-9498-4919-983b-46681742bee2:admin@test-domain.com] 2022-06-12 22:40:15 | [Mutex] received everything. 2022-06-12 22:40:15 | [Mutex] isItemNotified: published:item:notifieditem-244f7bdd-9498-4919-983b-46681742bee2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2022-06-12 22:40:15 |
2022-06-12 22:40:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:15 | ------------------------------------ 2022-06-12 22:40:15 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d</node><item-id>item-244f7bdd-9498-4919-983b-46681742bee2</item-id></data> 2022-06-12 22:40:16 | 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-244f7bdd-9498-4919-983b-46681742bee2</value></item-id></result> 2022-06-12 22:40:16 | [Mutex] received everything. 2022-06-12 22:40:16 | [Mutex] isItemNotified: retracted:item:notifieditem-244f7bdd-9498-4919-983b-46681742bee2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.244s |
2022-06-12 22:40:15 |
2022-06-12 22:40:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:15 | ------------------------------------ 2022-06-12 22:40:15 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d</node><item-id>item-244f7bdd-9498-4919-983b-46681742bee2</item-id></data> 2022-06-12 22:40: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-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d</value></node><item-id type="text-single" label="Item ID"><value>item-244f7bdd-9498-4919-983b-46681742bee2</value></item-id><item type="text-multi" label="Item"><value><item id="item-244f7bdd-9498-4919-983b-46681742bee2"><test>item-244f7bdd-9498-4919-983b-46681742bee2</test></item></value></item></result> 2022-06-12 22:40:15 | [Mutex] notify: [retrieved:item:item-244f7bdd-9498-4919-983b-46681742bee2:payload-matches:true:localhost] 2022-06-12 22:40:15 | [Mutex] received everything. 2022-06-12 22:40:15 | [Mutex] isItemNotified: retrieved:item:item-244f7bdd-9498-4919-983b-46681742bee2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-12 22:40:15 |
2022-06-12 22:40:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:15 | ------------------------------------ 2022-06-12 22:40:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-12 22:40: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-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d</value><value>node-30012a97-e008-4924-ab51-b48cb740d846</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-12 22:40:15 |
2022-06-12 22:40:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:15 | ------------------------------------ 2022-06-12 22:40: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-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d)</node-pattern></data> 2022-06-12 22:40:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.115s |
2022-06-12 22:40:14 |
2022-06-12 22:40:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:14 | ------------------------------------ 2022-06-12 22:40:14 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-12 22:40: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.147s |
2022-06-12 22:40:16 |
2022-06-12 22:40:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:40:16 | ------------------------------------ 2022-06-12 22:40:16 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bc5a4800-b6bc-40a7-8cb8-1b1f743b109d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-12 22:40:16 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |