Test duration : 9.888s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.088s |
2020-10-04 22:30:13 |
2020-10-04 22:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:13 | ------------------------------------ 2020-10-04 22:30:13 | [Mutex] waiting for: [configured:node:node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f:node-8f0dc6f1-09e9-4746-882e-65549b7e11e0] 2020-10-04 22:30:13 | [Mutex] received everything. 2020-10-04 22:30:13 | [Mutex] isItemNotified: configured:node:node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f:node-8f0dc6f1-09e9-4746-882e-65549b7e11e0 :: true 2020-10-04 22:30:14 | [Mutex] waiting for: [received:nodes:66d92a4a-bb59-4331-972c-02cecf029cde:localhost] 2020-10-04 22:30:14 | [Mutex] received everything. 2020-10-04 22:30:14 | [Mutex] isItemNotified: received:node:66d92a4a-bb59-4331-972c-02cecf029cde:localhost:node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f:Node cbe375d2-3f53-4f7f-be7c-6dbebbae321f :: true 2020-10-04 22:30:14 | [Mutex] waiting for: [received:nodes:88f69d4d-f976-4d2d-a166-93675d6424c1:localhost] 2020-10-04 22:30:14 | [Mutex] received everything. 2020-10-04 22:30:14 | [Mutex] isItemNotified: received:node:88f69d4d-f976-4d2d-a166-93675d6424c1:localhost:node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f:Node cbe375d2-3f53-4f7f-be7c-6dbebbae321f :: false |
createNodes | 1.356s |
2020-10-04 22:30:11 |
2020-10-04 22:30:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:11 | ------------------------------------ 2020-10-04 22:30:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cbe375d2-3f53-4f7f-be7c-6dbebbae321f</title></pubsub></data> 2020-10-04 22:30:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-04 22:30:12 | [Mutex] waiting for: [received:nodes:3339b3c4-2916-449d-81cb-4dda8a63793b:localhost] 2020-10-04 22:30:12 | [Mutex] received everything. 2020-10-04 22:30:12 | [Mutex] isItemNotified: received:node:3339b3c4-2916-449d-81cb-4dda8a63793b:localhost:node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f:Node cbe375d2-3f53-4f7f-be7c-6dbebbae321f :: true |
createSubnodes | 1.021s |
2020-10-04 22:30:12 |
2020-10-04 22:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:12 | ------------------------------------ 2020-10-04 22:30:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8f0dc6f1-09e9-4746-882e-65549b7e11e0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8f0dc6f1-09e9-4746-882e-65549b7e11e0</title></pubsub></data> 2020-10-04 22:30:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-04 22:30:13 | [Mutex] waiting for: [received:nodes:f5f06dfd-b7e9-49a3-9938-4dfdf7d282ac:localhost] 2020-10-04 22:30:13 | [Mutex] received everything. 2020-10-04 22:30:13 | [Mutex] isItemNotified: received:node:f5f06dfd-b7e9-49a3-9938-4dfdf7d282ac:localhost:node-8f0dc6f1-09e9-4746-882e-65549b7e11e0:Node 8f0dc6f1-09e9-4746-882e-65549b7e11e0 :: true |
deleteNodes | 1.019s |
2020-10-04 22:30:19 |
2020-10-04 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:19 | ------------------------------------ 2020-10-04 22:30:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8f0dc6f1-09e9-4746-882e-65549b7e11e0</node></data> 2020-10-04 22:30:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-04 22:30:20 | [Mutex] waiting for: [received:nodes:4fe36f4d-d9a9-463d-a7c4-dda11d1635f6:localhost] 2020-10-04 22:30:20 | [Mutex] received everything. 2020-10-04 22:30:20 | [Mutex] isItemNotified: received:node:4fe36f4d-d9a9-463d-a7c4-dda11d1635f6:localhost:node-8f0dc6f1-09e9-4746-882e-65549b7e11e0:Node 8f0dc6f1-09e9-4746-882e-65549b7e11e0 :: false |
deleteSubnodes | 1.178s |
2020-10-04 22:30:18 |
2020-10-04 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:18 | ------------------------------------ 2020-10-04 22:30:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f</node></data> 2020-10-04 22:30:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-04 22:30:19 | [Mutex] waiting for: [received:nodes:f530b2cb-5271-445d-86a2-6837ce64fe52:localhost] 2020-10-04 22:30:19 | [Mutex] waiting for: [received:nodes:f530b2cb-5271-445d-86a2-6837ce64fe52:localhost] 2020-10-04 22:30:19 | [Mutex] received everything. 2020-10-04 22:30:19 | [Mutex] isItemNotified: received:node:f530b2cb-5271-445d-86a2-6837ce64fe52:localhost:node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f:Node cbe375d2-3f53-4f7f-be7c-6dbebbae321f :: false 2020-10-04 22:30:19 | [Mutex] waiting for: [received:nodes:7c7cb6c5-f2ec-42ea-b6d0-aea8aeec53e3:localhost] 2020-10-04 22:30:19 | [Mutex] received everything. 2020-10-04 22:30:19 | [Mutex] isItemNotified: received:node:7c7cb6c5-f2ec-42ea-b6d0-aea8aeec53e3:localhost:node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f:Node cbe375d2-3f53-4f7f-be7c-6dbebbae321f :: false |
publishItemsToNodes | 0.282s |
2020-10-04 22:30:16 |
2020-10-04 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:16 | ------------------------------------ 2020-10-04 22:30:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f</node><item-id>item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39</item-id><entry><test>item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39</test></entry></data> 2020-10-04 22:30:16 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39</value></item-id></result> 2020-10-04 22:30:16 | [Mutex] received everything. 2020-10-04 22:30:16 | [Mutex] isItemNotified: published:item:notifieditem-2f93a024-bdb4-4736-9ee9-c34ef97d4b39:admin@test-domain.com :: true |
retractItemsFromNodes | 0.300s |
2020-10-04 22:30:16 |
2020-10-04 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:16 | ------------------------------------ 2020-10-04 22:30:16 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f</node><item-id>item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39</item-id></data> 2020-10-04 22:30:16 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39</value></item-id></result> 2020-10-04 22:30:16 | [Mutex] received everything. 2020-10-04 22:30:16 | [Mutex] isItemNotified: retracted:item:notifieditem-2f93a024-bdb4-4736-9ee9-c34ef97d4b39:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.179s |
2020-10-04 22:30:16 |
2020-10-04 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:16 | ------------------------------------ 2020-10-04 22:30:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f</node><item-id>item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39</item-id></data> 2020-10-04 22:30:16 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f</value></node><item-id label="Item ID" type="text-single"><value>item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39</value></item-id><item label="Item" type="text-multi"><value><item id="item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39"><test>item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39</test></item></value></item></result> 2020-10-04 22:30:16 | [Mutex] notify: [retrieved:item:item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39:payload-matches:true:localhost] 2020-10-04 22:30:16 | [Mutex] received everything. 2020-10-04 22:30:16 | [Mutex] isItemNotified: retrieved:item:item-2f93a024-bdb4-4736-9ee9-c34ef97d4b39:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-04 22:30:16 |
2020-10-04 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:16 | ------------------------------------ 2020-10-04 22:30:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-04 22:30:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-8f0dc6f1-09e9-4746-882e-65549b7e11e0</value><value>test</value><value>node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-10-04 22:30:16 |
2020-10-04 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:16 | ------------------------------------ 2020-10-04 22:30:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f)</node-pattern></data> 2020-10-04 22:30:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.138s |
2020-10-04 22:30:14 |
2020-10-04 22:30:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:14 | ------------------------------------ 2020-10-04 22:30:14 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-04 22:30:15 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.276s |
2020-10-04 22:30:16 |
2020-10-04 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:16 | ------------------------------------ 2020-10-04 22:30:16 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-cbe375d2-3f53-4f7f-be7c-6dbebbae321f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-04 22:30:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |