Test duration : 10.234s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2020-09-02 22:59:15 |
2020-09-02 22:59:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:15 | ------------------------------------ 2020-09-02 22:59:15 | [Mutex] waiting for: [configured:node:node-675067c9-787a-48de-91b6-99571d0c08fa:node-2bba06c0-6cc3-466e-a423-64ab31c54133] 2020-09-02 22:59:15 | [Mutex] received everything. 2020-09-02 22:59:15 | [Mutex] isItemNotified: configured:node:node-675067c9-787a-48de-91b6-99571d0c08fa:node-2bba06c0-6cc3-466e-a423-64ab31c54133 :: true 2020-09-02 22:59:16 | [Mutex] waiting for: [received:nodes:0ea9a71c-6011-461d-80a3-30bfffbb58ac:localhost] 2020-09-02 22:59:16 | [Mutex] received everything. 2020-09-02 22:59:16 | [Mutex] isItemNotified: received:node:0ea9a71c-6011-461d-80a3-30bfffbb58ac:localhost:node-675067c9-787a-48de-91b6-99571d0c08fa:Node 675067c9-787a-48de-91b6-99571d0c08fa :: true 2020-09-02 22:59:16 | [Mutex] waiting for: [received:nodes:55ea3bd6-8f53-4b04-9d3a-2b3d143c09bb:localhost] 2020-09-02 22:59:16 | [Mutex] waiting for: [received:nodes:55ea3bd6-8f53-4b04-9d3a-2b3d143c09bb:localhost] 2020-09-02 22:59:16 | [Mutex] waiting for: [received:nodes:55ea3bd6-8f53-4b04-9d3a-2b3d143c09bb:localhost] 2020-09-02 22:59:16 | [Mutex] received everything. 2020-09-02 22:59:16 | [Mutex] isItemNotified: received:node:55ea3bd6-8f53-4b04-9d3a-2b3d143c09bb:localhost:node-675067c9-787a-48de-91b6-99571d0c08fa:Node 675067c9-787a-48de-91b6-99571d0c08fa :: false |
createNodes | 1.526s |
2020-09-02 22:59:13 |
2020-09-02 22:59:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:13 | ------------------------------------ 2020-09-02 22:59:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-675067c9-787a-48de-91b6-99571d0c08fa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 675067c9-787a-48de-91b6-99571d0c08fa</title></pubsub></data> 2020-09-02 22:59:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 22:59:14 | [Mutex] waiting for: [received:nodes:cc7e326f-e793-4c64-a6f0-ff14433ff2dc:localhost] 2020-09-02 22:59:14 | [Mutex] received everything. 2020-09-02 22:59:14 | [Mutex] isItemNotified: received:node:cc7e326f-e793-4c64-a6f0-ff14433ff2dc:localhost:node-675067c9-787a-48de-91b6-99571d0c08fa:Node 675067c9-787a-48de-91b6-99571d0c08fa :: true |
createSubnodes | 1.025s |
2020-09-02 22:59:14 |
2020-09-02 22:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:14 | ------------------------------------ 2020-09-02 22:59:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2bba06c0-6cc3-466e-a423-64ab31c54133</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2bba06c0-6cc3-466e-a423-64ab31c54133</title></pubsub></data> 2020-09-02 22:59:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 22:59:15 | [Mutex] waiting for: [received:nodes:bf4f79be-63f5-4317-8280-29e836a45a91:localhost] 2020-09-02 22:59:15 | [Mutex] received everything. 2020-09-02 22:59:15 | [Mutex] isItemNotified: received:node:bf4f79be-63f5-4317-8280-29e836a45a91:localhost:node-2bba06c0-6cc3-466e-a423-64ab31c54133:Node 2bba06c0-6cc3-466e-a423-64ab31c54133 :: true |
deleteNodes | 1.025s |
2020-09-02 22:59:21 |
2020-09-02 22:59:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:21 | ------------------------------------ 2020-09-02 22:59:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2bba06c0-6cc3-466e-a423-64ab31c54133</node></data> 2020-09-02 22:59:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 22:59:22 | [Mutex] waiting for: [received:nodes:c1050622-c9e6-4850-b2f2-33c52d6fad91:localhost] 2020-09-02 22:59:22 | [Mutex] received everything. 2020-09-02 22:59:22 | [Mutex] isItemNotified: received:node:c1050622-c9e6-4850-b2f2-33c52d6fad91:localhost:node-2bba06c0-6cc3-466e-a423-64ab31c54133:Node 2bba06c0-6cc3-466e-a423-64ab31c54133 :: false |
deleteSubnodes | 1.137s |
2020-09-02 22:59:20 |
2020-09-02 22:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:20 | ------------------------------------ 2020-09-02 22:59:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-675067c9-787a-48de-91b6-99571d0c08fa</node></data> 2020-09-02 22:59:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 22:59:21 | [Mutex] waiting for: [received:nodes:9d61ce6b-f264-43c1-8cac-d802a986648a:localhost] 2020-09-02 22:59:21 | [Mutex] waiting for: [received:nodes:9d61ce6b-f264-43c1-8cac-d802a986648a:localhost] 2020-09-02 22:59:21 | [Mutex] waiting for: [received:nodes:9d61ce6b-f264-43c1-8cac-d802a986648a:localhost] 2020-09-02 22:59:21 | [Mutex] received everything. 2020-09-02 22:59:21 | [Mutex] isItemNotified: received:node:9d61ce6b-f264-43c1-8cac-d802a986648a:localhost:node-675067c9-787a-48de-91b6-99571d0c08fa:Node 675067c9-787a-48de-91b6-99571d0c08fa :: false 2020-09-02 22:59:21 | [Mutex] waiting for: [received:nodes:bf2e54f8-7d36-4277-b0d8-e077804fcf32:localhost] 2020-09-02 22:59:21 | [Mutex] received everything. 2020-09-02 22:59:21 | [Mutex] isItemNotified: received:node:bf2e54f8-7d36-4277-b0d8-e077804fcf32:localhost:node-675067c9-787a-48de-91b6-99571d0c08fa:Node 675067c9-787a-48de-91b6-99571d0c08fa :: false |
publishItemsToNodes | 0.275s |
2020-09-02 22:59:17 |
2020-09-02 22:59:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:17 | ------------------------------------ 2020-09-02 22:59:17 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-675067c9-787a-48de-91b6-99571d0c08fa</node><item-id>item-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c</item-id><entry><test>item-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c</test></entry></data> 2020-09-02 22:59:18 | 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-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c</value></item-id></result> 2020-09-02 22:59:18 | [Mutex] received everything. 2020-09-02 22:59:18 | [Mutex] isItemNotified: published:item:notifieditem-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.236s |
2020-09-02 22:59:18 |
2020-09-02 22:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:18 | ------------------------------------ 2020-09-02 22:59:18 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-675067c9-787a-48de-91b6-99571d0c08fa</node><item-id>item-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c</item-id></data> 2020-09-02 22:59:18 | 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-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c</value></item-id></result> 2020-09-02 22:59:18 | [Mutex] received everything. 2020-09-02 22:59:18 | [Mutex] isItemNotified: retracted:item:notifieditem-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.275s |
2020-09-02 22:59:18 |
2020-09-02 22:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:18 | ------------------------------------ 2020-09-02 22:59:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-675067c9-787a-48de-91b6-99571d0c08fa</node><item-id>item-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c</item-id></data> 2020-09-02 22:59:18 | 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-675067c9-787a-48de-91b6-99571d0c08fa</value></node><item-id label="Item ID" type="text-single"><value>item-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c</value></item-id><item label="Item" type="text-multi"><value><item id="item-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c"><test>item-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c</test></item></value></item></result> 2020-09-02 22:59:18 | [Mutex] notify: [retrieved:item:item-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c:payload-matches:true:localhost] 2020-09-02 22:59:18 | [Mutex] received everything. 2020-09-02 22:59:18 | [Mutex] isItemNotified: retrieved:item:item-9848e0e7-e8ed-4a55-84a3-9d6a305c4e1c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-09-02 22:59:18 |
2020-09-02 22:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:18 | ------------------------------------ 2020-09-02 22:59:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-02 22:59:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-675067c9-787a-48de-91b6-99571d0c08fa</value><value>test</value><value>node-2bba06c0-6cc3-466e-a423-64ab31c54133</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-02 22:59:18 |
2020-09-02 22:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:18 | ------------------------------------ 2020-09-02 22:59:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-675067c9-787a-48de-91b6-99571d0c08fa)</node-pattern></data> 2020-09-02 22:59:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.143s |
2020-09-02 22:59:16 |
2020-09-02 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:16 | ------------------------------------ 2020-09-02 22:59:16 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-675067c9-787a-48de-91b6-99571d0c08fa</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-02 22:59:16 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.287s |
2020-09-02 22:59:18 |
2020-09-02 22:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:59:18 | ------------------------------------ 2020-09-02 22:59:18 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-675067c9-787a-48de-91b6-99571d0c08fa</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-02 22:59:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |