Test duration: 8.133s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.029s |
2019-03-02 14:14:54 |
2019-03-02 14:14:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:54 | ------------------------------------ 2019-03-02 14:14:54 | [Mutex] waiting for: [configured:node:node-a3fbc455-36ba-4465-acaa-c66be1924bf4:node-a8262721-7727-463a-b8cf-ec148fa32352] 2019-03-02 14:14:54 | [Mutex] received everything. 2019-03-02 14:14:54 | [Mutex] isItemNotified: configured:node:node-a3fbc455-36ba-4465-acaa-c66be1924bf4:node-a8262721-7727-463a-b8cf-ec148fa32352 :: true 2019-03-02 14:14:55 | [Mutex] waiting for: [received:nodes:d3dd4379-d8b4-4403-9b5b-4050327b7903:localhost] 2019-03-02 14:14:55 | [Mutex] received everything. 2019-03-02 14:14:55 | [Mutex] isItemNotified: received:node:d3dd4379-d8b4-4403-9b5b-4050327b7903:localhost:node-a3fbc455-36ba-4465-acaa-c66be1924bf4:Node a3fbc455-36ba-4465-acaa-c66be1924bf4 :: true 2019-03-02 14:14:55 | [Mutex] waiting for: [received:nodes:9b003c94-2ebd-4f13-bdfd-fe09caf12cba:localhost] 2019-03-02 14:14:55 | [Mutex] received everything. 2019-03-02 14:14:55 | [Mutex] isItemNotified: received:node:9b003c94-2ebd-4f13-bdfd-fe09caf12cba:localhost:node-a3fbc455-36ba-4465-acaa-c66be1924bf4:Node a3fbc455-36ba-4465-acaa-c66be1924bf4 :: false |
createNodes | 1.264s |
2019-03-02 14:14:52 |
2019-03-02 14:14:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:52 | ------------------------------------ 2019-03-02 14:14:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a3fbc455-36ba-4465-acaa-c66be1924bf4</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a3fbc455-36ba-4465-acaa-c66be1924bf4</title></pubsub></data> 2019-03-02 14:14:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-03-02 14:14:53 | [Mutex] waiting for: [received:nodes:32a94bc2-c8ca-48ea-9270-c2563c696e06:localhost] 2019-03-02 14:14:53 | [Mutex] waiting for: [received:nodes:32a94bc2-c8ca-48ea-9270-c2563c696e06:localhost] 2019-03-02 14:14:53 | [Mutex] received everything. 2019-03-02 14:14:53 | [Mutex] isItemNotified: received:node:32a94bc2-c8ca-48ea-9270-c2563c696e06:localhost:node-a3fbc455-36ba-4465-acaa-c66be1924bf4:Node a3fbc455-36ba-4465-acaa-c66be1924bf4 :: true |
createSubnodes | 1.023s |
2019-03-02 14:14:53 |
2019-03-02 14:14:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:53 | ------------------------------------ 2019-03-02 14:14:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a8262721-7727-463a-b8cf-ec148fa32352</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a8262721-7727-463a-b8cf-ec148fa32352</title></pubsub></data> 2019-03-02 14:14:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-03-02 14:14:54 | [Mutex] waiting for: [received:nodes:b9898ba8-c27a-436e-99b7-c7d691ed311a:localhost] 2019-03-02 14:14:54 | [Mutex] received everything. 2019-03-02 14:14:54 | [Mutex] isItemNotified: received:node:b9898ba8-c27a-436e-99b7-c7d691ed311a:localhost:node-a8262721-7727-463a-b8cf-ec148fa32352:Node a8262721-7727-463a-b8cf-ec148fa32352 :: true |
deleteNodes | 1.016s |
2019-03-02 14:14:59 |
2019-03-02 14:14:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:59 | ------------------------------------ 2019-03-02 14:14:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a8262721-7727-463a-b8cf-ec148fa32352</node></data> 2019-03-02 14:14:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-03-02 14:15:00 | [Mutex] received everything. 2019-03-02 14:15:00 | [Mutex] isItemNotified: received:node:11c7f5f1-2c58-468f-b366-f3268bc4a5bd:localhost:node-a8262721-7727-463a-b8cf-ec148fa32352:Node a8262721-7727-463a-b8cf-ec148fa32352 :: false |
deleteSubnodes | 1.021s |
2019-03-02 14:14:58 |
2019-03-02 14:14:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:58 | ------------------------------------ 2019-03-02 14:14:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a3fbc455-36ba-4465-acaa-c66be1924bf4</node></data> 2019-03-02 14:14:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-03-02 14:14:59 | [Mutex] received everything. 2019-03-02 14:14:59 | [Mutex] isItemNotified: received:node:77eba959-97b9-4fbc-8404-74408997a82b:localhost:node-a3fbc455-36ba-4465-acaa-c66be1924bf4:Node a3fbc455-36ba-4465-acaa-c66be1924bf4 :: false 2019-03-02 14:14:59 | [Mutex] waiting for: [received:nodes:5f43e914-17af-4e08-81e0-01382ce5256d:localhost] 2019-03-02 14:14:59 | [Mutex] received everything. 2019-03-02 14:14:59 | [Mutex] isItemNotified: received:node:5f43e914-17af-4e08-81e0-01382ce5256d:localhost:node-a3fbc455-36ba-4465-acaa-c66be1924bf4:Node a3fbc455-36ba-4465-acaa-c66be1924bf4 :: false |
publishItemsToNodes | 0.046s |
2019-03-02 14:14:57 |
2019-03-02 14:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:57 | ------------------------------------ 2019-03-02 14:14:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a3fbc455-36ba-4465-acaa-c66be1924bf4</node><item-id>item-cd34c42e-78c5-45c4-9c0b-504c064dc075</item-id><entry><test>item-cd34c42e-78c5-45c4-9c0b-504c064dc075</test></entry></data> 2019-03-02 14:14:57 | 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-cd34c42e-78c5-45c4-9c0b-504c064dc075</value></item-id></result> 2019-03-02 14:14:57 | [Mutex] received everything. 2019-03-02 14:14:57 | [Mutex] isItemNotified: published:item:notifieditem-cd34c42e-78c5-45c4-9c0b-504c064dc075:admin@localhost :: true |
retractItemsFromNodes | 0.073s |
2019-03-02 14:14:57 |
2019-03-02 14:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:57 | ------------------------------------ 2019-03-02 14:14:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a3fbc455-36ba-4465-acaa-c66be1924bf4</node><item-id>item-cd34c42e-78c5-45c4-9c0b-504c064dc075</item-id></data> 2019-03-02 14:14:57 | 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-cd34c42e-78c5-45c4-9c0b-504c064dc075</value></item-id></result> 2019-03-02 14:14:57 | [Mutex] waiting for: [retracted:item:notifieditem-cd34c42e-78c5-45c4-9c0b-504c064dc075:admin@localhost] 2019-03-02 14:14:57 | [Mutex] received everything. 2019-03-02 14:14:57 | [Mutex] isItemNotified: retracted:item:notifieditem-cd34c42e-78c5-45c4-9c0b-504c064dc075:admin@localhost :: true |
retrieveItemsFromNodes | 0.029s |
2019-03-02 14:14:57 |
2019-03-02 14:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:57 | ------------------------------------ 2019-03-02 14:14:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a3fbc455-36ba-4465-acaa-c66be1924bf4</node><item-id>item-cd34c42e-78c5-45c4-9c0b-504c064dc075</item-id></data> 2019-03-02 14:14:57 | 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-a3fbc455-36ba-4465-acaa-c66be1924bf4</value></node><item-id label="Item ID" type="text-single"><value>item-cd34c42e-78c5-45c4-9c0b-504c064dc075</value></item-id><item label="Item" type="text-multi"><value><item id="item-cd34c42e-78c5-45c4-9c0b-504c064dc075"><test>item-cd34c42e-78c5-45c4-9c0b-504c064dc075</test></item></value></item></result> 2019-03-02 14:14:57 | [Mutex] notify: [retrieved:item:item-cd34c42e-78c5-45c4-9c0b-504c064dc075:payload-matches:true:localhost] 2019-03-02 14:14:57 | [Mutex] received everything. 2019-03-02 14:14:57 | [Mutex] isItemNotified: retrieved:item:item-cd34c42e-78c5-45c4-9c0b-504c064dc075:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.018s |
2019-03-02 14:14:57 |
2019-03-02 14:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:57 | ------------------------------------ 2019-03-02 14:14:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-03-02 14:14:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-a8262721-7727-463a-b8cf-ec148fa32352</value><value>node-a3fbc455-36ba-4465-acaa-c66be1924bf4</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.015s |
2019-03-02 14:14:57 |
2019-03-02 14:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:57 | ------------------------------------ 2019-03-02 14:14:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-a3fbc455-36ba-4465-acaa-c66be1924bf4)</node-pattern></data> 2019-03-02 14:14:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.026s |
2019-03-02 14:14:55 |
2019-03-02 14:14:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:55 | ------------------------------------ 2019-03-02 14:14:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a3fbc455-36ba-4465-acaa-c66be1924bf4</node><jids><value>admin@localhost</value></jids></data> 2019-03-02 14:14:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.028s |
2019-03-02 14:14:57 |
2019-03-02 14:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-03-02 14:14:57 | ------------------------------------ 2019-03-02 14:14:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a3fbc455-36ba-4465-acaa-c66be1924bf4</node><jids><value>admin@localhost</value></jids></data> 2019-03-02 14:14:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |