Test duration : 10.265s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2020-11-24 08:08:37 |
2020-11-24 08:08:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:37 | ------------------------------------ 2020-11-24 08:08:37 | [Mutex] waiting for: [configured:node:node-a97e5da3-e8da-46f0-841b-7bc800e4c055:node-1f2ec7ab-611e-4675-a755-8b7f8fea8e27] 2020-11-24 08:08:37 | [Mutex] received everything. 2020-11-24 08:08:37 | [Mutex] isItemNotified: configured:node:node-a97e5da3-e8da-46f0-841b-7bc800e4c055:node-1f2ec7ab-611e-4675-a755-8b7f8fea8e27 :: true 2020-11-24 08:08:38 | [Mutex] waiting for: [received:nodes:4aa5596b-1e6d-4061-aed7-28308e8d6fe2:localhost] 2020-11-24 08:08:38 | [Mutex] received everything. 2020-11-24 08:08:38 | [Mutex] isItemNotified: received:node:4aa5596b-1e6d-4061-aed7-28308e8d6fe2:localhost:node-a97e5da3-e8da-46f0-841b-7bc800e4c055:Node a97e5da3-e8da-46f0-841b-7bc800e4c055 :: true 2020-11-24 08:08:38 | [Mutex] waiting for: [received:nodes:8256da23-cf1c-47f8-b1dc-09bb23dafdc3:localhost] 2020-11-24 08:08:38 | [Mutex] waiting for: [received:nodes:8256da23-cf1c-47f8-b1dc-09bb23dafdc3:localhost] 2020-11-24 08:08:38 | [Mutex] received everything. 2020-11-24 08:08:38 | [Mutex] isItemNotified: received:node:8256da23-cf1c-47f8-b1dc-09bb23dafdc3:localhost:node-a97e5da3-e8da-46f0-841b-7bc800e4c055:Node a97e5da3-e8da-46f0-841b-7bc800e4c055 :: false |
createNodes | 1.416s |
2020-11-24 08:08:34 |
2020-11-24 08:08:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:34 | ------------------------------------ 2020-11-24 08:08:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a97e5da3-e8da-46f0-841b-7bc800e4c055</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a97e5da3-e8da-46f0-841b-7bc800e4c055</title></pubsub></data> 2020-11-24 08:08:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-24 08:08:36 | [Mutex] waiting for: [received:nodes:1b09bb02-131b-4e44-ba8f-18a686d9e259:localhost] 2020-11-24 08:08:36 | [Mutex] waiting for: [received:nodes:1b09bb02-131b-4e44-ba8f-18a686d9e259:localhost] 2020-11-24 08:08:36 | [Mutex] waiting for: [received:nodes:1b09bb02-131b-4e44-ba8f-18a686d9e259:localhost] 2020-11-24 08:08:36 | [Mutex] received everything. 2020-11-24 08:08:36 | [Mutex] isItemNotified: received:node:1b09bb02-131b-4e44-ba8f-18a686d9e259:localhost:node-a97e5da3-e8da-46f0-841b-7bc800e4c055:Node a97e5da3-e8da-46f0-841b-7bc800e4c055 :: true |
createSubnodes | 1.024s |
2020-11-24 08:08:36 |
2020-11-24 08:08:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:36 | ------------------------------------ 2020-11-24 08:08:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1f2ec7ab-611e-4675-a755-8b7f8fea8e27</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1f2ec7ab-611e-4675-a755-8b7f8fea8e27</title></pubsub></data> 2020-11-24 08:08:36 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-24 08:08:37 | [Mutex] waiting for: [received:nodes:cc7fe9f8-4bf8-43ff-91c6-baea5a67c79e:localhost] 2020-11-24 08:08:37 | [Mutex] received everything. 2020-11-24 08:08:37 | [Mutex] isItemNotified: received:node:cc7fe9f8-4bf8-43ff-91c6-baea5a67c79e:localhost:node-1f2ec7ab-611e-4675-a755-8b7f8fea8e27:Node 1f2ec7ab-611e-4675-a755-8b7f8fea8e27 :: true |
deleteNodes | 1.018s |
2020-11-24 08:08:42 |
2020-11-24 08:08:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:42 | ------------------------------------ 2020-11-24 08:08:42 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1f2ec7ab-611e-4675-a755-8b7f8fea8e27</node></data> 2020-11-24 08:08:42 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-24 08:08:43 | [Mutex] waiting for: [received:nodes:5850dfe2-d02d-4ecd-9c68-5efb1c94272b:localhost] 2020-11-24 08:08:43 | [Mutex] received everything. 2020-11-24 08:08:43 | [Mutex] isItemNotified: received:node:5850dfe2-d02d-4ecd-9c68-5efb1c94272b:localhost:node-1f2ec7ab-611e-4675-a755-8b7f8fea8e27:Node 1f2ec7ab-611e-4675-a755-8b7f8fea8e27 :: false |
deleteSubnodes | 1.158s |
2020-11-24 08:08:41 |
2020-11-24 08:08:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:41 | ------------------------------------ 2020-11-24 08:08:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a97e5da3-e8da-46f0-841b-7bc800e4c055</node></data> 2020-11-24 08:08:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-24 08:08:42 | [Mutex] waiting for: [received:nodes:f47120a9-f78a-4ae9-a41c-61816e2ff3b9:localhost] 2020-11-24 08:08:42 | [Mutex] received everything. 2020-11-24 08:08:42 | [Mutex] isItemNotified: received:node:f47120a9-f78a-4ae9-a41c-61816e2ff3b9:localhost:node-a97e5da3-e8da-46f0-841b-7bc800e4c055:Node a97e5da3-e8da-46f0-841b-7bc800e4c055 :: false 2020-11-24 08:08:42 | [Mutex] waiting for: [received:nodes:4b8c7f01-15f7-4b62-8007-5a4d87f651f0:localhost] 2020-11-24 08:08:42 | [Mutex] received everything. 2020-11-24 08:08:42 | [Mutex] isItemNotified: received:node:4b8c7f01-15f7-4b62-8007-5a4d87f651f0:localhost:node-a97e5da3-e8da-46f0-841b-7bc800e4c055:Node a97e5da3-e8da-46f0-841b-7bc800e4c055 :: false |
publishItemsToNodes | 0.250s |
2020-11-24 08:08:39 |
2020-11-24 08:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:39 | ------------------------------------ 2020-11-24 08:08:39 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a97e5da3-e8da-46f0-841b-7bc800e4c055</node><item-id>item-f8d731f7-c4e7-4edf-a530-f43ca0fb3874</item-id><entry><test>item-f8d731f7-c4e7-4edf-a530-f43ca0fb3874</test></entry></data> 2020-11-24 08:08:39 | 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-f8d731f7-c4e7-4edf-a530-f43ca0fb3874</value></item-id></result> 2020-11-24 08:08:39 | [Mutex] waiting for: [published:item:notifieditem-f8d731f7-c4e7-4edf-a530-f43ca0fb3874:admin@test-domain.com] 2020-11-24 08:08:39 | [Mutex] received everything. 2020-11-24 08:08:39 | [Mutex] isItemNotified: published:item:notifieditem-f8d731f7-c4e7-4edf-a530-f43ca0fb3874:admin@test-domain.com :: true |
retractItemsFromNodes | 0.299s |
2020-11-24 08:08:40 |
2020-11-24 08:08:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:40 | ------------------------------------ 2020-11-24 08:08:40 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a97e5da3-e8da-46f0-841b-7bc800e4c055</node><item-id>item-f8d731f7-c4e7-4edf-a530-f43ca0fb3874</item-id></data> 2020-11-24 08:08:40 | 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-f8d731f7-c4e7-4edf-a530-f43ca0fb3874</value></item-id></result> 2020-11-24 08:08:40 | [Mutex] received everything. 2020-11-24 08:08:40 | [Mutex] isItemNotified: retracted:item:notifieditem-f8d731f7-c4e7-4edf-a530-f43ca0fb3874:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.344s |
2020-11-24 08:08:39 |
2020-11-24 08:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:39 | ------------------------------------ 2020-11-24 08:08:39 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a97e5da3-e8da-46f0-841b-7bc800e4c055</node><item-id>item-f8d731f7-c4e7-4edf-a530-f43ca0fb3874</item-id></data> 2020-11-24 08:08:39 | 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-a97e5da3-e8da-46f0-841b-7bc800e4c055</value></node><item-id label="Item ID" type="text-single"><value>item-f8d731f7-c4e7-4edf-a530-f43ca0fb3874</value></item-id><item label="Item" type="text-multi"><value><item id="item-f8d731f7-c4e7-4edf-a530-f43ca0fb3874"><test>item-f8d731f7-c4e7-4edf-a530-f43ca0fb3874</test></item></value></item></result> 2020-11-24 08:08:39 | [Mutex] notify: [retrieved:item:item-f8d731f7-c4e7-4edf-a530-f43ca0fb3874:payload-matches:true:localhost] 2020-11-24 08:08:39 | [Mutex] received everything. 2020-11-24 08:08:39 | [Mutex] isItemNotified: retrieved:item:item-f8d731f7-c4e7-4edf-a530-f43ca0fb3874:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-24 08:08:39 |
2020-11-24 08:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:39 | ------------------------------------ 2020-11-24 08:08:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-24 08:08:40 | 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-a97e5da3-e8da-46f0-841b-7bc800e4c055</value><value>node-1f2ec7ab-611e-4675-a755-8b7f8fea8e27</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-11-24 08:08:40 |
2020-11-24 08:08:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:40 | ------------------------------------ 2020-11-24 08:08:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a97e5da3-e8da-46f0-841b-7bc800e4c055)</node-pattern></data> 2020-11-24 08:08:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.139s |
2020-11-24 08:08:38 |
2020-11-24 08:08:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:38 | ------------------------------------ 2020-11-24 08:08:38 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a97e5da3-e8da-46f0-841b-7bc800e4c055</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-24 08:08:38 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.311s |
2020-11-24 08:08:40 |
2020-11-24 08:08:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:08:40 | ------------------------------------ 2020-11-24 08:08:40 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a97e5da3-e8da-46f0-841b-7bc800e4c055</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-24 08:08:40 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |