Test duration : 9.896s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.033s |
2020-12-28 21:58:19 |
2020-12-28 21:58:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:19 | ------------------------------------ 2020-12-28 21:58:19 | [Mutex] waiting for: [configured:node:node-d3532222-3b32-4a24-9afb-441d18559ca0:node-a953ce3f-2c10-4953-8454-768becf03bc3] 2020-12-28 21:58:19 | [Mutex] received everything. 2020-12-28 21:58:19 | [Mutex] isItemNotified: configured:node:node-d3532222-3b32-4a24-9afb-441d18559ca0:node-a953ce3f-2c10-4953-8454-768becf03bc3 :: true 2020-12-28 21:58:20 | [Mutex] waiting for: [received:nodes:ff8c102f-7dfd-46dd-ab32-b8c4c7eb55fc:localhost] 2020-12-28 21:58:20 | [Mutex] received everything. 2020-12-28 21:58:20 | [Mutex] isItemNotified: received:node:ff8c102f-7dfd-46dd-ab32-b8c4c7eb55fc:localhost:node-d3532222-3b32-4a24-9afb-441d18559ca0:Node d3532222-3b32-4a24-9afb-441d18559ca0 :: true 2020-12-28 21:58:20 | [Mutex] waiting for: [received:nodes:a6c0a627-3486-4403-bac2-3084860dd0e1:localhost] 2020-12-28 21:58:20 | [Mutex] received everything. 2020-12-28 21:58:20 | [Mutex] isItemNotified: received:node:a6c0a627-3486-4403-bac2-3084860dd0e1:localhost:node-d3532222-3b32-4a24-9afb-441d18559ca0:Node d3532222-3b32-4a24-9afb-441d18559ca0 :: false |
createNodes | 1.431s |
2020-12-28 21:58:17 |
2020-12-28 21:58:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:17 | ------------------------------------ 2020-12-28 21:58:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d3532222-3b32-4a24-9afb-441d18559ca0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d3532222-3b32-4a24-9afb-441d18559ca0</title></pubsub></data> 2020-12-28 21:58:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:58:18 | [Mutex] waiting for: [received:nodes:f54ca06a-aaf1-481f-8199-7db95c6a76dd:localhost] 2020-12-28 21:58:18 | [Mutex] received everything. 2020-12-28 21:58:18 | [Mutex] isItemNotified: received:node:f54ca06a-aaf1-481f-8199-7db95c6a76dd:localhost:node-d3532222-3b32-4a24-9afb-441d18559ca0:Node d3532222-3b32-4a24-9afb-441d18559ca0 :: true |
createSubnodes | 1.026s |
2020-12-28 21:58:18 |
2020-12-28 21:58:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:18 | ------------------------------------ 2020-12-28 21:58:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a953ce3f-2c10-4953-8454-768becf03bc3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a953ce3f-2c10-4953-8454-768becf03bc3</title></pubsub></data> 2020-12-28 21:58:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:58:19 | [Mutex] waiting for: [received:nodes:788fa2ef-3a16-4dc4-a5ee-237176ce85d3:localhost] 2020-12-28 21:58:19 | [Mutex] received everything. 2020-12-28 21:58:19 | [Mutex] isItemNotified: received:node:788fa2ef-3a16-4dc4-a5ee-237176ce85d3:localhost:node-a953ce3f-2c10-4953-8454-768becf03bc3:Node a953ce3f-2c10-4953-8454-768becf03bc3 :: true |
deleteNodes | 1.018s |
2020-12-28 21:58:25 |
2020-12-28 21:58:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:25 | ------------------------------------ 2020-12-28 21:58:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a953ce3f-2c10-4953-8454-768becf03bc3</node></data> 2020-12-28 21:58:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:58:26 | [Mutex] waiting for: [received:nodes:d1c577ab-1495-46ed-b0e1-aff627811954:localhost] 2020-12-28 21:58:26 | [Mutex] waiting for: [received:nodes:d1c577ab-1495-46ed-b0e1-aff627811954:localhost] 2020-12-28 21:58:26 | [Mutex] received everything. 2020-12-28 21:58:26 | [Mutex] isItemNotified: received:node:d1c577ab-1495-46ed-b0e1-aff627811954:localhost:node-a953ce3f-2c10-4953-8454-768becf03bc3:Node a953ce3f-2c10-4953-8454-768becf03bc3 :: false |
deleteSubnodes | 1.162s |
2020-12-28 21:58:24 |
2020-12-28 21:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:24 | ------------------------------------ 2020-12-28 21:58:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d3532222-3b32-4a24-9afb-441d18559ca0</node></data> 2020-12-28 21:58:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:58:25 | [Mutex] waiting for: [received:nodes:db001e20-6fe8-4a86-a67a-f0dcf5384305:localhost] 2020-12-28 21:58:25 | [Mutex] received everything. 2020-12-28 21:58:25 | [Mutex] isItemNotified: received:node:db001e20-6fe8-4a86-a67a-f0dcf5384305:localhost:node-d3532222-3b32-4a24-9afb-441d18559ca0:Node d3532222-3b32-4a24-9afb-441d18559ca0 :: false 2020-12-28 21:58:25 | [Mutex] waiting for: [received:nodes:cae70939-6028-4a13-964c-f9d7b8c2d4f9:localhost] 2020-12-28 21:58:25 | [Mutex] received everything. 2020-12-28 21:58:25 | [Mutex] isItemNotified: received:node:cae70939-6028-4a13-964c-f9d7b8c2d4f9:localhost:node-d3532222-3b32-4a24-9afb-441d18559ca0:Node d3532222-3b32-4a24-9afb-441d18559ca0 :: false |
publishItemsToNodes | 0.291s |
2020-12-28 21:58:21 |
2020-12-28 21:58:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:21 | ------------------------------------ 2020-12-28 21:58:21 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d3532222-3b32-4a24-9afb-441d18559ca0</node><item-id>item-bc366b1b-c3c5-4b84-a763-b812cf4645c2</item-id><entry><test>item-bc366b1b-c3c5-4b84-a763-b812cf4645c2</test></entry></data> 2020-12-28 21:58:22 | 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-bc366b1b-c3c5-4b84-a763-b812cf4645c2</value></item-id></result> 2020-12-28 21:58:22 | [Mutex] waiting for: [published:item:notifieditem-bc366b1b-c3c5-4b84-a763-b812cf4645c2:admin@test-domain.com] 2020-12-28 21:58:22 | [Mutex] received everything. 2020-12-28 21:58:22 | [Mutex] isItemNotified: published:item:notifieditem-bc366b1b-c3c5-4b84-a763-b812cf4645c2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2020-12-28 21:58:22 |
2020-12-28 21:58:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:22 | ------------------------------------ 2020-12-28 21:58:22 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d3532222-3b32-4a24-9afb-441d18559ca0</node><item-id>item-bc366b1b-c3c5-4b84-a763-b812cf4645c2</item-id></data> 2020-12-28 21:58:22 | 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-bc366b1b-c3c5-4b84-a763-b812cf4645c2</value></item-id></result> 2020-12-28 21:58:22 | [Mutex] received everything. 2020-12-28 21:58:22 | [Mutex] isItemNotified: retracted:item:notifieditem-bc366b1b-c3c5-4b84-a763-b812cf4645c2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.263s |
2020-12-28 21:58:22 |
2020-12-28 21:58:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:22 | ------------------------------------ 2020-12-28 21:58:22 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d3532222-3b32-4a24-9afb-441d18559ca0</node><item-id>item-bc366b1b-c3c5-4b84-a763-b812cf4645c2</item-id></data> 2020-12-28 21:58:22 | 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-d3532222-3b32-4a24-9afb-441d18559ca0</value></node><item-id label="Item ID" type="text-single"><value>item-bc366b1b-c3c5-4b84-a763-b812cf4645c2</value></item-id><item label="Item" type="text-multi"><value><item id="item-bc366b1b-c3c5-4b84-a763-b812cf4645c2"><test>item-bc366b1b-c3c5-4b84-a763-b812cf4645c2</test></item></value></item></result> 2020-12-28 21:58:22 | [Mutex] notify: [retrieved:item:item-bc366b1b-c3c5-4b84-a763-b812cf4645c2:payload-matches:true:localhost] 2020-12-28 21:58:22 | [Mutex] received everything. 2020-12-28 21:58:22 | [Mutex] isItemNotified: retrieved:item:item-bc366b1b-c3c5-4b84-a763-b812cf4645c2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.091s |
2020-12-28 21:58:22 |
2020-12-28 21:58:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:22 | ------------------------------------ 2020-12-28 21:58:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-12-28 21:58:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-d3532222-3b32-4a24-9afb-441d18559ca0</value><value>test</value><value>node-a953ce3f-2c10-4953-8454-768becf03bc3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-12-28 21:58:22 |
2020-12-28 21:58:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:22 | ------------------------------------ 2020-12-28 21:58:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d3532222-3b32-4a24-9afb-441d18559ca0)</node-pattern></data> 2020-12-28 21:58:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.100s |
2020-12-28 21:58:20 |
2020-12-28 21:58:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:20 | ------------------------------------ 2020-12-28 21:58:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d3532222-3b32-4a24-9afb-441d18559ca0</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-28 21:58:20 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.287s |
2020-12-28 21:58:22 |
2020-12-28 21:58:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:22 | ------------------------------------ 2020-12-28 21:58:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d3532222-3b32-4a24-9afb-441d18559ca0</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-28 21:58:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |