Test duration : 9.363s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2023-01-10 21:47:03 |
2023-01-10 21:47:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:03 | ------------------------------------ 2023-01-10 21:47:03 | [Mutex] waiting for: [configured:node:node-e8e871f9-6750-4604-8b0b-2349fd800a21:node-2312b6f0-0620-4635-aa58-b1ae0b64b631] 2023-01-10 21:47:03 | [Mutex] received everything. 2023-01-10 21:47:03 | [Mutex] isItemNotified: configured:node:node-e8e871f9-6750-4604-8b0b-2349fd800a21:node-2312b6f0-0620-4635-aa58-b1ae0b64b631 :: true 2023-01-10 21:47:04 | [Mutex] waiting for: [received:nodes:1545afc3-e480-4a16-9941-5a06469d5e0c:localhost] 2023-01-10 21:47:04 | [Mutex] received everything. 2023-01-10 21:47:04 | [Mutex] isItemNotified: received:node:1545afc3-e480-4a16-9941-5a06469d5e0c:localhost:node-e8e871f9-6750-4604-8b0b-2349fd800a21:Node e8e871f9-6750-4604-8b0b-2349fd800a21 :: true 2023-01-10 21:47:04 | [Mutex] waiting for: [received:nodes:56430b42-6ab2-4f9c-bb07-864a559571f1:localhost] 2023-01-10 21:47:05 | [Mutex] received everything. 2023-01-10 21:47:05 | [Mutex] isItemNotified: received:node:56430b42-6ab2-4f9c-bb07-864a559571f1:localhost:node-e8e871f9-6750-4604-8b0b-2349fd800a21:Node e8e871f9-6750-4604-8b0b-2349fd800a21 :: false |
createNodes | 1.339s |
2023-01-10 21:47:01 |
2023-01-10 21:47:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:01 | ------------------------------------ 2023-01-10 21:47:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e8e871f9-6750-4604-8b0b-2349fd800a21</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e8e871f9-6750-4604-8b0b-2349fd800a21</title></pubsub></data> 2023-01-10 21:47:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 21:47:02 | [Mutex] waiting for: [received:nodes:84f81360-a1ed-4059-a6cf-cb84233f5b0d:localhost] 2023-01-10 21:47:02 | [Mutex] waiting for: [received:nodes:84f81360-a1ed-4059-a6cf-cb84233f5b0d:localhost] 2023-01-10 21:47:02 | [Mutex] waiting for: [received:nodes:84f81360-a1ed-4059-a6cf-cb84233f5b0d:localhost] 2023-01-10 21:47:02 | [Mutex] waiting for: [received:nodes:84f81360-a1ed-4059-a6cf-cb84233f5b0d:localhost] 2023-01-10 21:47:02 | [Mutex] received everything. 2023-01-10 21:47:02 | [Mutex] isItemNotified: received:node:84f81360-a1ed-4059-a6cf-cb84233f5b0d:localhost:node-e8e871f9-6750-4604-8b0b-2349fd800a21:Node e8e871f9-6750-4604-8b0b-2349fd800a21 :: true |
createSubnodes | 1.028s |
2023-01-10 21:47:02 |
2023-01-10 21:47:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:02 | ------------------------------------ 2023-01-10 21:47:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2312b6f0-0620-4635-aa58-b1ae0b64b631</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2312b6f0-0620-4635-aa58-b1ae0b64b631</title></pubsub></data> 2023-01-10 21:47:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 21:47:03 | [Mutex] waiting for: [received:nodes:0adaa1af-d346-44c4-b979-94dfe430bff0:localhost] 2023-01-10 21:47:03 | [Mutex] waiting for: [received:nodes:0adaa1af-d346-44c4-b979-94dfe430bff0:localhost] 2023-01-10 21:47:03 | [Mutex] waiting for: [received:nodes:0adaa1af-d346-44c4-b979-94dfe430bff0:localhost] 2023-01-10 21:47:03 | [Mutex] waiting for: [received:nodes:0adaa1af-d346-44c4-b979-94dfe430bff0:localhost] 2023-01-10 21:47:03 | [Mutex] received everything. 2023-01-10 21:47:03 | [Mutex] isItemNotified: received:node:0adaa1af-d346-44c4-b979-94dfe430bff0:localhost:node-2312b6f0-0620-4635-aa58-b1ae0b64b631:Node 2312b6f0-0620-4635-aa58-b1ae0b64b631 :: true |
deleteNodes | 1.023s |
2023-01-10 21:47:09 |
2023-01-10 21:47:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:09 | ------------------------------------ 2023-01-10 21:47:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2312b6f0-0620-4635-aa58-b1ae0b64b631</node></data> 2023-01-10 21:47:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 21:47:10 | [Mutex] waiting for: [received:nodes:8ef32a62-2856-4d82-996c-33191e8bf107:localhost] 2023-01-10 21:47:10 | [Mutex] waiting for: [received:nodes:8ef32a62-2856-4d82-996c-33191e8bf107:localhost] 2023-01-10 21:47:10 | [Mutex] waiting for: [received:nodes:8ef32a62-2856-4d82-996c-33191e8bf107:localhost] 2023-01-10 21:47:10 | [Mutex] received everything. 2023-01-10 21:47:10 | [Mutex] isItemNotified: received:node:8ef32a62-2856-4d82-996c-33191e8bf107:localhost:node-2312b6f0-0620-4635-aa58-b1ae0b64b631:Node 2312b6f0-0620-4635-aa58-b1ae0b64b631 :: false |
deleteSubnodes | 1.116s |
2023-01-10 21:47:08 |
2023-01-10 21:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:08 | ------------------------------------ 2023-01-10 21:47:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e8e871f9-6750-4604-8b0b-2349fd800a21</node></data> 2023-01-10 21:47:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 21:47:09 | [Mutex] waiting for: [received:nodes:630cc0d6-16e4-4dd8-b26c-997a79a21105:localhost] 2023-01-10 21:47:09 | [Mutex] waiting for: [received:nodes:630cc0d6-16e4-4dd8-b26c-997a79a21105:localhost] 2023-01-10 21:47:09 | [Mutex] waiting for: [received:nodes:630cc0d6-16e4-4dd8-b26c-997a79a21105:localhost] 2023-01-10 21:47:09 | [Mutex] waiting for: [received:nodes:630cc0d6-16e4-4dd8-b26c-997a79a21105:localhost] 2023-01-10 21:47:09 | [Mutex] received everything. 2023-01-10 21:47:09 | [Mutex] isItemNotified: received:node:630cc0d6-16e4-4dd8-b26c-997a79a21105:localhost:node-e8e871f9-6750-4604-8b0b-2349fd800a21:Node e8e871f9-6750-4604-8b0b-2349fd800a21 :: false 2023-01-10 21:47:09 | [Mutex] waiting for: [received:nodes:10a65bd7-4ef6-4f8e-bf49-8e956af00564:localhost] 2023-01-10 21:47:09 | [Mutex] received everything. 2023-01-10 21:47:09 | [Mutex] isItemNotified: received:node:10a65bd7-4ef6-4f8e-bf49-8e956af00564:localhost:node-e8e871f9-6750-4604-8b0b-2349fd800a21:Node e8e871f9-6750-4604-8b0b-2349fd800a21 :: false |
publishItemsToNodes | 0.290s |
2023-01-10 21:47:06 |
2023-01-10 21:47:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:06 | ------------------------------------ 2023-01-10 21:47:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e8e871f9-6750-4604-8b0b-2349fd800a21</node><item-id>item-053db9c6-3e9a-4739-9070-23f026bffc2c</item-id><entry><test>item-053db9c6-3e9a-4739-9070-23f026bffc2c</test></entry></data> 2023-01-10 21:47:06 | 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-053db9c6-3e9a-4739-9070-23f026bffc2c</value></item-id></result> 2023-01-10 21:47:06 | [Mutex] received everything. 2023-01-10 21:47:06 | [Mutex] isItemNotified: published:item:notifieditem-053db9c6-3e9a-4739-9070-23f026bffc2c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.232s |
2023-01-10 21:47:06 |
2023-01-10 21:47:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:06 | ------------------------------------ 2023-01-10 21:47:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e8e871f9-6750-4604-8b0b-2349fd800a21</node><item-id>item-053db9c6-3e9a-4739-9070-23f026bffc2c</item-id></data> 2023-01-10 21:47:07 | 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-053db9c6-3e9a-4739-9070-23f026bffc2c</value></item-id></result> 2023-01-10 21:47:07 | [Mutex] received everything. 2023-01-10 21:47:07 | [Mutex] isItemNotified: retracted:item:notifieditem-053db9c6-3e9a-4739-9070-23f026bffc2c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.259s |
2023-01-10 21:47:06 |
2023-01-10 21:47:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:06 | ------------------------------------ 2023-01-10 21:47:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e8e871f9-6750-4604-8b0b-2349fd800a21</node><item-id>item-053db9c6-3e9a-4739-9070-23f026bffc2c</item-id></data> 2023-01-10 21:47:06 | 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-e8e871f9-6750-4604-8b0b-2349fd800a21</value></node><item-id type="text-single" label="Item ID"><value>item-053db9c6-3e9a-4739-9070-23f026bffc2c</value></item-id><item type="text-multi" label="Item"><value><item id="item-053db9c6-3e9a-4739-9070-23f026bffc2c"><test>item-053db9c6-3e9a-4739-9070-23f026bffc2c</test></item></value></item></result> 2023-01-10 21:47:06 | [Mutex] notify: [retrieved:item:item-053db9c6-3e9a-4739-9070-23f026bffc2c:payload-matches:true:localhost] 2023-01-10 21:47:06 | [Mutex] received everything. 2023-01-10 21:47:06 | [Mutex] isItemNotified: retrieved:item:item-053db9c6-3e9a-4739-9070-23f026bffc2c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-01-10 21:47:06 |
2023-01-10 21:47:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:06 | ------------------------------------ 2023-01-10 21:47:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-01-10 21:47:06 | 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-e8e871f9-6750-4604-8b0b-2349fd800a21</value><value>node-2312b6f0-0620-4635-aa58-b1ae0b64b631</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-01-10 21:47:06 |
2023-01-10 21:47:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:06 | ------------------------------------ 2023-01-10 21:47:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e8e871f9-6750-4604-8b0b-2349fd800a21)</node-pattern></data> 2023-01-10 21:47:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2023-01-10 21:47:05 |
2023-01-10 21:47:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:05 | ------------------------------------ 2023-01-10 21:47:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e8e871f9-6750-4604-8b0b-2349fd800a21</node><jids><value>admin@test-domain.com</value></jids></data> 2023-01-10 21:47:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.198s |
2023-01-10 21:47:07 |
2023-01-10 21:47:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:47:07 | ------------------------------------ 2023-01-10 21:47:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e8e871f9-6750-4604-8b0b-2349fd800a21</node><jids><value>admin@test-domain.com</value></jids></data> 2023-01-10 21:47:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |