Test duration : 9.607s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.123s |
2020-09-05 00:36:16 |
2020-09-05 00:36:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:16 | ------------------------------------ 2020-09-05 00:36:16 | [Mutex] waiting for: [configured:node:node-e0a0ee09-5d57-481d-bc54-564094228c31:node-677d934e-3d32-484b-bff5-867123782836] 2020-09-05 00:36:16 | [Mutex] received everything. 2020-09-05 00:36:16 | [Mutex] isItemNotified: configured:node:node-e0a0ee09-5d57-481d-bc54-564094228c31:node-677d934e-3d32-484b-bff5-867123782836 :: true 2020-09-05 00:36:17 | [Mutex] waiting for: [received:nodes:e7cc9662-7882-4a2c-80cf-1d0fb54e565e:localhost] 2020-09-05 00:36:17 | [Mutex] received everything. 2020-09-05 00:36:17 | [Mutex] isItemNotified: received:node:e7cc9662-7882-4a2c-80cf-1d0fb54e565e:localhost:node-e0a0ee09-5d57-481d-bc54-564094228c31:Node e0a0ee09-5d57-481d-bc54-564094228c31 :: true 2020-09-05 00:36:17 | [Mutex] waiting for: [received:nodes:5c3bf6f7-ff02-4ef6-a5e3-1ed2df399a43:localhost] 2020-09-05 00:36:17 | [Mutex] received everything. 2020-09-05 00:36:17 | [Mutex] isItemNotified: received:node:5c3bf6f7-ff02-4ef6-a5e3-1ed2df399a43:localhost:node-e0a0ee09-5d57-481d-bc54-564094228c31:Node e0a0ee09-5d57-481d-bc54-564094228c31 :: false |
createNodes | 1.382s |
2020-09-05 00:36:13 |
2020-09-05 00:36:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:13 | ------------------------------------ 2020-09-05 00:36:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e0a0ee09-5d57-481d-bc54-564094228c31</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e0a0ee09-5d57-481d-bc54-564094228c31</title></pubsub></data> 2020-09-05 00:36:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-05 00:36:15 | [Mutex] waiting for: [received:nodes:f02c48d3-1aa8-4c6c-b905-cdd0118357ed:localhost] 2020-09-05 00:36:15 | [Mutex] received everything. 2020-09-05 00:36:15 | [Mutex] isItemNotified: received:node:f02c48d3-1aa8-4c6c-b905-cdd0118357ed:localhost:node-e0a0ee09-5d57-481d-bc54-564094228c31:Node e0a0ee09-5d57-481d-bc54-564094228c31 :: true |
createSubnodes | 1.022s |
2020-09-05 00:36:15 |
2020-09-05 00:36:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:15 | ------------------------------------ 2020-09-05 00:36:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-677d934e-3d32-484b-bff5-867123782836</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 677d934e-3d32-484b-bff5-867123782836</title></pubsub></data> 2020-09-05 00:36:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-05 00:36:16 | [Mutex] waiting for: [received:nodes:a8061da8-ac4d-4c74-8931-d724f68ec056:localhost] 2020-09-05 00:36:16 | [Mutex] received everything. 2020-09-05 00:36:16 | [Mutex] isItemNotified: received:node:a8061da8-ac4d-4c74-8931-d724f68ec056:localhost:node-677d934e-3d32-484b-bff5-867123782836:Node 677d934e-3d32-484b-bff5-867123782836 :: true |
deleteNodes | 1.017s |
2020-09-05 00:36:21 |
2020-09-05 00:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:21 | ------------------------------------ 2020-09-05 00:36:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-677d934e-3d32-484b-bff5-867123782836</node></data> 2020-09-05 00:36:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-05 00:36:22 | [Mutex] waiting for: [received:nodes:82e40cb1-a2f2-4378-8675-3d90d63b8e4a:localhost] 2020-09-05 00:36:22 | [Mutex] received everything. 2020-09-05 00:36:22 | [Mutex] isItemNotified: received:node:82e40cb1-a2f2-4378-8675-3d90d63b8e4a:localhost:node-677d934e-3d32-484b-bff5-867123782836:Node 677d934e-3d32-484b-bff5-867123782836 :: false |
deleteSubnodes | 1.114s |
2020-09-05 00:36:20 |
2020-09-05 00:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:20 | ------------------------------------ 2020-09-05 00:36:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e0a0ee09-5d57-481d-bc54-564094228c31</node></data> 2020-09-05 00:36:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-05 00:36:21 | [Mutex] waiting for: [received:nodes:33e380ab-6fc9-41c6-b03f-fd24d782ba6a:localhost] 2020-09-05 00:36:21 | [Mutex] waiting for: [received:nodes:33e380ab-6fc9-41c6-b03f-fd24d782ba6a:localhost] 2020-09-05 00:36:21 | [Mutex] received everything. 2020-09-05 00:36:21 | [Mutex] isItemNotified: received:node:33e380ab-6fc9-41c6-b03f-fd24d782ba6a:localhost:node-e0a0ee09-5d57-481d-bc54-564094228c31:Node e0a0ee09-5d57-481d-bc54-564094228c31 :: false 2020-09-05 00:36:21 | [Mutex] waiting for: [received:nodes:70403ed7-fe32-41f0-8f36-d862a13319f6:localhost] 2020-09-05 00:36:21 | [Mutex] received everything. 2020-09-05 00:36:21 | [Mutex] isItemNotified: received:node:70403ed7-fe32-41f0-8f36-d862a13319f6:localhost:node-e0a0ee09-5d57-481d-bc54-564094228c31:Node e0a0ee09-5d57-481d-bc54-564094228c31 :: false |
publishItemsToNodes | 0.243s |
2020-09-05 00:36:18 |
2020-09-05 00:36:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:18 | ------------------------------------ 2020-09-05 00:36:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e0a0ee09-5d57-481d-bc54-564094228c31</node><item-id>item-432c6e9f-2d6f-4779-8cd4-424d99ea0209</item-id><entry><test>item-432c6e9f-2d6f-4779-8cd4-424d99ea0209</test></entry></data> 2020-09-05 00:36:18 | 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-432c6e9f-2d6f-4779-8cd4-424d99ea0209</value></item-id></result> 2020-09-05 00:36:18 | [Mutex] received everything. 2020-09-05 00:36:18 | [Mutex] isItemNotified: published:item:notifieditem-432c6e9f-2d6f-4779-8cd4-424d99ea0209:admin@test-domain.com :: true |
retractItemsFromNodes | 0.167s |
2020-09-05 00:36:19 |
2020-09-05 00:36:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:19 | ------------------------------------ 2020-09-05 00:36:19 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e0a0ee09-5d57-481d-bc54-564094228c31</node><item-id>item-432c6e9f-2d6f-4779-8cd4-424d99ea0209</item-id></data> 2020-09-05 00:36:19 | 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-432c6e9f-2d6f-4779-8cd4-424d99ea0209</value></item-id></result> 2020-09-05 00:36:19 | [Mutex] received everything. 2020-09-05 00:36:19 | [Mutex] isItemNotified: retracted:item:notifieditem-432c6e9f-2d6f-4779-8cd4-424d99ea0209:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.239s |
2020-09-05 00:36:18 |
2020-09-05 00:36:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:18 | ------------------------------------ 2020-09-05 00:36:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e0a0ee09-5d57-481d-bc54-564094228c31</node><item-id>item-432c6e9f-2d6f-4779-8cd4-424d99ea0209</item-id></data> 2020-09-05 00:36:18 | 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-e0a0ee09-5d57-481d-bc54-564094228c31</value></node><item-id label="Item ID" type="text-single"><value>item-432c6e9f-2d6f-4779-8cd4-424d99ea0209</value></item-id><item label="Item" type="text-multi"><value><item id="item-432c6e9f-2d6f-4779-8cd4-424d99ea0209"><test>item-432c6e9f-2d6f-4779-8cd4-424d99ea0209</test></item></value></item></result> 2020-09-05 00:36:18 | [Mutex] notify: [retrieved:item:item-432c6e9f-2d6f-4779-8cd4-424d99ea0209:payload-matches:true:localhost] 2020-09-05 00:36:18 | [Mutex] received everything. 2020-09-05 00:36:18 | [Mutex] isItemNotified: retrieved:item:item-432c6e9f-2d6f-4779-8cd4-424d99ea0209:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-05 00:36:18 |
2020-09-05 00:36:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:18 | ------------------------------------ 2020-09-05 00:36:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-05 00:36:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-677d934e-3d32-484b-bff5-867123782836</value><value>test</value><value>node-e0a0ee09-5d57-481d-bc54-564094228c31</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.060s |
2020-09-05 00:36:18 |
2020-09-05 00:36:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:18 | ------------------------------------ 2020-09-05 00:36:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e0a0ee09-5d57-481d-bc54-564094228c31)</node-pattern></data> 2020-09-05 00:36:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.086s |
2020-09-05 00:36:17 |
2020-09-05 00:36:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:17 | ------------------------------------ 2020-09-05 00:36:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e0a0ee09-5d57-481d-bc54-564094228c31</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-05 00:36:17 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.301s |
2020-09-05 00:36:19 |
2020-09-05 00:36:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-05 00:36:19 | ------------------------------------ 2020-09-05 00:36:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e0a0ee09-5d57-481d-bc54-564094228c31</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-05 00:36:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |