Test duration : 9.475s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2022-08-30 22:34:26 |
2022-08-30 22:34:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:26 | ------------------------------------ 2022-08-30 22:34:26 | [Mutex] waiting for: [configured:node:node-853e54c4-7650-46f4-a52e-b5cfe7a32d47:node-2d78f557-d768-40db-b03b-5e7972496393] 2022-08-30 22:34:26 | [Mutex] received everything. 2022-08-30 22:34:26 | [Mutex] isItemNotified: configured:node:node-853e54c4-7650-46f4-a52e-b5cfe7a32d47:node-2d78f557-d768-40db-b03b-5e7972496393 :: true 2022-08-30 22:34:27 | [Mutex] waiting for: [received:nodes:1de5d087-5752-4da8-ac64-5ef0f5729b5e:localhost] 2022-08-30 22:34:27 | [Mutex] received everything. 2022-08-30 22:34:27 | [Mutex] isItemNotified: received:node:1de5d087-5752-4da8-ac64-5ef0f5729b5e:localhost:node-853e54c4-7650-46f4-a52e-b5cfe7a32d47:Node 853e54c4-7650-46f4-a52e-b5cfe7a32d47 :: true 2022-08-30 22:34:27 | [Mutex] waiting for: [received:nodes:b28c5bbf-8e62-4a0b-9d86-8ae573d485da:localhost] 2022-08-30 22:34:27 | [Mutex] waiting for: [received:nodes:b28c5bbf-8e62-4a0b-9d86-8ae573d485da:localhost] 2022-08-30 22:34:27 | [Mutex] waiting for: [received:nodes:b28c5bbf-8e62-4a0b-9d86-8ae573d485da:localhost] 2022-08-30 22:34:27 | [Mutex] waiting for: [received:nodes:b28c5bbf-8e62-4a0b-9d86-8ae573d485da:localhost] 2022-08-30 22:34:27 | [Mutex] received everything. 2022-08-30 22:34:27 | [Mutex] isItemNotified: received:node:b28c5bbf-8e62-4a0b-9d86-8ae573d485da:localhost:node-853e54c4-7650-46f4-a52e-b5cfe7a32d47:Node 853e54c4-7650-46f4-a52e-b5cfe7a32d47 :: false |
createNodes | 1.509s |
2022-08-30 22:34:23 |
2022-08-30 22:34:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:23 | ------------------------------------ 2022-08-30 22:34:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-853e54c4-7650-46f4-a52e-b5cfe7a32d47</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 853e54c4-7650-46f4-a52e-b5cfe7a32d47</title></pubsub></data> 2022-08-30 22:34:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 22:34:25 | [Mutex] waiting for: [received:nodes:8a1c4116-7b66-4b49-ab94-c978d73e56eb:localhost] 2022-08-30 22:34:25 | [Mutex] received everything. 2022-08-30 22:34:25 | [Mutex] isItemNotified: received:node:8a1c4116-7b66-4b49-ab94-c978d73e56eb:localhost:node-853e54c4-7650-46f4-a52e-b5cfe7a32d47:Node 853e54c4-7650-46f4-a52e-b5cfe7a32d47 :: true |
createSubnodes | 1.021s |
2022-08-30 22:34:25 |
2022-08-30 22:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:25 | ------------------------------------ 2022-08-30 22:34:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2d78f557-d768-40db-b03b-5e7972496393</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2d78f557-d768-40db-b03b-5e7972496393</title></pubsub></data> 2022-08-30 22:34:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 22:34:26 | [Mutex] waiting for: [received:nodes:f5abedfd-d3eb-443e-9bf6-11c3e8dd3aca:localhost] 2022-08-30 22:34:26 | [Mutex] waiting for: [received:nodes:f5abedfd-d3eb-443e-9bf6-11c3e8dd3aca:localhost] 2022-08-30 22:34:26 | [Mutex] waiting for: [received:nodes:f5abedfd-d3eb-443e-9bf6-11c3e8dd3aca:localhost] 2022-08-30 22:34:26 | [Mutex] received everything. 2022-08-30 22:34:26 | [Mutex] isItemNotified: received:node:f5abedfd-d3eb-443e-9bf6-11c3e8dd3aca:localhost:node-2d78f557-d768-40db-b03b-5e7972496393:Node 2d78f557-d768-40db-b03b-5e7972496393 :: true |
deleteNodes | 1.016s |
2022-08-30 22:34:31 |
2022-08-30 22:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:31 | ------------------------------------ 2022-08-30 22:34:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2d78f557-d768-40db-b03b-5e7972496393</node></data> 2022-08-30 22:34:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 22:34:32 | [Mutex] waiting for: [received:nodes:584d946a-1ee9-4a7a-b016-6c57b8fdbc97:localhost] 2022-08-30 22:34:32 | [Mutex] waiting for: [received:nodes:584d946a-1ee9-4a7a-b016-6c57b8fdbc97:localhost] 2022-08-30 22:34:32 | [Mutex] received everything. 2022-08-30 22:34:32 | [Mutex] isItemNotified: received:node:584d946a-1ee9-4a7a-b016-6c57b8fdbc97:localhost:node-2d78f557-d768-40db-b03b-5e7972496393:Node 2d78f557-d768-40db-b03b-5e7972496393 :: false |
deleteSubnodes | 1.123s |
2022-08-30 22:34:30 |
2022-08-30 22:34:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:30 | ------------------------------------ 2022-08-30 22:34:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-853e54c4-7650-46f4-a52e-b5cfe7a32d47</node></data> 2022-08-30 22:34:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 22:34:31 | [Mutex] waiting for: [received:nodes:36fcf34b-ab94-414c-bc60-e9a29542c977:localhost] 2022-08-30 22:34:31 | [Mutex] waiting for: [received:nodes:36fcf34b-ab94-414c-bc60-e9a29542c977:localhost] 2022-08-30 22:34:31 | [Mutex] waiting for: [received:nodes:36fcf34b-ab94-414c-bc60-e9a29542c977:localhost] 2022-08-30 22:34:31 | [Mutex] waiting for: [received:nodes:36fcf34b-ab94-414c-bc60-e9a29542c977:localhost] 2022-08-30 22:34:31 | [Mutex] received everything. 2022-08-30 22:34:31 | [Mutex] isItemNotified: received:node:36fcf34b-ab94-414c-bc60-e9a29542c977:localhost:node-853e54c4-7650-46f4-a52e-b5cfe7a32d47:Node 853e54c4-7650-46f4-a52e-b5cfe7a32d47 :: false 2022-08-30 22:34:31 | [Mutex] waiting for: [received:nodes:04b4bfbb-6025-4f5e-8fbd-b20f90231c16:localhost] 2022-08-30 22:34:31 | [Mutex] received everything. 2022-08-30 22:34:31 | [Mutex] isItemNotified: received:node:04b4bfbb-6025-4f5e-8fbd-b20f90231c16:localhost:node-853e54c4-7650-46f4-a52e-b5cfe7a32d47:Node 853e54c4-7650-46f4-a52e-b5cfe7a32d47 :: false |
publishItemsToNodes | 0.254s |
2022-08-30 22:34:28 |
2022-08-30 22:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:28 | ------------------------------------ 2022-08-30 22:34:28 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-853e54c4-7650-46f4-a52e-b5cfe7a32d47</node><item-id>item-40ff2be3-6126-4c89-8610-12c20d112f1e</item-id><entry><test>item-40ff2be3-6126-4c89-8610-12c20d112f1e</test></entry></data> 2022-08-30 22:34:28 | 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-40ff2be3-6126-4c89-8610-12c20d112f1e</value></item-id></result> 2022-08-30 22:34:28 | [Mutex] received everything. 2022-08-30 22:34:28 | [Mutex] isItemNotified: published:item:notifieditem-40ff2be3-6126-4c89-8610-12c20d112f1e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.191s |
2022-08-30 22:34:29 |
2022-08-30 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:29 | ------------------------------------ 2022-08-30 22:34:29 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-853e54c4-7650-46f4-a52e-b5cfe7a32d47</node><item-id>item-40ff2be3-6126-4c89-8610-12c20d112f1e</item-id></data> 2022-08-30 22:34:29 | 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-40ff2be3-6126-4c89-8610-12c20d112f1e</value></item-id></result> 2022-08-30 22:34:29 | [Mutex] received everything. 2022-08-30 22:34:29 | [Mutex] isItemNotified: retracted:item:notifieditem-40ff2be3-6126-4c89-8610-12c20d112f1e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.265s |
2022-08-30 22:34:28 |
2022-08-30 22:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:28 | ------------------------------------ 2022-08-30 22:34:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-853e54c4-7650-46f4-a52e-b5cfe7a32d47</node><item-id>item-40ff2be3-6126-4c89-8610-12c20d112f1e</item-id></data> 2022-08-30 22:34:29 | 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-853e54c4-7650-46f4-a52e-b5cfe7a32d47</value></node><item-id type="text-single" label="Item ID"><value>item-40ff2be3-6126-4c89-8610-12c20d112f1e</value></item-id><item type="text-multi" label="Item"><value><item id="item-40ff2be3-6126-4c89-8610-12c20d112f1e"><test>item-40ff2be3-6126-4c89-8610-12c20d112f1e</test></item></value></item></result> 2022-08-30 22:34:29 | [Mutex] notify: [retrieved:item:item-40ff2be3-6126-4c89-8610-12c20d112f1e:payload-matches:true:localhost] 2022-08-30 22:34:29 | [Mutex] received everything. 2022-08-30 22:34:29 | [Mutex] isItemNotified: retrieved:item:item-40ff2be3-6126-4c89-8610-12c20d112f1e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-30 22:34:29 |
2022-08-30 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:29 | ------------------------------------ 2022-08-30 22:34:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-30 22:34:29 | 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-2d78f557-d768-40db-b03b-5e7972496393</value><value>node-853e54c4-7650-46f4-a52e-b5cfe7a32d47</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-30 22:34:29 |
2022-08-30 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:29 | ------------------------------------ 2022-08-30 22:34:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-853e54c4-7650-46f4-a52e-b5cfe7a32d47)</node-pattern></data> 2022-08-30 22:34:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2022-08-30 22:34:27 |
2022-08-30 22:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:27 | ------------------------------------ 2022-08-30 22:34:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-853e54c4-7650-46f4-a52e-b5cfe7a32d47</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-30 22:34:27 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.131s |
2022-08-30 22:34:29 |
2022-08-30 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:34:29 | ------------------------------------ 2022-08-30 22:34:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-853e54c4-7650-46f4-a52e-b5cfe7a32d47</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-30 22:34:29 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |