Test duration : 10.167s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2020-11-29 21:43:12 |
2020-11-29 21:43:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:12 | ------------------------------------ 2020-11-29 21:43:12 | [Mutex] waiting for: [configured:node:node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f:node-e150cf26-cbc5-4bea-9f1a-d9a50be10c6e] 2020-11-29 21:43:12 | [Mutex] received everything. 2020-11-29 21:43:12 | [Mutex] isItemNotified: configured:node:node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f:node-e150cf26-cbc5-4bea-9f1a-d9a50be10c6e :: true 2020-11-29 21:43:13 | [Mutex] waiting for: [received:nodes:fe6a168f-f215-46b8-b154-d434bb6d0d93:localhost] 2020-11-29 21:43:13 | [Mutex] waiting for: [received:nodes:fe6a168f-f215-46b8-b154-d434bb6d0d93:localhost] 2020-11-29 21:43:13 | [Mutex] received everything. 2020-11-29 21:43:13 | [Mutex] isItemNotified: received:node:fe6a168f-f215-46b8-b154-d434bb6d0d93:localhost:node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f:Node 0a6825d9-1a89-4f1d-81fd-4aecf5b4911f :: true 2020-11-29 21:43:13 | [Mutex] waiting for: [received:nodes:bf8018d3-b185-434f-81c5-fdf6bb63df18:localhost] 2020-11-29 21:43:13 | [Mutex] received everything. 2020-11-29 21:43:13 | [Mutex] isItemNotified: received:node:bf8018d3-b185-434f-81c5-fdf6bb63df18:localhost:node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f:Node 0a6825d9-1a89-4f1d-81fd-4aecf5b4911f :: false |
createNodes | 1.467s |
2020-11-29 21:43:10 |
2020-11-29 21:43:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:10 | ------------------------------------ 2020-11-29 21:43:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0a6825d9-1a89-4f1d-81fd-4aecf5b4911f</title></pubsub></data> 2020-11-29 21:43:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 21:43:11 | [Mutex] waiting for: [received:nodes:86f2b59a-8900-4367-bc78-04ef6f9a5e8f:localhost] 2020-11-29 21:43:11 | [Mutex] received everything. 2020-11-29 21:43:11 | [Mutex] isItemNotified: received:node:86f2b59a-8900-4367-bc78-04ef6f9a5e8f:localhost:node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f:Node 0a6825d9-1a89-4f1d-81fd-4aecf5b4911f :: true |
createSubnodes | 1.022s |
2020-11-29 21:43:11 |
2020-11-29 21:43:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:11 | ------------------------------------ 2020-11-29 21:43:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e150cf26-cbc5-4bea-9f1a-d9a50be10c6e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e150cf26-cbc5-4bea-9f1a-d9a50be10c6e</title></pubsub></data> 2020-11-29 21:43:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 21:43:12 | [Mutex] waiting for: [received:nodes:2606c906-b3d7-48f3-85d1-a37b2a609c5e:localhost] 2020-11-29 21:43:12 | [Mutex] received everything. 2020-11-29 21:43:12 | [Mutex] isItemNotified: received:node:2606c906-b3d7-48f3-85d1-a37b2a609c5e:localhost:node-e150cf26-cbc5-4bea-9f1a-d9a50be10c6e:Node e150cf26-cbc5-4bea-9f1a-d9a50be10c6e :: true |
deleteNodes | 1.020s |
2020-11-29 21:43:18 |
2020-11-29 21:43:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:18 | ------------------------------------ 2020-11-29 21:43:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e150cf26-cbc5-4bea-9f1a-d9a50be10c6e</node></data> 2020-11-29 21:43:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 21:43:19 | [Mutex] waiting for: [received:nodes:3747dfe0-7c00-49cb-8e86-fba22a28af8c:localhost] 2020-11-29 21:43:19 | [Mutex] received everything. 2020-11-29 21:43:19 | [Mutex] isItemNotified: received:node:3747dfe0-7c00-49cb-8e86-fba22a28af8c:localhost:node-e150cf26-cbc5-4bea-9f1a-d9a50be10c6e:Node e150cf26-cbc5-4bea-9f1a-d9a50be10c6e :: false |
deleteSubnodes | 1.154s |
2020-11-29 21:43:16 |
2020-11-29 21:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:16 | ------------------------------------ 2020-11-29 21:43:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f</node></data> 2020-11-29 21:43:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 21:43:18 | [Mutex] waiting for: [received:nodes:bbf3d9f9-7ce4-491b-8c96-9d4ff633d434:localhost] 2020-11-29 21:43:18 | [Mutex] received everything. 2020-11-29 21:43:18 | [Mutex] isItemNotified: received:node:bbf3d9f9-7ce4-491b-8c96-9d4ff633d434:localhost:node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f:Node 0a6825d9-1a89-4f1d-81fd-4aecf5b4911f :: false 2020-11-29 21:43:18 | [Mutex] waiting for: [received:nodes:d4988ccc-645a-42f2-b61a-f4aa965ef5d6:localhost] 2020-11-29 21:43:18 | [Mutex] received everything. 2020-11-29 21:43:18 | [Mutex] isItemNotified: received:node:d4988ccc-645a-42f2-b61a-f4aa965ef5d6:localhost:node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f:Node 0a6825d9-1a89-4f1d-81fd-4aecf5b4911f :: false |
publishItemsToNodes | 0.247s |
2020-11-29 21:43:14 |
2020-11-29 21:43:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:14 | ------------------------------------ 2020-11-29 21:43:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f</node><item-id>item-f5870246-8048-4686-8267-5664acb36ef3</item-id><entry><test>item-f5870246-8048-4686-8267-5664acb36ef3</test></entry></data> 2020-11-29 21:43:15 | 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-f5870246-8048-4686-8267-5664acb36ef3</value></item-id></result> 2020-11-29 21:43:15 | [Mutex] received everything. 2020-11-29 21:43:15 | [Mutex] isItemNotified: published:item:notifieditem-f5870246-8048-4686-8267-5664acb36ef3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.196s |
2020-11-29 21:43:15 |
2020-11-29 21:43:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:15 | ------------------------------------ 2020-11-29 21:43:15 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f</node><item-id>item-f5870246-8048-4686-8267-5664acb36ef3</item-id></data> 2020-11-29 21:43:15 | 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-f5870246-8048-4686-8267-5664acb36ef3</value></item-id></result> 2020-11-29 21:43:15 | [Mutex] received everything. 2020-11-29 21:43:15 | [Mutex] isItemNotified: retracted:item:notifieditem-f5870246-8048-4686-8267-5664acb36ef3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.275s |
2020-11-29 21:43:15 |
2020-11-29 21:43:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:15 | ------------------------------------ 2020-11-29 21:43:15 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f</node><item-id>item-f5870246-8048-4686-8267-5664acb36ef3</item-id></data> 2020-11-29 21:43:15 | 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-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f</value></node><item-id label="Item ID" type="text-single"><value>item-f5870246-8048-4686-8267-5664acb36ef3</value></item-id><item label="Item" type="text-multi"><value><item id="item-f5870246-8048-4686-8267-5664acb36ef3"><test>item-f5870246-8048-4686-8267-5664acb36ef3</test></item></value></item></result> 2020-11-29 21:43:15 | [Mutex] notify: [retrieved:item:item-f5870246-8048-4686-8267-5664acb36ef3:payload-matches:true:localhost] 2020-11-29 21:43:15 | [Mutex] received everything. 2020-11-29 21:43:15 | [Mutex] isItemNotified: retrieved:item:item-f5870246-8048-4686-8267-5664acb36ef3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-29 21:43:15 |
2020-11-29 21:43:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:15 | ------------------------------------ 2020-11-29 21:43:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-29 21:43:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-e150cf26-cbc5-4bea-9f1a-d9a50be10c6e</value><value>test</value><value>node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-11-29 21:43:15 |
2020-11-29 21:43:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:15 | ------------------------------------ 2020-11-29 21:43:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f)</node-pattern></data> 2020-11-29 21:43:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.102s |
2020-11-29 21:43:13 |
2020-11-29 21:43:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:13 | ------------------------------------ 2020-11-29 21:43:13 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-29 21:43:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.259s |
2020-11-29 21:43:15 |
2020-11-29 21:43:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:43:15 | ------------------------------------ 2020-11-29 21:43:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0a6825d9-1a89-4f1d-81fd-4aecf5b4911f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-29 21:43:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |