Test duration : 10.275s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.125s |
2022-02-16 21:46:31 |
2022-02-16 21:46:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:31 | ------------------------------------ 2022-02-16 21:46:31 | [Mutex] waiting for: [configured:node:node-2d4a74a0-77e8-4109-9379-b50674ddbd74:node-5f62b448-ae05-46e1-9272-7a636c3cb5a5] 2022-02-16 21:46:31 | [Mutex] received everything. 2022-02-16 21:46:31 | [Mutex] isItemNotified: configured:node:node-2d4a74a0-77e8-4109-9379-b50674ddbd74:node-5f62b448-ae05-46e1-9272-7a636c3cb5a5 :: true 2022-02-16 21:46:32 | [Mutex] waiting for: [received:nodes:36013ac9-4c2d-4c47-9ade-bcce3cdb7344:localhost] 2022-02-16 21:46:32 | [Mutex] received everything. 2022-02-16 21:46:32 | [Mutex] isItemNotified: received:node:36013ac9-4c2d-4c47-9ade-bcce3cdb7344:localhost:node-2d4a74a0-77e8-4109-9379-b50674ddbd74:Node 2d4a74a0-77e8-4109-9379-b50674ddbd74 :: true 2022-02-16 21:46:32 | [Mutex] waiting for: [received:nodes:ca109112-6312-4b7b-b00f-3c2114bb2865:localhost] 2022-02-16 21:46:32 | [Mutex] waiting for: [received:nodes:ca109112-6312-4b7b-b00f-3c2114bb2865:localhost] 2022-02-16 21:46:32 | [Mutex] waiting for: [received:nodes:ca109112-6312-4b7b-b00f-3c2114bb2865:localhost] 2022-02-16 21:46:32 | [Mutex] received everything. 2022-02-16 21:46:32 | [Mutex] isItemNotified: received:node:ca109112-6312-4b7b-b00f-3c2114bb2865:localhost:node-2d4a74a0-77e8-4109-9379-b50674ddbd74:Node 2d4a74a0-77e8-4109-9379-b50674ddbd74 :: false |
createNodes | 1.536s |
2022-02-16 21:46:28 |
2022-02-16 21:46:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:28 | ------------------------------------ 2022-02-16 21:46:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2d4a74a0-77e8-4109-9379-b50674ddbd74</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2d4a74a0-77e8-4109-9379-b50674ddbd74</title></pubsub></data> 2022-02-16 21:46:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 21:46:30 | [Mutex] waiting for: [received:nodes:0437ab94-5513-475c-8bf1-d6ec6e084ff9:localhost] 2022-02-16 21:46:30 | [Mutex] received everything. 2022-02-16 21:46:30 | [Mutex] isItemNotified: received:node:0437ab94-5513-475c-8bf1-d6ec6e084ff9:localhost:node-2d4a74a0-77e8-4109-9379-b50674ddbd74:Node 2d4a74a0-77e8-4109-9379-b50674ddbd74 :: true |
createSubnodes | 1.034s |
2022-02-16 21:46:30 |
2022-02-16 21:46:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:30 | ------------------------------------ 2022-02-16 21:46:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5f62b448-ae05-46e1-9272-7a636c3cb5a5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5f62b448-ae05-46e1-9272-7a636c3cb5a5</title></pubsub></data> 2022-02-16 21:46:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 21:46:31 | [Mutex] waiting for: [received:nodes:57ad9226-ce71-40cc-8a8c-09bc8df7687b:localhost] 2022-02-16 21:46:31 | [Mutex] waiting for: [received:nodes:57ad9226-ce71-40cc-8a8c-09bc8df7687b:localhost] 2022-02-16 21:46:31 | [Mutex] waiting for: [received:nodes:57ad9226-ce71-40cc-8a8c-09bc8df7687b:localhost] 2022-02-16 21:46:31 | [Mutex] waiting for: [received:nodes:57ad9226-ce71-40cc-8a8c-09bc8df7687b:localhost] 2022-02-16 21:46:31 | [Mutex] received everything. 2022-02-16 21:46:31 | [Mutex] isItemNotified: received:node:57ad9226-ce71-40cc-8a8c-09bc8df7687b:localhost:node-5f62b448-ae05-46e1-9272-7a636c3cb5a5:Node 5f62b448-ae05-46e1-9272-7a636c3cb5a5 :: true |
deleteNodes | 1.032s |
2022-02-16 21:46:37 |
2022-02-16 21:46:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:37 | ------------------------------------ 2022-02-16 21:46:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5f62b448-ae05-46e1-9272-7a636c3cb5a5</node></data> 2022-02-16 21:46:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 21:46:38 | [Mutex] waiting for: [received:nodes:61631288-4cd2-44fc-b872-3fa92c98bafd:localhost] 2022-02-16 21:46:38 | [Mutex] received everything. 2022-02-16 21:46:38 | [Mutex] isItemNotified: received:node:61631288-4cd2-44fc-b872-3fa92c98bafd:localhost:node-5f62b448-ae05-46e1-9272-7a636c3cb5a5:Node 5f62b448-ae05-46e1-9272-7a636c3cb5a5 :: false |
deleteSubnodes | 1.162s |
2022-02-16 21:46:36 |
2022-02-16 21:46:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:36 | ------------------------------------ 2022-02-16 21:46:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2d4a74a0-77e8-4109-9379-b50674ddbd74</node></data> 2022-02-16 21:46:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 21:46:37 | [Mutex] waiting for: [received:nodes:cec5077a-2564-4cd4-82bc-962c8d6717ca:localhost] 2022-02-16 21:46:37 | [Mutex] received everything. 2022-02-16 21:46:37 | [Mutex] isItemNotified: received:node:cec5077a-2564-4cd4-82bc-962c8d6717ca:localhost:node-2d4a74a0-77e8-4109-9379-b50674ddbd74:Node 2d4a74a0-77e8-4109-9379-b50674ddbd74 :: false 2022-02-16 21:46:37 | [Mutex] waiting for: [received:nodes:5875e183-030a-4c89-8f3e-56d26cb20c76:localhost] 2022-02-16 21:46:37 | [Mutex] received everything. 2022-02-16 21:46:37 | [Mutex] isItemNotified: received:node:5875e183-030a-4c89-8f3e-56d26cb20c76:localhost:node-2d4a74a0-77e8-4109-9379-b50674ddbd74:Node 2d4a74a0-77e8-4109-9379-b50674ddbd74 :: false |
publishItemsToNodes | 0.250s |
2022-02-16 21:46:33 |
2022-02-16 21:46:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:33 | ------------------------------------ 2022-02-16 21:46:33 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2d4a74a0-77e8-4109-9379-b50674ddbd74</node><item-id>item-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1</item-id><entry><test>item-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1</test></entry></data> 2022-02-16 21:46:34 | 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-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1</value></item-id></result> 2022-02-16 21:46:34 | [Mutex] waiting for: [published:item:notifieditem-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1:admin@test-domain.com] 2022-02-16 21:46:34 | [Mutex] received everything. 2022-02-16 21:46:34 | [Mutex] isItemNotified: published:item:notifieditem-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.344s |
2022-02-16 21:46:34 |
2022-02-16 21:46:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:34 | ------------------------------------ 2022-02-16 21:46:34 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2d4a74a0-77e8-4109-9379-b50674ddbd74</node><item-id>item-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1</item-id></data> 2022-02-16 21:46:34 | 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-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1</value></item-id></result> 2022-02-16 21:46:34 | [Mutex] received everything. 2022-02-16 21:46:34 | [Mutex] isItemNotified: retracted:item:notifieditem-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.315s |
2022-02-16 21:46:34 |
2022-02-16 21:46:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:34 | ------------------------------------ 2022-02-16 21:46:34 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2d4a74a0-77e8-4109-9379-b50674ddbd74</node><item-id>item-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1</item-id></data> 2022-02-16 21:46:34 | 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-2d4a74a0-77e8-4109-9379-b50674ddbd74</value></node><item-id type="text-single" label="Item ID"><value>item-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1</value></item-id><item type="text-multi" label="Item"><value><item id="item-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1"><test>item-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1</test></item></value></item></result> 2022-02-16 21:46:34 | [Mutex] notify: [retrieved:item:item-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1:payload-matches:true:localhost] 2022-02-16 21:46:34 | [Mutex] received everything. 2022-02-16 21:46:34 | [Mutex] isItemNotified: retrieved:item:item-9c9efa1f-0755-48f0-9443-5fa1b60a0ea1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2022-02-16 21:46:34 |
2022-02-16 21:46:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:34 | ------------------------------------ 2022-02-16 21:46:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-16 21:46:34 | 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-2d4a74a0-77e8-4109-9379-b50674ddbd74</value><value>node-5f62b448-ae05-46e1-9272-7a636c3cb5a5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.066s |
2022-02-16 21:46:34 |
2022-02-16 21:46:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:34 | ------------------------------------ 2022-02-16 21:46:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2d4a74a0-77e8-4109-9379-b50674ddbd74)</node-pattern></data> 2022-02-16 21:46:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.204s |
2022-02-16 21:46:32 |
2022-02-16 21:46:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:32 | ------------------------------------ 2022-02-16 21:46:32 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2d4a74a0-77e8-4109-9379-b50674ddbd74</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-16 21:46:32 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.306s |
2022-02-16 21:46:34 |
2022-02-16 21:46:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 21:46:34 | ------------------------------------ 2022-02-16 21:46:34 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2d4a74a0-77e8-4109-9379-b50674ddbd74</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-16 21:46:35 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |