Test duration : 9.603s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.083s |
2022-10-10 23:11:23 |
2022-10-10 23:11:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:23 | ------------------------------------ 2022-10-10 23:11:23 | [Mutex] waiting for: [configured:node:node-060f43c1-4cc7-4527-81dd-dae89f6464af:node-5d824ed6-fc47-4e93-97b0-edc1daba2e5a] 2022-10-10 23:11:23 | [Mutex] received everything. 2022-10-10 23:11:23 | [Mutex] isItemNotified: configured:node:node-060f43c1-4cc7-4527-81dd-dae89f6464af:node-5d824ed6-fc47-4e93-97b0-edc1daba2e5a :: true 2022-10-10 23:11:24 | [Mutex] waiting for: [received:nodes:396dded6-fc83-476f-ad79-c2ebb477f19d:localhost] 2022-10-10 23:11:24 | [Mutex] received everything. 2022-10-10 23:11:24 | [Mutex] isItemNotified: received:node:396dded6-fc83-476f-ad79-c2ebb477f19d:localhost:node-060f43c1-4cc7-4527-81dd-dae89f6464af:Node 060f43c1-4cc7-4527-81dd-dae89f6464af :: true 2022-10-10 23:11:24 | [Mutex] waiting for: [received:nodes:87159cb9-58f7-42d0-905d-1421cf343eca:localhost] 2022-10-10 23:11:24 | [Mutex] received everything. 2022-10-10 23:11:24 | [Mutex] isItemNotified: received:node:87159cb9-58f7-42d0-905d-1421cf343eca:localhost:node-060f43c1-4cc7-4527-81dd-dae89f6464af:Node 060f43c1-4cc7-4527-81dd-dae89f6464af :: false |
createNodes | 1.425s |
2022-10-10 23:11:20 |
2022-10-10 23:11:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:20 | ------------------------------------ 2022-10-10 23:11:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-060f43c1-4cc7-4527-81dd-dae89f6464af</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 060f43c1-4cc7-4527-81dd-dae89f6464af</title></pubsub></data> 2022-10-10 23:11:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 23:11:21 | [Mutex] waiting for: [received:nodes:8b320805-6fd4-4813-b345-257fabd6ea12:localhost] 2022-10-10 23:11:21 | [Mutex] waiting for: [received:nodes:8b320805-6fd4-4813-b345-257fabd6ea12:localhost] 2022-10-10 23:11:21 | [Mutex] received everything. 2022-10-10 23:11:21 | [Mutex] isItemNotified: received:node:8b320805-6fd4-4813-b345-257fabd6ea12:localhost:node-060f43c1-4cc7-4527-81dd-dae89f6464af:Node 060f43c1-4cc7-4527-81dd-dae89f6464af :: true |
createSubnodes | 1.020s |
2022-10-10 23:11:22 |
2022-10-10 23:11:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:22 | ------------------------------------ 2022-10-10 23:11:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5d824ed6-fc47-4e93-97b0-edc1daba2e5a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5d824ed6-fc47-4e93-97b0-edc1daba2e5a</title></pubsub></data> 2022-10-10 23:11:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 23:11:23 | [Mutex] waiting for: [received:nodes:b420371c-9684-4cd6-84c2-90ad3cd9c3b1:localhost] 2022-10-10 23:11:23 | [Mutex] received everything. 2022-10-10 23:11:23 | [Mutex] isItemNotified: received:node:b420371c-9684-4cd6-84c2-90ad3cd9c3b1:localhost:node-5d824ed6-fc47-4e93-97b0-edc1daba2e5a:Node 5d824ed6-fc47-4e93-97b0-edc1daba2e5a :: true |
deleteNodes | 1.016s |
2022-10-10 23:11:28 |
2022-10-10 23:11:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:28 | ------------------------------------ 2022-10-10 23:11:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5d824ed6-fc47-4e93-97b0-edc1daba2e5a</node></data> 2022-10-10 23:11:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 23:11:29 | [Mutex] waiting for: [received:nodes:f86bd521-86c8-4192-86f8-2c1ab63e866b:localhost] 2022-10-10 23:11:29 | [Mutex] received everything. 2022-10-10 23:11:29 | [Mutex] isItemNotified: received:node:f86bd521-86c8-4192-86f8-2c1ab63e866b:localhost:node-5d824ed6-fc47-4e93-97b0-edc1daba2e5a:Node 5d824ed6-fc47-4e93-97b0-edc1daba2e5a :: false |
deleteSubnodes | 1.127s |
2022-10-10 23:11:27 |
2022-10-10 23:11:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:27 | ------------------------------------ 2022-10-10 23:11:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-060f43c1-4cc7-4527-81dd-dae89f6464af</node></data> 2022-10-10 23:11:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 23:11:28 | [Mutex] waiting for: [received:nodes:993a19e2-e1d7-4aa4-9f23-53d2e0d51bfd:localhost] 2022-10-10 23:11:28 | [Mutex] waiting for: [received:nodes:993a19e2-e1d7-4aa4-9f23-53d2e0d51bfd:localhost] 2022-10-10 23:11:28 | [Mutex] received everything. 2022-10-10 23:11:28 | [Mutex] isItemNotified: received:node:993a19e2-e1d7-4aa4-9f23-53d2e0d51bfd:localhost:node-060f43c1-4cc7-4527-81dd-dae89f6464af:Node 060f43c1-4cc7-4527-81dd-dae89f6464af :: false 2022-10-10 23:11:28 | [Mutex] waiting for: [received:nodes:5c6827e8-dc1c-4ca0-94fb-49e7ebf77c05:localhost] 2022-10-10 23:11:28 | [Mutex] received everything. 2022-10-10 23:11:28 | [Mutex] isItemNotified: received:node:5c6827e8-dc1c-4ca0-94fb-49e7ebf77c05:localhost:node-060f43c1-4cc7-4527-81dd-dae89f6464af:Node 060f43c1-4cc7-4527-81dd-dae89f6464af :: false |
publishItemsToNodes | 0.226s |
2022-10-10 23:11:25 |
2022-10-10 23:11:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:25 | ------------------------------------ 2022-10-10 23:11:25 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-060f43c1-4cc7-4527-81dd-dae89f6464af</node><item-id>item-e498ca50-b7aa-41a7-94b8-429fb826b21e</item-id><entry><test>item-e498ca50-b7aa-41a7-94b8-429fb826b21e</test></entry></data> 2022-10-10 23:11: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-e498ca50-b7aa-41a7-94b8-429fb826b21e</value></item-id></result> 2022-10-10 23:11:25 | [Mutex] waiting for: [published:item:notifieditem-e498ca50-b7aa-41a7-94b8-429fb826b21e:admin@test-domain.com] 2022-10-10 23:11:25 | [Mutex] received everything. 2022-10-10 23:11:25 | [Mutex] isItemNotified: published:item:notifieditem-e498ca50-b7aa-41a7-94b8-429fb826b21e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.247s |
2022-10-10 23:11:25 |
2022-10-10 23:11:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:25 | ------------------------------------ 2022-10-10 23:11:25 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-060f43c1-4cc7-4527-81dd-dae89f6464af</node><item-id>item-e498ca50-b7aa-41a7-94b8-429fb826b21e</item-id></data> 2022-10-10 23:11: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-e498ca50-b7aa-41a7-94b8-429fb826b21e</value></item-id></result> 2022-10-10 23:11:26 | [Mutex] received everything. 2022-10-10 23:11:26 | [Mutex] isItemNotified: retracted:item:notifieditem-e498ca50-b7aa-41a7-94b8-429fb826b21e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.339s |
2022-10-10 23:11:25 |
2022-10-10 23:11:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:25 | ------------------------------------ 2022-10-10 23:11:25 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-060f43c1-4cc7-4527-81dd-dae89f6464af</node><item-id>item-e498ca50-b7aa-41a7-94b8-429fb826b21e</item-id></data> 2022-10-10 23:11: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-060f43c1-4cc7-4527-81dd-dae89f6464af</value></node><item-id label="Item ID" type="text-single"><value>item-e498ca50-b7aa-41a7-94b8-429fb826b21e</value></item-id><item label="Item" type="text-multi"><value><item id="item-e498ca50-b7aa-41a7-94b8-429fb826b21e"><test>item-e498ca50-b7aa-41a7-94b8-429fb826b21e</test></item></value></item></result> 2022-10-10 23:11:25 | [Mutex] notify: [retrieved:item:item-e498ca50-b7aa-41a7-94b8-429fb826b21e:payload-matches:true:localhost] 2022-10-10 23:11:25 | [Mutex] received everything. 2022-10-10 23:11:25 | [Mutex] isItemNotified: retrieved:item:item-e498ca50-b7aa-41a7-94b8-429fb826b21e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-10-10 23:11:25 |
2022-10-10 23:11:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:25 | ------------------------------------ 2022-10-10 23:11:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-10-10 23:11: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-060f43c1-4cc7-4527-81dd-dae89f6464af</value><value>node-5d824ed6-fc47-4e93-97b0-edc1daba2e5a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.051s |
2022-10-10 23:11:25 |
2022-10-10 23:11:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:25 | ------------------------------------ 2022-10-10 23:11: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-060f43c1-4cc7-4527-81dd-dae89f6464af)</node-pattern></data> 2022-10-10 23:11:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.137s |
2022-10-10 23:11:24 |
2022-10-10 23:11:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:24 | ------------------------------------ 2022-10-10 23:11:24 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-060f43c1-4cc7-4527-81dd-dae89f6464af</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-10 23:11: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.200s |
2022-10-10 23:11:26 |
2022-10-10 23:11:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 23:11:26 | ------------------------------------ 2022-10-10 23:11:26 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-060f43c1-4cc7-4527-81dd-dae89f6464af</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-10 23:11:26 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |