Test duration : 9.922s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2020-08-26 00:24:29 |
2020-08-26 00:24:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:29 | ------------------------------------ 2020-08-26 00:24:29 | [Mutex] waiting for: [configured:node:node-63a0797d-3b2d-427e-af43-fa1938ed5254:node-cbe65631-2357-420e-8138-865f6a341fa4] 2020-08-26 00:24:29 | [Mutex] received everything. 2020-08-26 00:24:29 | [Mutex] isItemNotified: configured:node:node-63a0797d-3b2d-427e-af43-fa1938ed5254:node-cbe65631-2357-420e-8138-865f6a341fa4 :: true 2020-08-26 00:24:30 | [Mutex] waiting for: [received:nodes:834f6fac-42c7-4d85-b114-015157857cc1:localhost] 2020-08-26 00:24:30 | [Mutex] received everything. 2020-08-26 00:24:30 | [Mutex] isItemNotified: received:node:834f6fac-42c7-4d85-b114-015157857cc1:localhost:node-63a0797d-3b2d-427e-af43-fa1938ed5254:Node 63a0797d-3b2d-427e-af43-fa1938ed5254 :: true 2020-08-26 00:24:30 | [Mutex] waiting for: [received:nodes:afd7852f-2bc8-4cb7-9e77-47ff9062b689:localhost] 2020-08-26 00:24:30 | [Mutex] received everything. 2020-08-26 00:24:30 | [Mutex] isItemNotified: received:node:afd7852f-2bc8-4cb7-9e77-47ff9062b689:localhost:node-63a0797d-3b2d-427e-af43-fa1938ed5254:Node 63a0797d-3b2d-427e-af43-fa1938ed5254 :: false |
createNodes | 1.363s |
2020-08-26 00:24:26 |
2020-08-26 00:24:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:26 | ------------------------------------ 2020-08-26 00:24:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-63a0797d-3b2d-427e-af43-fa1938ed5254</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 63a0797d-3b2d-427e-af43-fa1938ed5254</title></pubsub></data> 2020-08-26 00:24:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 00:24:28 | [Mutex] waiting for: [received:nodes:b5a19411-1794-43b7-bc33-356fba87281b:localhost] 2020-08-26 00:24:28 | [Mutex] received everything. 2020-08-26 00:24:28 | [Mutex] isItemNotified: received:node:b5a19411-1794-43b7-bc33-356fba87281b:localhost:node-63a0797d-3b2d-427e-af43-fa1938ed5254:Node 63a0797d-3b2d-427e-af43-fa1938ed5254 :: true |
createSubnodes | 1.048s |
2020-08-26 00:24:28 |
2020-08-26 00:24:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:28 | ------------------------------------ 2020-08-26 00:24:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cbe65631-2357-420e-8138-865f6a341fa4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cbe65631-2357-420e-8138-865f6a341fa4</title></pubsub></data> 2020-08-26 00:24:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 00:24:29 | [Mutex] waiting for: [received:nodes:5a558067-5abe-41bf-9d34-5438e7156379:localhost] 2020-08-26 00:24:29 | [Mutex] received everything. 2020-08-26 00:24:29 | [Mutex] isItemNotified: received:node:5a558067-5abe-41bf-9d34-5438e7156379:localhost:node-cbe65631-2357-420e-8138-865f6a341fa4:Node cbe65631-2357-420e-8138-865f6a341fa4 :: true |
deleteNodes | 1.018s |
2020-08-26 00:24:34 |
2020-08-26 00:24:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:34 | ------------------------------------ 2020-08-26 00:24:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cbe65631-2357-420e-8138-865f6a341fa4</node></data> 2020-08-26 00:24:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 00:24:35 | [Mutex] waiting for: [received:nodes:c57d9dff-62f9-49b6-a5b1-a45e54d19f09:localhost] 2020-08-26 00:24:35 | [Mutex] received everything. 2020-08-26 00:24:35 | [Mutex] isItemNotified: received:node:c57d9dff-62f9-49b6-a5b1-a45e54d19f09:localhost:node-cbe65631-2357-420e-8138-865f6a341fa4:Node cbe65631-2357-420e-8138-865f6a341fa4 :: false |
deleteSubnodes | 1.121s |
2020-08-26 00:24:33 |
2020-08-26 00:24:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:33 | ------------------------------------ 2020-08-26 00:24:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-63a0797d-3b2d-427e-af43-fa1938ed5254</node></data> 2020-08-26 00:24:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 00:24:34 | [Mutex] waiting for: [received:nodes:f58036a0-8fc1-4dd7-be7f-f53e86ea034a:localhost] 2020-08-26 00:24:34 | [Mutex] received everything. 2020-08-26 00:24:34 | [Mutex] isItemNotified: received:node:f58036a0-8fc1-4dd7-be7f-f53e86ea034a:localhost:node-63a0797d-3b2d-427e-af43-fa1938ed5254:Node 63a0797d-3b2d-427e-af43-fa1938ed5254 :: false 2020-08-26 00:24:34 | [Mutex] waiting for: [received:nodes:8421f60f-d607-4e20-8738-700aba6a879b:localhost] 2020-08-26 00:24:34 | [Mutex] received everything. 2020-08-26 00:24:34 | [Mutex] isItemNotified: received:node:8421f60f-d607-4e20-8738-700aba6a879b:localhost:node-63a0797d-3b2d-427e-af43-fa1938ed5254:Node 63a0797d-3b2d-427e-af43-fa1938ed5254 :: false |
publishItemsToNodes | 0.246s |
2020-08-26 00:24:31 |
2020-08-26 00:24:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:31 | ------------------------------------ 2020-08-26 00:24:31 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-63a0797d-3b2d-427e-af43-fa1938ed5254</node><item-id>item-d086285f-820f-4d5e-ae49-26f53866fddd</item-id><entry><test>item-d086285f-820f-4d5e-ae49-26f53866fddd</test></entry></data> 2020-08-26 00:24:31 | 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-d086285f-820f-4d5e-ae49-26f53866fddd</value></item-id></result> 2020-08-26 00:24:31 | [Mutex] received everything. 2020-08-26 00:24:31 | [Mutex] isItemNotified: published:item:notifieditem-d086285f-820f-4d5e-ae49-26f53866fddd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.254s |
2020-08-26 00:24:31 |
2020-08-26 00:24:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:31 | ------------------------------------ 2020-08-26 00:24:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-63a0797d-3b2d-427e-af43-fa1938ed5254</node><item-id>item-d086285f-820f-4d5e-ae49-26f53866fddd</item-id></data> 2020-08-26 00:24:32 | 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-d086285f-820f-4d5e-ae49-26f53866fddd</value></item-id></result> 2020-08-26 00:24:32 | [Mutex] waiting for: [retracted:item:notifieditem-d086285f-820f-4d5e-ae49-26f53866fddd:admin@test-domain.com] 2020-08-26 00:24:32 | [Mutex] received everything. 2020-08-26 00:24:32 | [Mutex] isItemNotified: retracted:item:notifieditem-d086285f-820f-4d5e-ae49-26f53866fddd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.168s |
2020-08-26 00:24:31 |
2020-08-26 00:24:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:31 | ------------------------------------ 2020-08-26 00:24:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-63a0797d-3b2d-427e-af43-fa1938ed5254</node><item-id>item-d086285f-820f-4d5e-ae49-26f53866fddd</item-id></data> 2020-08-26 00:24:31 | 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-63a0797d-3b2d-427e-af43-fa1938ed5254</value></node><item-id label="Item ID" type="text-single"><value>item-d086285f-820f-4d5e-ae49-26f53866fddd</value></item-id><item label="Item" type="text-multi"><value><item id="item-d086285f-820f-4d5e-ae49-26f53866fddd"><test>item-d086285f-820f-4d5e-ae49-26f53866fddd</test></item></value></item></result> 2020-08-26 00:24:31 | [Mutex] notify: [retrieved:item:item-d086285f-820f-4d5e-ae49-26f53866fddd:payload-matches:true:localhost] 2020-08-26 00:24:31 | [Mutex] received everything. 2020-08-26 00:24:31 | [Mutex] isItemNotified: retrieved:item:item-d086285f-820f-4d5e-ae49-26f53866fddd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-08-26 00:24:31 |
2020-08-26 00:24:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:31 | ------------------------------------ 2020-08-26 00:24:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-26 00:24:31 | 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-63a0797d-3b2d-427e-af43-fa1938ed5254</value><value>node-cbe65631-2357-420e-8138-865f6a341fa4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-08-26 00:24:31 |
2020-08-26 00:24:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:31 | ------------------------------------ 2020-08-26 00:24:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-63a0797d-3b2d-427e-af43-fa1938ed5254)</node-pattern></data> 2020-08-26 00:24:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.116s |
2020-08-26 00:24:30 |
2020-08-26 00:24:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:30 | ------------------------------------ 2020-08-26 00:24:30 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-63a0797d-3b2d-427e-af43-fa1938ed5254</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-26 00:24:30 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.324s |
2020-08-26 00:24:32 |
2020-08-26 00:24:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 00:24:32 | ------------------------------------ 2020-08-26 00:24:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-63a0797d-3b2d-427e-af43-fa1938ed5254</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-26 00:24:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |