Test duration : 9.511s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.083s |
2022-06-02 22:47:22 |
2022-06-02 22:47:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:22 | ------------------------------------ 2022-06-02 22:47:22 | [Mutex] waiting for: [configured:node:node-81372dc0-ba39-4e02-8de2-ff361a4831a2:node-f2fda00b-d2f7-4e98-b5b8-d40bf11d4334] 2022-06-02 22:47:23 | [Mutex] received everything. 2022-06-02 22:47:23 | [Mutex] isItemNotified: configured:node:node-81372dc0-ba39-4e02-8de2-ff361a4831a2:node-f2fda00b-d2f7-4e98-b5b8-d40bf11d4334 :: true 2022-06-02 22:47:24 | [Mutex] waiting for: [received:nodes:419d9c2d-b5fd-4ce1-b9b1-b4cbe8867705:localhost] 2022-06-02 22:47:24 | [Mutex] received everything. 2022-06-02 22:47:24 | [Mutex] isItemNotified: received:node:419d9c2d-b5fd-4ce1-b9b1-b4cbe8867705:localhost:node-81372dc0-ba39-4e02-8de2-ff361a4831a2:Node 81372dc0-ba39-4e02-8de2-ff361a4831a2 :: true 2022-06-02 22:47:24 | [Mutex] waiting for: [received:nodes:0c6ba332-dc4b-4029-99a3-71ff97672637:localhost] 2022-06-02 22:47:24 | [Mutex] waiting for: [received:nodes:0c6ba332-dc4b-4029-99a3-71ff97672637:localhost] 2022-06-02 22:47:24 | [Mutex] received everything. 2022-06-02 22:47:24 | [Mutex] isItemNotified: received:node:0c6ba332-dc4b-4029-99a3-71ff97672637:localhost:node-81372dc0-ba39-4e02-8de2-ff361a4831a2:Node 81372dc0-ba39-4e02-8de2-ff361a4831a2 :: false |
createNodes | 1.412s |
2022-06-02 22:47:20 |
2022-06-02 22:47:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:20 | ------------------------------------ 2022-06-02 22:47:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-81372dc0-ba39-4e02-8de2-ff361a4831a2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 81372dc0-ba39-4e02-8de2-ff361a4831a2</title></pubsub></data> 2022-06-02 22:47:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-02 22:47:21 | [Mutex] waiting for: [received:nodes:2b75fde9-a10a-4dbf-bee5-9f3d633340f8:localhost] 2022-06-02 22:47:21 | [Mutex] received everything. 2022-06-02 22:47:21 | [Mutex] isItemNotified: received:node:2b75fde9-a10a-4dbf-bee5-9f3d633340f8:localhost:node-81372dc0-ba39-4e02-8de2-ff361a4831a2:Node 81372dc0-ba39-4e02-8de2-ff361a4831a2 :: true |
createSubnodes | 1.023s |
2022-06-02 22:47:21 |
2022-06-02 22:47:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:21 | ------------------------------------ 2022-06-02 22:47:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f2fda00b-d2f7-4e98-b5b8-d40bf11d4334</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f2fda00b-d2f7-4e98-b5b8-d40bf11d4334</title></pubsub></data> 2022-06-02 22:47:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-02 22:47:22 | [Mutex] waiting for: [received:nodes:6022429d-40fe-4f58-8e31-3ddac78a2a04:localhost] 2022-06-02 22:47:22 | [Mutex] waiting for: [received:nodes:6022429d-40fe-4f58-8e31-3ddac78a2a04:localhost] 2022-06-02 22:47:22 | [Mutex] received everything. 2022-06-02 22:47:22 | [Mutex] isItemNotified: received:node:6022429d-40fe-4f58-8e31-3ddac78a2a04:localhost:node-f2fda00b-d2f7-4e98-b5b8-d40bf11d4334:Node f2fda00b-d2f7-4e98-b5b8-d40bf11d4334 :: true |
deleteNodes | 1.017s |
2022-06-02 22:47:28 |
2022-06-02 22:47:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:28 | ------------------------------------ 2022-06-02 22:47:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f2fda00b-d2f7-4e98-b5b8-d40bf11d4334</node></data> 2022-06-02 22:47:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-02 22:47:29 | [Mutex] waiting for: [received:nodes:8ec3c499-aace-4476-966b-3d8397169405:localhost] 2022-06-02 22:47:29 | [Mutex] waiting for: [received:nodes:8ec3c499-aace-4476-966b-3d8397169405:localhost] 2022-06-02 22:47:29 | [Mutex] received everything. 2022-06-02 22:47:29 | [Mutex] isItemNotified: received:node:8ec3c499-aace-4476-966b-3d8397169405:localhost:node-f2fda00b-d2f7-4e98-b5b8-d40bf11d4334:Node f2fda00b-d2f7-4e98-b5b8-d40bf11d4334 :: false |
deleteSubnodes | 1.130s |
2022-06-02 22:47:27 |
2022-06-02 22:47:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:27 | ------------------------------------ 2022-06-02 22:47:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-81372dc0-ba39-4e02-8de2-ff361a4831a2</node></data> 2022-06-02 22:47:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-02 22:47:28 | [Mutex] waiting for: [received:nodes:72cc162e-a106-484e-93cd-1f9d6509f65c:localhost] 2022-06-02 22:47:28 | [Mutex] waiting for: [received:nodes:72cc162e-a106-484e-93cd-1f9d6509f65c:localhost] 2022-06-02 22:47:28 | [Mutex] waiting for: [received:nodes:72cc162e-a106-484e-93cd-1f9d6509f65c:localhost] 2022-06-02 22:47:28 | [Mutex] received everything. 2022-06-02 22:47:28 | [Mutex] isItemNotified: received:node:72cc162e-a106-484e-93cd-1f9d6509f65c:localhost:node-81372dc0-ba39-4e02-8de2-ff361a4831a2:Node 81372dc0-ba39-4e02-8de2-ff361a4831a2 :: false 2022-06-02 22:47:28 | [Mutex] waiting for: [received:nodes:d15973e0-edd5-4119-8c7a-7748a16a974c:localhost] 2022-06-02 22:47:28 | [Mutex] received everything. 2022-06-02 22:47:28 | [Mutex] isItemNotified: received:node:d15973e0-edd5-4119-8c7a-7748a16a974c:localhost:node-81372dc0-ba39-4e02-8de2-ff361a4831a2:Node 81372dc0-ba39-4e02-8de2-ff361a4831a2 :: false |
publishItemsToNodes | 0.219s |
2022-06-02 22:47:25 |
2022-06-02 22:47:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:25 | ------------------------------------ 2022-06-02 22:47:25 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-81372dc0-ba39-4e02-8de2-ff361a4831a2</node><item-id>item-65376a93-dfbd-43cf-946f-935317990961</item-id><entry><test>item-65376a93-dfbd-43cf-946f-935317990961</test></entry></data> 2022-06-02 22:47:25 | 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-65376a93-dfbd-43cf-946f-935317990961</value></item-id></result> 2022-06-02 22:47:25 | [Mutex] waiting for: [published:item:notifieditem-65376a93-dfbd-43cf-946f-935317990961:admin@test-domain.com] 2022-06-02 22:47:25 | [Mutex] received everything. 2022-06-02 22:47:25 | [Mutex] isItemNotified: published:item:notifieditem-65376a93-dfbd-43cf-946f-935317990961:admin@test-domain.com :: true |
retractItemsFromNodes | 0.351s |
2022-06-02 22:47:25 |
2022-06-02 22:47:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:25 | ------------------------------------ 2022-06-02 22:47:25 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-81372dc0-ba39-4e02-8de2-ff361a4831a2</node><item-id>item-65376a93-dfbd-43cf-946f-935317990961</item-id></data> 2022-06-02 22:47:26 | 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-65376a93-dfbd-43cf-946f-935317990961</value></item-id></result> 2022-06-02 22:47:26 | [Mutex] received everything. 2022-06-02 22:47:26 | [Mutex] isItemNotified: retracted:item:notifieditem-65376a93-dfbd-43cf-946f-935317990961:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.165s |
2022-06-02 22:47:25 |
2022-06-02 22:47:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:25 | ------------------------------------ 2022-06-02 22:47:25 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-81372dc0-ba39-4e02-8de2-ff361a4831a2</node><item-id>item-65376a93-dfbd-43cf-946f-935317990961</item-id></data> 2022-06-02 22:47:25 | 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-81372dc0-ba39-4e02-8de2-ff361a4831a2</value></node><item-id label="Item ID" type="text-single"><value>item-65376a93-dfbd-43cf-946f-935317990961</value></item-id><item label="Item" type="text-multi"><value><item id="item-65376a93-dfbd-43cf-946f-935317990961"><test>item-65376a93-dfbd-43cf-946f-935317990961</test></item></value></item></result> 2022-06-02 22:47:25 | [Mutex] notify: [retrieved:item:item-65376a93-dfbd-43cf-946f-935317990961:payload-matches:true:localhost] 2022-06-02 22:47:25 | [Mutex] received everything. 2022-06-02 22:47:25 | [Mutex] isItemNotified: retrieved:item:item-65376a93-dfbd-43cf-946f-935317990961:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-06-02 22:47:25 |
2022-06-02 22:47:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:25 | ------------------------------------ 2022-06-02 22:47:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-02 22:47:25 | 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-81372dc0-ba39-4e02-8de2-ff361a4831a2</value><value>node-f2fda00b-d2f7-4e98-b5b8-d40bf11d4334</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-02 22:47:25 |
2022-06-02 22:47:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:25 | ------------------------------------ 2022-06-02 22:47:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-81372dc0-ba39-4e02-8de2-ff361a4831a2)</node-pattern></data> 2022-06-02 22:47:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.152s |
2022-06-02 22:47:24 |
2022-06-02 22:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:24 | ------------------------------------ 2022-06-02 22:47:24 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-81372dc0-ba39-4e02-8de2-ff361a4831a2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-02 22:47:24 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.235s |
2022-06-02 22:47:26 |
2022-06-02 22:47:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 22:47:26 | ------------------------------------ 2022-06-02 22:47:26 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-81372dc0-ba39-4e02-8de2-ff361a4831a2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-02 22:47:26 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |