Test duration : 9.916s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.092s |
2020-10-04 22:29:55 |
2020-10-04 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:29:55 | ------------------------------------ 2020-10-04 22:29:55 | [Mutex] waiting for: [configured:node:node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27:node-643790f1-af0e-42df-8662-14e7e3fa9b57] 2020-10-04 22:29:55 | [Mutex] received everything. 2020-10-04 22:29:55 | [Mutex] isItemNotified: configured:node:node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27:node-643790f1-af0e-42df-8662-14e7e3fa9b57 :: true 2020-10-04 22:29:56 | [Mutex] waiting for: [received:nodes:cc9b5b15-4172-4beb-af01-7087b6f2170d:localhost] 2020-10-04 22:29:56 | [Mutex] received everything. 2020-10-04 22:29:56 | [Mutex] isItemNotified: received:node:cc9b5b15-4172-4beb-af01-7087b6f2170d:localhost:node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27:Node e0e34c96-826e-41a9-8cd1-84e58e7d8d27 :: true 2020-10-04 22:29:56 | [Mutex] waiting for: [received:nodes:1c1cca54-09eb-4223-8086-fecf261718eb:localhost] 2020-10-04 22:29:56 | [Mutex] received everything. 2020-10-04 22:29:56 | [Mutex] isItemNotified: received:node:1c1cca54-09eb-4223-8086-fecf261718eb:localhost:node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27:Node e0e34c96-826e-41a9-8cd1-84e58e7d8d27 :: false |
createNodes | 1.532s |
2020-10-04 22:29:53 |
2020-10-04 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:29:53 | ------------------------------------ 2020-10-04 22:29:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e0e34c96-826e-41a9-8cd1-84e58e7d8d27</title></pubsub></data> 2020-10-04 22:29:53 | 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:29:54 | [Mutex] waiting for: [received:nodes:bc868d15-dd01-4216-8642-babcfe68f9e0:localhost] 2020-10-04 22:29:54 | [Mutex] received everything. 2020-10-04 22:29:54 | [Mutex] isItemNotified: received:node:bc868d15-dd01-4216-8642-babcfe68f9e0:localhost:node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27:Node e0e34c96-826e-41a9-8cd1-84e58e7d8d27 :: true |
createSubnodes | 1.021s |
2020-10-04 22:29:54 |
2020-10-04 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:29:54 | ------------------------------------ 2020-10-04 22:29:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-643790f1-af0e-42df-8662-14e7e3fa9b57</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 643790f1-af0e-42df-8662-14e7e3fa9b57</title></pubsub></data> 2020-10-04 22:29:54 | 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:29:55 | [Mutex] waiting for: [received:nodes:6c92151e-e8dd-4863-895d-7c0fc905bff8:localhost] 2020-10-04 22:29:55 | [Mutex] received everything. 2020-10-04 22:29:55 | [Mutex] isItemNotified: received:node:6c92151e-e8dd-4863-895d-7c0fc905bff8:localhost:node-643790f1-af0e-42df-8662-14e7e3fa9b57:Node 643790f1-af0e-42df-8662-14e7e3fa9b57 :: true |
deleteNodes | 1.029s |
2020-10-04 22:30:01 |
2020-10-04 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:01 | ------------------------------------ 2020-10-04 22:30:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-643790f1-af0e-42df-8662-14e7e3fa9b57</node></data> 2020-10-04 22:30:01 | 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:02 | [Mutex] waiting for: [received:nodes:f0a854b1-a8e2-4f30-80b2-2c8a7f371d66:localhost] 2020-10-04 22:30:02 | [Mutex] received everything. 2020-10-04 22:30:02 | [Mutex] isItemNotified: received:node:f0a854b1-a8e2-4f30-80b2-2c8a7f371d66:localhost:node-643790f1-af0e-42df-8662-14e7e3fa9b57:Node 643790f1-af0e-42df-8662-14e7e3fa9b57 :: false |
deleteSubnodes | 1.127s |
2020-10-04 22:30:00 |
2020-10-04 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:30:00 | ------------------------------------ 2020-10-04 22:30:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27</node></data> 2020-10-04 22:30:00 | 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:01 | [Mutex] waiting for: [received:nodes:a7d26603-7891-4b48-9fa8-2548c4e449e6:localhost] 2020-10-04 22:30:01 | [Mutex] received everything. 2020-10-04 22:30:01 | [Mutex] isItemNotified: received:node:a7d26603-7891-4b48-9fa8-2548c4e449e6:localhost:node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27:Node e0e34c96-826e-41a9-8cd1-84e58e7d8d27 :: false 2020-10-04 22:30:01 | [Mutex] waiting for: [received:nodes:f919bb82-2fbc-4b82-9045-14f20949c8a6:localhost] 2020-10-04 22:30:01 | [Mutex] received everything. 2020-10-04 22:30:01 | [Mutex] isItemNotified: received:node:f919bb82-2fbc-4b82-9045-14f20949c8a6:localhost:node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27:Node e0e34c96-826e-41a9-8cd1-84e58e7d8d27 :: false |
publishItemsToNodes | 0.221s |
2020-10-04 22:29:58 |
2020-10-04 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:29:58 | ------------------------------------ 2020-10-04 22:29:58 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27</node><item-id>item-3266cc36-b3a4-4bbc-8c06-a82a77c5185a</item-id><entry><test>item-3266cc36-b3a4-4bbc-8c06-a82a77c5185a</test></entry></data> 2020-10-04 22:29:58 | 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-3266cc36-b3a4-4bbc-8c06-a82a77c5185a</value></item-id></result> 2020-10-04 22:29:58 | [Mutex] received everything. 2020-10-04 22:29:58 | [Mutex] isItemNotified: published:item:notifieditem-3266cc36-b3a4-4bbc-8c06-a82a77c5185a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.260s |
2020-10-04 22:29:58 |
2020-10-04 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:29:58 | ------------------------------------ 2020-10-04 22:29:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27</node><item-id>item-3266cc36-b3a4-4bbc-8c06-a82a77c5185a</item-id></data> 2020-10-04 22:29:58 | 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-3266cc36-b3a4-4bbc-8c06-a82a77c5185a</value></item-id></result> 2020-10-04 22:29:58 | [Mutex] received everything. 2020-10-04 22:29:58 | [Mutex] isItemNotified: retracted:item:notifieditem-3266cc36-b3a4-4bbc-8c06-a82a77c5185a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.250s |
2020-10-04 22:29:58 |
2020-10-04 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:29:58 | ------------------------------------ 2020-10-04 22:29:58 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27</node><item-id>item-3266cc36-b3a4-4bbc-8c06-a82a77c5185a</item-id></data> 2020-10-04 22:29:58 | 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-e0e34c96-826e-41a9-8cd1-84e58e7d8d27</value></node><item-id label="Item ID" type="text-single"><value>item-3266cc36-b3a4-4bbc-8c06-a82a77c5185a</value></item-id><item label="Item" type="text-multi"><value><item id="item-3266cc36-b3a4-4bbc-8c06-a82a77c5185a"><test>item-3266cc36-b3a4-4bbc-8c06-a82a77c5185a</test></item></value></item></result> 2020-10-04 22:29:58 | [Mutex] notify: [retrieved:item:item-3266cc36-b3a4-4bbc-8c06-a82a77c5185a:payload-matches:true:localhost] 2020-10-04 22:29:58 | [Mutex] received everything. 2020-10-04 22:29:58 | [Mutex] isItemNotified: retrieved:item:item-3266cc36-b3a4-4bbc-8c06-a82a77c5185a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-04 22:29:58 |
2020-10-04 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:29:58 | ------------------------------------ 2020-10-04 22:29:58 | 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:29:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27</value><value>node-643790f1-af0e-42df-8662-14e7e3fa9b57</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-10-04 22:29:58 |
2020-10-04 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:29:58 | ------------------------------------ 2020-10-04 22:29:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27)</node-pattern></data> 2020-10-04 22:29:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.126s |
2020-10-04 22:29:56 |
2020-10-04 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:29:56 | ------------------------------------ 2020-10-04 22:29:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-04 22:29:57 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.218s |
2020-10-04 22:29:58 |
2020-10-04 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:29:58 | ------------------------------------ 2020-10-04 22:29:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e0e34c96-826e-41a9-8cd1-84e58e7d8d27</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-04 22:29:59 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |