Test duration : 9.761s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.118s |
2020-09-28 23:10:21 |
2020-09-28 23:10:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:21 | ------------------------------------ 2020-09-28 23:10:21 | [Mutex] waiting for: [configured:node:node-7a790841-55d3-42c8-aad4-6e81e2650926:node-7543fca8-4bdb-41d0-a210-71bd064c5e31] 2020-09-28 23:10:21 | [Mutex] received everything. 2020-09-28 23:10:21 | [Mutex] isItemNotified: configured:node:node-7a790841-55d3-42c8-aad4-6e81e2650926:node-7543fca8-4bdb-41d0-a210-71bd064c5e31 :: true 2020-09-28 23:10:22 | [Mutex] waiting for: [received:nodes:1724a255-e81a-45d0-8eae-75caaa6c2a34:localhost] 2020-09-28 23:10:22 | [Mutex] received everything. 2020-09-28 23:10:22 | [Mutex] isItemNotified: received:node:1724a255-e81a-45d0-8eae-75caaa6c2a34:localhost:node-7a790841-55d3-42c8-aad4-6e81e2650926:Node 7a790841-55d3-42c8-aad4-6e81e2650926 :: true 2020-09-28 23:10:22 | [Mutex] waiting for: [received:nodes:9d655ce2-7657-4178-ae16-4e029e24a359:localhost] 2020-09-28 23:10:22 | [Mutex] received everything. 2020-09-28 23:10:22 | [Mutex] isItemNotified: received:node:9d655ce2-7657-4178-ae16-4e029e24a359:localhost:node-7a790841-55d3-42c8-aad4-6e81e2650926:Node 7a790841-55d3-42c8-aad4-6e81e2650926 :: false |
createNodes | 1.382s |
2020-09-28 23:10:18 |
2020-09-28 23:10:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:18 | ------------------------------------ 2020-09-28 23:10:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7a790841-55d3-42c8-aad4-6e81e2650926</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7a790841-55d3-42c8-aad4-6e81e2650926</title></pubsub></data> 2020-09-28 23:10:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 23:10:20 | [Mutex] waiting for: [received:nodes:a0b85b9a-f4ee-4b5a-9c43-a380a77f4d3d:localhost] 2020-09-28 23:10:20 | [Mutex] received everything. 2020-09-28 23:10:20 | [Mutex] isItemNotified: received:node:a0b85b9a-f4ee-4b5a-9c43-a380a77f4d3d:localhost:node-7a790841-55d3-42c8-aad4-6e81e2650926:Node 7a790841-55d3-42c8-aad4-6e81e2650926 :: true |
createSubnodes | 1.035s |
2020-09-28 23:10:20 |
2020-09-28 23:10:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:20 | ------------------------------------ 2020-09-28 23:10:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7543fca8-4bdb-41d0-a210-71bd064c5e31</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7543fca8-4bdb-41d0-a210-71bd064c5e31</title></pubsub></data> 2020-09-28 23:10:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 23:10:21 | [Mutex] waiting for: [received:nodes:6f205ad6-8a43-482d-a4da-e3b23eaf4c2d:localhost] 2020-09-28 23:10:21 | [Mutex] received everything. 2020-09-28 23:10:21 | [Mutex] isItemNotified: received:node:6f205ad6-8a43-482d-a4da-e3b23eaf4c2d:localhost:node-7543fca8-4bdb-41d0-a210-71bd064c5e31:Node 7543fca8-4bdb-41d0-a210-71bd064c5e31 :: true |
deleteNodes | 1.027s |
2020-09-28 23:10:26 |
2020-09-28 23:10:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:26 | ------------------------------------ 2020-09-28 23:10:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7543fca8-4bdb-41d0-a210-71bd064c5e31</node></data> 2020-09-28 23:10:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 23:10:27 | [Mutex] waiting for: [received:nodes:20e51fa2-e2b7-4c44-a93b-bde931c183de:localhost] 2020-09-28 23:10:27 | [Mutex] waiting for: [received:nodes:20e51fa2-e2b7-4c44-a93b-bde931c183de:localhost] 2020-09-28 23:10:27 | [Mutex] received everything. 2020-09-28 23:10:27 | [Mutex] isItemNotified: received:node:20e51fa2-e2b7-4c44-a93b-bde931c183de:localhost:node-7543fca8-4bdb-41d0-a210-71bd064c5e31:Node 7543fca8-4bdb-41d0-a210-71bd064c5e31 :: false |
deleteSubnodes | 1.117s |
2020-09-28 23:10:25 |
2020-09-28 23:10:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:25 | ------------------------------------ 2020-09-28 23:10:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7a790841-55d3-42c8-aad4-6e81e2650926</node></data> 2020-09-28 23:10:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 23:10:26 | [Mutex] waiting for: [received:nodes:22044b44-7096-4184-bb80-114457c417f2:localhost] 2020-09-28 23:10:26 | [Mutex] waiting for: [received:nodes:22044b44-7096-4184-bb80-114457c417f2:localhost] 2020-09-28 23:10:26 | [Mutex] waiting for: [received:nodes:22044b44-7096-4184-bb80-114457c417f2:localhost] 2020-09-28 23:10:26 | [Mutex] waiting for: [received:nodes:22044b44-7096-4184-bb80-114457c417f2:localhost] 2020-09-28 23:10:26 | [Mutex] received everything. 2020-09-28 23:10:26 | [Mutex] isItemNotified: received:node:22044b44-7096-4184-bb80-114457c417f2:localhost:node-7a790841-55d3-42c8-aad4-6e81e2650926:Node 7a790841-55d3-42c8-aad4-6e81e2650926 :: false 2020-09-28 23:10:26 | [Mutex] waiting for: [received:nodes:654aad77-8815-477e-bbea-3414607e8798:localhost] 2020-09-28 23:10:26 | [Mutex] received everything. 2020-09-28 23:10:26 | [Mutex] isItemNotified: received:node:654aad77-8815-477e-bbea-3414607e8798:localhost:node-7a790841-55d3-42c8-aad4-6e81e2650926:Node 7a790841-55d3-42c8-aad4-6e81e2650926 :: false |
publishItemsToNodes | 0.177s |
2020-09-28 23:10:23 |
2020-09-28 23:10:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:23 | ------------------------------------ 2020-09-28 23:10:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7a790841-55d3-42c8-aad4-6e81e2650926</node><item-id>item-254d36d6-943b-412f-84ba-7447258d8f52</item-id><entry><test>item-254d36d6-943b-412f-84ba-7447258d8f52</test></entry></data> 2020-09-28 23:10:23 | 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-254d36d6-943b-412f-84ba-7447258d8f52</value></item-id></result> 2020-09-28 23:10:23 | [Mutex] waiting for: [published:item:notifieditem-254d36d6-943b-412f-84ba-7447258d8f52:admin@test-domain.com] 2020-09-28 23:10:23 | [Mutex] received everything. 2020-09-28 23:10:23 | [Mutex] isItemNotified: published:item:notifieditem-254d36d6-943b-412f-84ba-7447258d8f52:admin@test-domain.com :: true |
retractItemsFromNodes | 0.283s |
2020-09-28 23:10:24 |
2020-09-28 23:10:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:24 | ------------------------------------ 2020-09-28 23:10:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7a790841-55d3-42c8-aad4-6e81e2650926</node><item-id>item-254d36d6-943b-412f-84ba-7447258d8f52</item-id></data> 2020-09-28 23:10:24 | 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-254d36d6-943b-412f-84ba-7447258d8f52</value></item-id></result> 2020-09-28 23:10:24 | [Mutex] received everything. 2020-09-28 23:10:24 | [Mutex] isItemNotified: retracted:item:notifieditem-254d36d6-943b-412f-84ba-7447258d8f52:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.254s |
2020-09-28 23:10:23 |
2020-09-28 23:10:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:23 | ------------------------------------ 2020-09-28 23:10:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7a790841-55d3-42c8-aad4-6e81e2650926</node><item-id>item-254d36d6-943b-412f-84ba-7447258d8f52</item-id></data> 2020-09-28 23:10:24 | 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-7a790841-55d3-42c8-aad4-6e81e2650926</value></node><item-id label="Item ID" type="text-single"><value>item-254d36d6-943b-412f-84ba-7447258d8f52</value></item-id><item label="Item" type="text-multi"><value><item id="item-254d36d6-943b-412f-84ba-7447258d8f52"><test>item-254d36d6-943b-412f-84ba-7447258d8f52</test></item></value></item></result> 2020-09-28 23:10:24 | [Mutex] notify: [retrieved:item:item-254d36d6-943b-412f-84ba-7447258d8f52:payload-matches:true:localhost] 2020-09-28 23:10:24 | [Mutex] received everything. 2020-09-28 23:10:24 | [Mutex] isItemNotified: retrieved:item:item-254d36d6-943b-412f-84ba-7447258d8f52:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.057s |
2020-09-28 23:10:24 |
2020-09-28 23:10:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:24 | ------------------------------------ 2020-09-28 23:10:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-28 23:10:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-7a790841-55d3-42c8-aad4-6e81e2650926</value><value>node-7543fca8-4bdb-41d0-a210-71bd064c5e31</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-28 23:10:24 |
2020-09-28 23:10:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:24 | ------------------------------------ 2020-09-28 23:10:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7a790841-55d3-42c8-aad4-6e81e2650926)</node-pattern></data> 2020-09-28 23:10:24 | 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-09-28 23:10:22 |
2020-09-28 23:10:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:22 | ------------------------------------ 2020-09-28 23:10:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7a790841-55d3-42c8-aad4-6e81e2650926</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-28 23:10:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.183s |
2020-09-28 23:10:24 |
2020-09-28 23:10:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 23:10:24 | ------------------------------------ 2020-09-28 23:10:24 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7a790841-55d3-42c8-aad4-6e81e2650926</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-28 23:10:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |