Test duration : 9.826s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2020-09-20 23:58:04 |
2020-09-20 23:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:04 | ------------------------------------ 2020-09-20 23:58:04 | [Mutex] waiting for: [configured:node:node-70ac763a-8cab-40a1-ba23-c84e5f95dd07:node-10d4d12a-c5f0-46f7-ac12-e1115968f9e1] 2020-09-20 23:58:05 | [Mutex] received everything. 2020-09-20 23:58:05 | [Mutex] isItemNotified: configured:node:node-70ac763a-8cab-40a1-ba23-c84e5f95dd07:node-10d4d12a-c5f0-46f7-ac12-e1115968f9e1 :: true 2020-09-20 23:58:06 | [Mutex] waiting for: [received:nodes:2a2f3e07-1cad-440e-b6d5-f737cee61989:localhost] 2020-09-20 23:58:06 | [Mutex] received everything. 2020-09-20 23:58:06 | [Mutex] isItemNotified: received:node:2a2f3e07-1cad-440e-b6d5-f737cee61989:localhost:node-70ac763a-8cab-40a1-ba23-c84e5f95dd07:Node 70ac763a-8cab-40a1-ba23-c84e5f95dd07 :: true 2020-09-20 23:58:06 | [Mutex] waiting for: [received:nodes:e0f48b13-5399-46d5-9efc-580af0036e8b:localhost] 2020-09-20 23:58:06 | [Mutex] received everything. 2020-09-20 23:58:06 | [Mutex] isItemNotified: received:node:e0f48b13-5399-46d5-9efc-580af0036e8b:localhost:node-70ac763a-8cab-40a1-ba23-c84e5f95dd07:Node 70ac763a-8cab-40a1-ba23-c84e5f95dd07 :: false |
createNodes | 1.413s |
2020-09-20 23:58:02 |
2020-09-20 23:58:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:02 | ------------------------------------ 2020-09-20 23:58:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-70ac763a-8cab-40a1-ba23-c84e5f95dd07</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 70ac763a-8cab-40a1-ba23-c84e5f95dd07</title></pubsub></data> 2020-09-20 23:58:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 23:58:03 | [Mutex] waiting for: [received:nodes:57cfe49e-a332-41d3-990d-be3ef4e855a3:localhost] 2020-09-20 23:58:03 | [Mutex] received everything. 2020-09-20 23:58:03 | [Mutex] isItemNotified: received:node:57cfe49e-a332-41d3-990d-be3ef4e855a3:localhost:node-70ac763a-8cab-40a1-ba23-c84e5f95dd07:Node 70ac763a-8cab-40a1-ba23-c84e5f95dd07 :: true |
createSubnodes | 1.024s |
2020-09-20 23:58:03 |
2020-09-20 23:58:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:03 | ------------------------------------ 2020-09-20 23:58:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-10d4d12a-c5f0-46f7-ac12-e1115968f9e1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 10d4d12a-c5f0-46f7-ac12-e1115968f9e1</title></pubsub></data> 2020-09-20 23:58:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 23:58:04 | [Mutex] waiting for: [received:nodes:2d323ac2-ea1f-48cd-91dc-1173ea47823d:localhost] 2020-09-20 23:58:04 | [Mutex] received everything. 2020-09-20 23:58:04 | [Mutex] isItemNotified: received:node:2d323ac2-ea1f-48cd-91dc-1173ea47823d:localhost:node-10d4d12a-c5f0-46f7-ac12-e1115968f9e1:Node 10d4d12a-c5f0-46f7-ac12-e1115968f9e1 :: true |
deleteNodes | 1.020s |
2020-09-20 23:58:10 |
2020-09-20 23:58:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:10 | ------------------------------------ 2020-09-20 23:58:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-10d4d12a-c5f0-46f7-ac12-e1115968f9e1</node></data> 2020-09-20 23:58:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 23:58:11 | [Mutex] waiting for: [received:nodes:918fbd3a-0561-43ff-bda3-0ce197498498:localhost] 2020-09-20 23:58:11 | [Mutex] received everything. 2020-09-20 23:58:11 | [Mutex] isItemNotified: received:node:918fbd3a-0561-43ff-bda3-0ce197498498:localhost:node-10d4d12a-c5f0-46f7-ac12-e1115968f9e1:Node 10d4d12a-c5f0-46f7-ac12-e1115968f9e1 :: false |
deleteSubnodes | 1.112s |
2020-09-20 23:58:09 |
2020-09-20 23:58:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:09 | ------------------------------------ 2020-09-20 23:58:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-70ac763a-8cab-40a1-ba23-c84e5f95dd07</node></data> 2020-09-20 23:58:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 23:58:10 | [Mutex] waiting for: [received:nodes:e75565e8-e374-4522-a057-bc7417410e96:localhost] 2020-09-20 23:58:10 | [Mutex] received everything. 2020-09-20 23:58:10 | [Mutex] isItemNotified: received:node:e75565e8-e374-4522-a057-bc7417410e96:localhost:node-70ac763a-8cab-40a1-ba23-c84e5f95dd07:Node 70ac763a-8cab-40a1-ba23-c84e5f95dd07 :: false 2020-09-20 23:58:10 | [Mutex] waiting for: [received:nodes:c387d168-8528-44ef-b0d2-51affc880ed0:localhost] 2020-09-20 23:58:10 | [Mutex] received everything. 2020-09-20 23:58:10 | [Mutex] isItemNotified: received:node:c387d168-8528-44ef-b0d2-51affc880ed0:localhost:node-70ac763a-8cab-40a1-ba23-c84e5f95dd07:Node 70ac763a-8cab-40a1-ba23-c84e5f95dd07 :: false |
publishItemsToNodes | 0.204s |
2020-09-20 23:58:07 |
2020-09-20 23:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:07 | ------------------------------------ 2020-09-20 23:58:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-70ac763a-8cab-40a1-ba23-c84e5f95dd07</node><item-id>item-653ef3b1-877f-47c6-9223-9eedac189d25</item-id><entry><test>item-653ef3b1-877f-47c6-9223-9eedac189d25</test></entry></data> 2020-09-20 23:58:07 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-653ef3b1-877f-47c6-9223-9eedac189d25</value></item-id></result> 2020-09-20 23:58:07 | [Mutex] waiting for: [published:item:notifieditem-653ef3b1-877f-47c6-9223-9eedac189d25:admin@test-domain.com] 2020-09-20 23:58:07 | [Mutex] received everything. 2020-09-20 23:58:07 | [Mutex] isItemNotified: published:item:notifieditem-653ef3b1-877f-47c6-9223-9eedac189d25:admin@test-domain.com :: true |
retractItemsFromNodes | 0.228s |
2020-09-20 23:58:07 |
2020-09-20 23:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:07 | ------------------------------------ 2020-09-20 23:58:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-70ac763a-8cab-40a1-ba23-c84e5f95dd07</node><item-id>item-653ef3b1-877f-47c6-9223-9eedac189d25</item-id></data> 2020-09-20 23:58:08 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-653ef3b1-877f-47c6-9223-9eedac189d25</value></item-id></result> 2020-09-20 23:58:08 | [Mutex] received everything. 2020-09-20 23:58:08 | [Mutex] isItemNotified: retracted:item:notifieditem-653ef3b1-877f-47c6-9223-9eedac189d25:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.306s |
2020-09-20 23:58:07 |
2020-09-20 23:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:07 | ------------------------------------ 2020-09-20 23:58:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-70ac763a-8cab-40a1-ba23-c84e5f95dd07</node><item-id>item-653ef3b1-877f-47c6-9223-9eedac189d25</item-id></data> 2020-09-20 23:58:07 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-70ac763a-8cab-40a1-ba23-c84e5f95dd07</value></node><item-id type="text-single" label="Item ID"><value>item-653ef3b1-877f-47c6-9223-9eedac189d25</value></item-id><item type="text-multi" label="Item"><value><item id="item-653ef3b1-877f-47c6-9223-9eedac189d25"><test>item-653ef3b1-877f-47c6-9223-9eedac189d25</test></item></value></item></result> 2020-09-20 23:58:07 | [Mutex] notify: [retrieved:item:item-653ef3b1-877f-47c6-9223-9eedac189d25:payload-matches:true:localhost] 2020-09-20 23:58:07 | [Mutex] received everything. 2020-09-20 23:58:07 | [Mutex] isItemNotified: retrieved:item:item-653ef3b1-877f-47c6-9223-9eedac189d25:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-20 23:58:07 |
2020-09-20 23:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:07 | ------------------------------------ 2020-09-20 23:58:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-20 23:58:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-70ac763a-8cab-40a1-ba23-c84e5f95dd07</value><value>node-10d4d12a-c5f0-46f7-ac12-e1115968f9e1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-09-20 23:58:07 |
2020-09-20 23:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:07 | ------------------------------------ 2020-09-20 23:58:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-70ac763a-8cab-40a1-ba23-c84e5f95dd07)</node-pattern></data> 2020-09-20 23:58:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.133s |
2020-09-20 23:58:06 |
2020-09-20 23:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:06 | ------------------------------------ 2020-09-20 23:58:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-70ac763a-8cab-40a1-ba23-c84e5f95dd07</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-20 23:58:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.270s |
2020-09-20 23:58:08 |
2020-09-20 23:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 23:58:08 | ------------------------------------ 2020-09-20 23:58:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-70ac763a-8cab-40a1-ba23-c84e5f95dd07</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-20 23:58:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |