Test duration : 10.100s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.136s |
2020-11-19 21:48:41 |
2020-11-19 21:48:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:41 | ------------------------------------ 2020-11-19 21:48:41 | [Mutex] waiting for: [configured:node:node-38a66082-f64d-40fc-b4ca-79379a36f5c4:node-b155f67e-95fa-44dc-8a85-bb49d12a9a9a] 2020-11-19 21:48:41 | [Mutex] received everything. 2020-11-19 21:48:41 | [Mutex] isItemNotified: configured:node:node-38a66082-f64d-40fc-b4ca-79379a36f5c4:node-b155f67e-95fa-44dc-8a85-bb49d12a9a9a :: true 2020-11-19 21:48:42 | [Mutex] waiting for: [received:nodes:f13362ed-5650-43e1-825d-a7e222d5a30a:localhost] 2020-11-19 21:48:42 | [Mutex] waiting for: [received:nodes:f13362ed-5650-43e1-825d-a7e222d5a30a:localhost] 2020-11-19 21:48:42 | [Mutex] received everything. 2020-11-19 21:48:42 | [Mutex] isItemNotified: received:node:f13362ed-5650-43e1-825d-a7e222d5a30a:localhost:node-38a66082-f64d-40fc-b4ca-79379a36f5c4:Node 38a66082-f64d-40fc-b4ca-79379a36f5c4 :: true 2020-11-19 21:48:42 | [Mutex] waiting for: [received:nodes:fe77960b-928b-403d-afc3-2e3627cfcd16:localhost] 2020-11-19 21:48:42 | [Mutex] received everything. 2020-11-19 21:48:42 | [Mutex] isItemNotified: received:node:fe77960b-928b-403d-afc3-2e3627cfcd16:localhost:node-38a66082-f64d-40fc-b4ca-79379a36f5c4:Node 38a66082-f64d-40fc-b4ca-79379a36f5c4 :: false |
createNodes | 1.398s |
2020-11-19 21:48:39 |
2020-11-19 21:48:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:39 | ------------------------------------ 2020-11-19 21:48:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-38a66082-f64d-40fc-b4ca-79379a36f5c4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 38a66082-f64d-40fc-b4ca-79379a36f5c4</title></pubsub></data> 2020-11-19 21:48:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:48:40 | [Mutex] waiting for: [received:nodes:8883feb3-b960-4f4f-97b4-225898f4f55e:localhost] 2020-11-19 21:48:40 | [Mutex] received everything. 2020-11-19 21:48:40 | [Mutex] isItemNotified: received:node:8883feb3-b960-4f4f-97b4-225898f4f55e:localhost:node-38a66082-f64d-40fc-b4ca-79379a36f5c4:Node 38a66082-f64d-40fc-b4ca-79379a36f5c4 :: true |
createSubnodes | 1.030s |
2020-11-19 21:48:40 |
2020-11-19 21:48:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:40 | ------------------------------------ 2020-11-19 21:48:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b155f67e-95fa-44dc-8a85-bb49d12a9a9a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b155f67e-95fa-44dc-8a85-bb49d12a9a9a</title></pubsub></data> 2020-11-19 21:48:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:48:41 | [Mutex] waiting for: [received:nodes:a59ccd1c-8783-4e4d-8435-59831357fefd:localhost] 2020-11-19 21:48:41 | [Mutex] received everything. 2020-11-19 21:48:41 | [Mutex] isItemNotified: received:node:a59ccd1c-8783-4e4d-8435-59831357fefd:localhost:node-b155f67e-95fa-44dc-8a85-bb49d12a9a9a:Node b155f67e-95fa-44dc-8a85-bb49d12a9a9a :: true |
deleteNodes | 1.020s |
2020-11-19 21:48:47 |
2020-11-19 21:48:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:47 | ------------------------------------ 2020-11-19 21:48:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b155f67e-95fa-44dc-8a85-bb49d12a9a9a</node></data> 2020-11-19 21:48:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:48:48 | [Mutex] waiting for: [received:nodes:3e11a2db-70ee-46dc-92ac-280ac2c3c301:localhost] 2020-11-19 21:48:48 | [Mutex] received everything. 2020-11-19 21:48:48 | [Mutex] isItemNotified: received:node:3e11a2db-70ee-46dc-92ac-280ac2c3c301:localhost:node-b155f67e-95fa-44dc-8a85-bb49d12a9a9a:Node b155f67e-95fa-44dc-8a85-bb49d12a9a9a :: false |
deleteSubnodes | 1.137s |
2020-11-19 21:48:46 |
2020-11-19 21:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:46 | ------------------------------------ 2020-11-19 21:48:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-38a66082-f64d-40fc-b4ca-79379a36f5c4</node></data> 2020-11-19 21:48:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:48:47 | [Mutex] waiting for: [received:nodes:d16c997a-d2b7-43e4-af61-eba7f1363c0e:localhost] 2020-11-19 21:48:47 | [Mutex] waiting for: [received:nodes:d16c997a-d2b7-43e4-af61-eba7f1363c0e:localhost] 2020-11-19 21:48:47 | [Mutex] received everything. 2020-11-19 21:48:47 | [Mutex] isItemNotified: received:node:d16c997a-d2b7-43e4-af61-eba7f1363c0e:localhost:node-38a66082-f64d-40fc-b4ca-79379a36f5c4:Node 38a66082-f64d-40fc-b4ca-79379a36f5c4 :: false 2020-11-19 21:48:47 | [Mutex] waiting for: [received:nodes:f86ebba4-699b-46b7-b832-1971db6794a5:localhost] 2020-11-19 21:48:47 | [Mutex] received everything. 2020-11-19 21:48:47 | [Mutex] isItemNotified: received:node:f86ebba4-699b-46b7-b832-1971db6794a5:localhost:node-38a66082-f64d-40fc-b4ca-79379a36f5c4:Node 38a66082-f64d-40fc-b4ca-79379a36f5c4 :: false |
publishItemsToNodes | 0.217s |
2020-11-19 21:48:43 |
2020-11-19 21:48:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:43 | ------------------------------------ 2020-11-19 21:48:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-38a66082-f64d-40fc-b4ca-79379a36f5c4</node><item-id>item-085dddb6-a6bb-4993-9cb7-d969e81dd819</item-id><entry><test>item-085dddb6-a6bb-4993-9cb7-d969e81dd819</test></entry></data> 2020-11-19 21:48:44 | 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-085dddb6-a6bb-4993-9cb7-d969e81dd819</value></item-id></result> 2020-11-19 21:48:44 | [Mutex] waiting for: [published:item:notifieditem-085dddb6-a6bb-4993-9cb7-d969e81dd819:admin@test-domain.com] 2020-11-19 21:48:44 | [Mutex] received everything. 2020-11-19 21:48:44 | [Mutex] isItemNotified: published:item:notifieditem-085dddb6-a6bb-4993-9cb7-d969e81dd819:admin@test-domain.com :: true |
retractItemsFromNodes | 0.280s |
2020-11-19 21:48:44 |
2020-11-19 21:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:44 | ------------------------------------ 2020-11-19 21:48:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-38a66082-f64d-40fc-b4ca-79379a36f5c4</node><item-id>item-085dddb6-a6bb-4993-9cb7-d969e81dd819</item-id></data> 2020-11-19 21:48:44 | 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-085dddb6-a6bb-4993-9cb7-d969e81dd819</value></item-id></result> 2020-11-19 21:48:44 | [Mutex] waiting for: [retracted:item:notifieditem-085dddb6-a6bb-4993-9cb7-d969e81dd819:admin@test-domain.com] 2020-11-19 21:48:44 | [Mutex] received everything. 2020-11-19 21:48:44 | [Mutex] isItemNotified: retracted:item:notifieditem-085dddb6-a6bb-4993-9cb7-d969e81dd819:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.207s |
2020-11-19 21:48:44 |
2020-11-19 21:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:44 | ------------------------------------ 2020-11-19 21:48:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-38a66082-f64d-40fc-b4ca-79379a36f5c4</node><item-id>item-085dddb6-a6bb-4993-9cb7-d969e81dd819</item-id></data> 2020-11-19 21:48:44 | 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-38a66082-f64d-40fc-b4ca-79379a36f5c4</value></node><item-id type="text-single" label="Item ID"><value>item-085dddb6-a6bb-4993-9cb7-d969e81dd819</value></item-id><item type="text-multi" label="Item"><value><item id="item-085dddb6-a6bb-4993-9cb7-d969e81dd819"><test>item-085dddb6-a6bb-4993-9cb7-d969e81dd819</test></item></value></item></result> 2020-11-19 21:48:44 | [Mutex] notify: [retrieved:item:item-085dddb6-a6bb-4993-9cb7-d969e81dd819:payload-matches:true:localhost] 2020-11-19 21:48:44 | [Mutex] received everything. 2020-11-19 21:48:44 | [Mutex] isItemNotified: retrieved:item:item-085dddb6-a6bb-4993-9cb7-d969e81dd819:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2020-11-19 21:48:44 |
2020-11-19 21:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:44 | ------------------------------------ 2020-11-19 21:48:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-19 21:48:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-b155f67e-95fa-44dc-8a85-bb49d12a9a9a</value><value>test</value><value>node-38a66082-f64d-40fc-b4ca-79379a36f5c4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2020-11-19 21:48:44 |
2020-11-19 21:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:44 | ------------------------------------ 2020-11-19 21:48:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-38a66082-f64d-40fc-b4ca-79379a36f5c4)</node-pattern></data> 2020-11-19 21:48:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.099s |
2020-11-19 21:48:42 |
2020-11-19 21:48:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:42 | ------------------------------------ 2020-11-19 21:48:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-38a66082-f64d-40fc-b4ca-79379a36f5c4</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-19 21:48:42 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.274s |
2020-11-19 21:48:44 |
2020-11-19 21:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:48:44 | ------------------------------------ 2020-11-19 21:48:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-38a66082-f64d-40fc-b4ca-79379a36f5c4</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-19 21:48:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |