Test duration : 9.778s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2020-09-25 22:35:34 |
2020-09-25 22:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:34 | ------------------------------------ 2020-09-25 22:35:34 | [Mutex] waiting for: [configured:node:node-daaa23fb-e17e-4b68-afa4-731fce4a88a7:node-77800d24-40b7-40a0-8434-4f28991d128c] 2020-09-25 22:35:34 | [Mutex] received everything. 2020-09-25 22:35:34 | [Mutex] isItemNotified: configured:node:node-daaa23fb-e17e-4b68-afa4-731fce4a88a7:node-77800d24-40b7-40a0-8434-4f28991d128c :: true 2020-09-25 22:35:35 | [Mutex] waiting for: [received:nodes:92bbfeb0-e102-4fc5-9b9f-54808ea19a38:localhost] 2020-09-25 22:35:35 | [Mutex] received everything. 2020-09-25 22:35:35 | [Mutex] isItemNotified: received:node:92bbfeb0-e102-4fc5-9b9f-54808ea19a38:localhost:node-daaa23fb-e17e-4b68-afa4-731fce4a88a7:Node daaa23fb-e17e-4b68-afa4-731fce4a88a7 :: true 2020-09-25 22:35:35 | [Mutex] waiting for: [received:nodes:6d436598-1847-4615-b95e-3fffe87aadeb:localhost] 2020-09-25 22:35:35 | [Mutex] received everything. 2020-09-25 22:35:35 | [Mutex] isItemNotified: received:node:6d436598-1847-4615-b95e-3fffe87aadeb:localhost:node-daaa23fb-e17e-4b68-afa4-731fce4a88a7:Node daaa23fb-e17e-4b68-afa4-731fce4a88a7 :: false |
createNodes | 1.461s |
2020-09-25 22:35:32 |
2020-09-25 22:35:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:32 | ------------------------------------ 2020-09-25 22:35:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-daaa23fb-e17e-4b68-afa4-731fce4a88a7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node daaa23fb-e17e-4b68-afa4-731fce4a88a7</title></pubsub></data> 2020-09-25 22:35:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 22:35:33 | [Mutex] waiting for: [received:nodes:6f28d1ff-d6b6-4957-8758-0756668c2c7f:localhost] 2020-09-25 22:35:33 | [Mutex] waiting for: [received:nodes:6f28d1ff-d6b6-4957-8758-0756668c2c7f:localhost] 2020-09-25 22:35:33 | [Mutex] waiting for: [received:nodes:6f28d1ff-d6b6-4957-8758-0756668c2c7f:localhost] 2020-09-25 22:35:33 | [Mutex] received everything. 2020-09-25 22:35:33 | [Mutex] isItemNotified: received:node:6f28d1ff-d6b6-4957-8758-0756668c2c7f:localhost:node-daaa23fb-e17e-4b68-afa4-731fce4a88a7:Node daaa23fb-e17e-4b68-afa4-731fce4a88a7 :: true |
createSubnodes | 1.020s |
2020-09-25 22:35:33 |
2020-09-25 22:35:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:33 | ------------------------------------ 2020-09-25 22:35:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-77800d24-40b7-40a0-8434-4f28991d128c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 77800d24-40b7-40a0-8434-4f28991d128c</title></pubsub></data> 2020-09-25 22:35:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 22:35:34 | [Mutex] waiting for: [received:nodes:534d293e-a7bd-4552-97ec-8e6a6f1f0394:localhost] 2020-09-25 22:35:34 | [Mutex] received everything. 2020-09-25 22:35:34 | [Mutex] isItemNotified: received:node:534d293e-a7bd-4552-97ec-8e6a6f1f0394:localhost:node-77800d24-40b7-40a0-8434-4f28991d128c:Node 77800d24-40b7-40a0-8434-4f28991d128c :: true |
deleteNodes | 1.019s |
2020-09-25 22:35:39 |
2020-09-25 22:35:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:39 | ------------------------------------ 2020-09-25 22:35:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-77800d24-40b7-40a0-8434-4f28991d128c</node></data> 2020-09-25 22:35:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 22:35:40 | [Mutex] waiting for: [received:nodes:0f8a8954-8235-4b3f-ac7e-49469585782c:localhost] 2020-09-25 22:35:40 | [Mutex] received everything. 2020-09-25 22:35:40 | [Mutex] isItemNotified: received:node:0f8a8954-8235-4b3f-ac7e-49469585782c:localhost:node-77800d24-40b7-40a0-8434-4f28991d128c:Node 77800d24-40b7-40a0-8434-4f28991d128c :: false |
deleteSubnodes | 1.098s |
2020-09-25 22:35:38 |
2020-09-25 22:35:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:38 | ------------------------------------ 2020-09-25 22:35:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-daaa23fb-e17e-4b68-afa4-731fce4a88a7</node></data> 2020-09-25 22:35:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 22:35:39 | [Mutex] waiting for: [received:nodes:2311b317-b0d3-4818-9772-be592c51941a:localhost] 2020-09-25 22:35:39 | [Mutex] received everything. 2020-09-25 22:35:39 | [Mutex] isItemNotified: received:node:2311b317-b0d3-4818-9772-be592c51941a:localhost:node-daaa23fb-e17e-4b68-afa4-731fce4a88a7:Node daaa23fb-e17e-4b68-afa4-731fce4a88a7 :: false 2020-09-25 22:35:39 | [Mutex] waiting for: [received:nodes:b9c36438-5ec1-4919-919f-ea81af699f9f:localhost] 2020-09-25 22:35:39 | [Mutex] received everything. 2020-09-25 22:35:39 | [Mutex] isItemNotified: received:node:b9c36438-5ec1-4919-919f-ea81af699f9f:localhost:node-daaa23fb-e17e-4b68-afa4-731fce4a88a7:Node daaa23fb-e17e-4b68-afa4-731fce4a88a7 :: false |
publishItemsToNodes | 0.194s |
2020-09-25 22:35:36 |
2020-09-25 22:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:36 | ------------------------------------ 2020-09-25 22:35:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-daaa23fb-e17e-4b68-afa4-731fce4a88a7</node><item-id>item-e0b72f03-1b64-4501-8d89-8aba9efd26b0</item-id><entry><test>item-e0b72f03-1b64-4501-8d89-8aba9efd26b0</test></entry></data> 2020-09-25 22:35:36 | 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-e0b72f03-1b64-4501-8d89-8aba9efd26b0</value></item-id></result> 2020-09-25 22:35:36 | [Mutex] received everything. 2020-09-25 22:35:36 | [Mutex] isItemNotified: published:item:notifieditem-e0b72f03-1b64-4501-8d89-8aba9efd26b0:admin@test-domain.com :: true |
retractItemsFromNodes | 0.227s |
2020-09-25 22:35:37 |
2020-09-25 22:35:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:37 | ------------------------------------ 2020-09-25 22:35:37 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-daaa23fb-e17e-4b68-afa4-731fce4a88a7</node><item-id>item-e0b72f03-1b64-4501-8d89-8aba9efd26b0</item-id></data> 2020-09-25 22:35:37 | 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-e0b72f03-1b64-4501-8d89-8aba9efd26b0</value></item-id></result> 2020-09-25 22:35:37 | [Mutex] received everything. 2020-09-25 22:35:37 | [Mutex] isItemNotified: retracted:item:notifieditem-e0b72f03-1b64-4501-8d89-8aba9efd26b0:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.244s |
2020-09-25 22:35:36 |
2020-09-25 22:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:36 | ------------------------------------ 2020-09-25 22:35:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-daaa23fb-e17e-4b68-afa4-731fce4a88a7</node><item-id>item-e0b72f03-1b64-4501-8d89-8aba9efd26b0</item-id></data> 2020-09-25 22:35:37 | 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-daaa23fb-e17e-4b68-afa4-731fce4a88a7</value></node><item-id type="text-single" label="Item ID"><value>item-e0b72f03-1b64-4501-8d89-8aba9efd26b0</value></item-id><item type="text-multi" label="Item"><value><item id="item-e0b72f03-1b64-4501-8d89-8aba9efd26b0"><test>item-e0b72f03-1b64-4501-8d89-8aba9efd26b0</test></item></value></item></result> 2020-09-25 22:35:37 | [Mutex] notify: [retrieved:item:item-e0b72f03-1b64-4501-8d89-8aba9efd26b0:payload-matches:true:localhost] 2020-09-25 22:35:37 | [Mutex] received everything. 2020-09-25 22:35:37 | [Mutex] isItemNotified: retrieved:item:item-e0b72f03-1b64-4501-8d89-8aba9efd26b0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-25 22:35:37 |
2020-09-25 22:35:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:37 | ------------------------------------ 2020-09-25 22:35:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-25 22:35:37 | 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-77800d24-40b7-40a0-8434-4f28991d128c</value><value>node-daaa23fb-e17e-4b68-afa4-731fce4a88a7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.063s |
2020-09-25 22:35:37 |
2020-09-25 22:35:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:37 | ------------------------------------ 2020-09-25 22:35:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-daaa23fb-e17e-4b68-afa4-731fce4a88a7)</node-pattern></data> 2020-09-25 22:35:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.128s |
2020-09-25 22:35:35 |
2020-09-25 22:35:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:35 | ------------------------------------ 2020-09-25 22:35:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-daaa23fb-e17e-4b68-afa4-731fce4a88a7</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-25 22:35:35 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.248s |
2020-09-25 22:35:37 |
2020-09-25 22:35:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:35:37 | ------------------------------------ 2020-09-25 22:35:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-daaa23fb-e17e-4b68-afa4-731fce4a88a7</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-25 22:35:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |