Test duration : 10.088s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.124s |
2021-05-25 22:29:52 |
2021-05-25 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:52 | ------------------------------------ 2021-05-25 22:29:52 | [Mutex] waiting for: [configured:node:node-01100631-ca2b-475d-95b4-2d4b9bad0742:node-14d2121f-c90a-4711-87e7-51a0652d2f12] 2021-05-25 22:29:53 | [Mutex] received everything. 2021-05-25 22:29:53 | [Mutex] isItemNotified: configured:node:node-01100631-ca2b-475d-95b4-2d4b9bad0742:node-14d2121f-c90a-4711-87e7-51a0652d2f12 :: true 2021-05-25 22:29:54 | [Mutex] waiting for: [received:nodes:dd46ef7a-7963-46e1-b285-d3c9e8497fb9:localhost] 2021-05-25 22:29:54 | [Mutex] received everything. 2021-05-25 22:29:54 | [Mutex] isItemNotified: received:node:dd46ef7a-7963-46e1-b285-d3c9e8497fb9:localhost:node-01100631-ca2b-475d-95b4-2d4b9bad0742:Node 01100631-ca2b-475d-95b4-2d4b9bad0742 :: true 2021-05-25 22:29:54 | [Mutex] waiting for: [received:nodes:6810fa86-4e97-4a7b-845b-b5c9370f95ac:localhost] 2021-05-25 22:29:54 | [Mutex] received everything. 2021-05-25 22:29:54 | [Mutex] isItemNotified: received:node:6810fa86-4e97-4a7b-845b-b5c9370f95ac:localhost:node-01100631-ca2b-475d-95b4-2d4b9bad0742:Node 01100631-ca2b-475d-95b4-2d4b9bad0742 :: false |
createNodes | 1.496s |
2021-05-25 22:29:50 |
2021-05-25 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:50 | ------------------------------------ 2021-05-25 22:29:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-01100631-ca2b-475d-95b4-2d4b9bad0742</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 01100631-ca2b-475d-95b4-2d4b9bad0742</title></pubsub></data> 2021-05-25 22:29:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-25 22:29:51 | [Mutex] waiting for: [received:nodes:30ac45a8-6c4e-4903-8313-376cef69164c:localhost] 2021-05-25 22:29:51 | [Mutex] waiting for: [received:nodes:30ac45a8-6c4e-4903-8313-376cef69164c:localhost] 2021-05-25 22:29:51 | [Mutex] received everything. 2021-05-25 22:29:51 | [Mutex] isItemNotified: received:node:30ac45a8-6c4e-4903-8313-376cef69164c:localhost:node-01100631-ca2b-475d-95b4-2d4b9bad0742:Node 01100631-ca2b-475d-95b4-2d4b9bad0742 :: true |
createSubnodes | 1.024s |
2021-05-25 22:29:51 |
2021-05-25 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:51 | ------------------------------------ 2021-05-25 22:29:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-14d2121f-c90a-4711-87e7-51a0652d2f12</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 14d2121f-c90a-4711-87e7-51a0652d2f12</title></pubsub></data> 2021-05-25 22:29:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-25 22:29:52 | [Mutex] waiting for: [received:nodes:a0ad048f-f6b9-4f14-96a4-c23cd6c8c89f:localhost] 2021-05-25 22:29:52 | [Mutex] received everything. 2021-05-25 22:29:52 | [Mutex] isItemNotified: received:node:a0ad048f-f6b9-4f14-96a4-c23cd6c8c89f:localhost:node-14d2121f-c90a-4711-87e7-51a0652d2f12:Node 14d2121f-c90a-4711-87e7-51a0652d2f12 :: true |
deleteNodes | 1.017s |
2021-05-25 22:29:58 |
2021-05-25 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:58 | ------------------------------------ 2021-05-25 22:29:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-14d2121f-c90a-4711-87e7-51a0652d2f12</node></data> 2021-05-25 22:29:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-25 22:29:59 | [Mutex] waiting for: [received:nodes:cbd948a3-0eee-4ce9-8d15-81d7e4920846:localhost] 2021-05-25 22:29:59 | [Mutex] received everything. 2021-05-25 22:29:59 | [Mutex] isItemNotified: received:node:cbd948a3-0eee-4ce9-8d15-81d7e4920846:localhost:node-14d2121f-c90a-4711-87e7-51a0652d2f12:Node 14d2121f-c90a-4711-87e7-51a0652d2f12 :: false |
deleteSubnodes | 1.183s |
2021-05-25 22:29:57 |
2021-05-25 22:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:57 | ------------------------------------ 2021-05-25 22:29:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-01100631-ca2b-475d-95b4-2d4b9bad0742</node></data> 2021-05-25 22:29:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-25 22:29:58 | [Mutex] waiting for: [received:nodes:a9de78b9-9343-4267-884d-e3709cc93611:localhost] 2021-05-25 22:29:58 | [Mutex] received everything. 2021-05-25 22:29:58 | [Mutex] isItemNotified: received:node:a9de78b9-9343-4267-884d-e3709cc93611:localhost:node-01100631-ca2b-475d-95b4-2d4b9bad0742:Node 01100631-ca2b-475d-95b4-2d4b9bad0742 :: false 2021-05-25 22:29:58 | [Mutex] waiting for: [received:nodes:96847144-31d3-467c-a634-7b9da23c5877:localhost] 2021-05-25 22:29:58 | [Mutex] received everything. 2021-05-25 22:29:58 | [Mutex] isItemNotified: received:node:96847144-31d3-467c-a634-7b9da23c5877:localhost:node-01100631-ca2b-475d-95b4-2d4b9bad0742:Node 01100631-ca2b-475d-95b4-2d4b9bad0742 :: false |
publishItemsToNodes | 0.277s |
2021-05-25 22:29:55 |
2021-05-25 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:55 | ------------------------------------ 2021-05-25 22:29:55 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-01100631-ca2b-475d-95b4-2d4b9bad0742</node><item-id>item-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad</item-id><entry><test>item-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad</test></entry></data> 2021-05-25 22:29:55 | 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-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad</value></item-id></result> 2021-05-25 22:29:55 | [Mutex] waiting for: [published:item:notifieditem-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad:admin@test-domain.com] 2021-05-25 22:29:55 | [Mutex] received everything. 2021-05-25 22:29:55 | [Mutex] isItemNotified: published:item:notifieditem-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad:admin@test-domain.com :: true |
retractItemsFromNodes | 0.333s |
2021-05-25 22:29:55 |
2021-05-25 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:55 | ------------------------------------ 2021-05-25 22:29:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-01100631-ca2b-475d-95b4-2d4b9bad0742</node><item-id>item-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad</item-id></data> 2021-05-25 22:29:56 | 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-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad</value></item-id></result> 2021-05-25 22:29:56 | [Mutex] received everything. 2021-05-25 22:29:56 | [Mutex] isItemNotified: retracted:item:notifieditem-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.279s |
2021-05-25 22:29:55 |
2021-05-25 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:55 | ------------------------------------ 2021-05-25 22:29:55 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-01100631-ca2b-475d-95b4-2d4b9bad0742</node><item-id>item-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad</item-id></data> 2021-05-25 22:29:55 | 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-01100631-ca2b-475d-95b4-2d4b9bad0742</value></node><item-id type="text-single" label="Item ID"><value>item-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad</value></item-id><item type="text-multi" label="Item"><value><item id="item-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad"><test>item-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad</test></item></value></item></result> 2021-05-25 22:29:55 | [Mutex] notify: [retrieved:item:item-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad:payload-matches:true:localhost] 2021-05-25 22:29:55 | [Mutex] received everything. 2021-05-25 22:29:55 | [Mutex] isItemNotified: retrieved:item:item-d9f5293f-77f3-4f2d-abf1-92e481ffa3ad:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2021-05-25 22:29:55 |
2021-05-25 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:55 | ------------------------------------ 2021-05-25 22:29:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-25 22:29:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-14d2121f-c90a-4711-87e7-51a0652d2f12</value><value>test</value><value>node-01100631-ca2b-475d-95b4-2d4b9bad0742</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2021-05-25 22:29:55 |
2021-05-25 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:55 | ------------------------------------ 2021-05-25 22:29:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-01100631-ca2b-475d-95b4-2d4b9bad0742)</node-pattern></data> 2021-05-25 22:29:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.179s |
2021-05-25 22:29:54 |
2021-05-25 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:54 | ------------------------------------ 2021-05-25 22:29:54 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-01100631-ca2b-475d-95b4-2d4b9bad0742</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-25 22:29:54 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.257s |
2021-05-25 22:29:56 |
2021-05-25 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-25 22:29:56 | ------------------------------------ 2021-05-25 22:29:56 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-01100631-ca2b-475d-95b4-2d4b9bad0742</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-25 22:29:56 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |