Test duration : 9.936s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.135s |
2021-09-21 22:38:11 |
2021-09-21 22:38:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:11 | ------------------------------------ 2021-09-21 22:38:11 | [Mutex] waiting for: [configured:node:node-0075f459-6f4c-4476-b59b-cd6d82990b6f:node-93b05885-8c4e-4801-bc8a-5ac4a9e7f6fb] 2021-09-21 22:38:11 | [Mutex] received everything. 2021-09-21 22:38:11 | [Mutex] isItemNotified: configured:node:node-0075f459-6f4c-4476-b59b-cd6d82990b6f:node-93b05885-8c4e-4801-bc8a-5ac4a9e7f6fb :: true 2021-09-21 22:38:12 | [Mutex] waiting for: [received:nodes:aeb5d0f3-e297-4060-bade-31efe731d674:localhost] 2021-09-21 22:38:12 | [Mutex] received everything. 2021-09-21 22:38:12 | [Mutex] isItemNotified: received:node:aeb5d0f3-e297-4060-bade-31efe731d674:localhost:node-0075f459-6f4c-4476-b59b-cd6d82990b6f:Node 0075f459-6f4c-4476-b59b-cd6d82990b6f :: true 2021-09-21 22:38:12 | [Mutex] waiting for: [received:nodes:f2fb69ee-86ff-4e1c-afa9-9e1a2a7b609f:localhost] 2021-09-21 22:38:12 | [Mutex] received everything. 2021-09-21 22:38:12 | [Mutex] isItemNotified: received:node:f2fb69ee-86ff-4e1c-afa9-9e1a2a7b609f:localhost:node-0075f459-6f4c-4476-b59b-cd6d82990b6f:Node 0075f459-6f4c-4476-b59b-cd6d82990b6f :: false |
createNodes | 1.437s |
2021-09-21 22:38:09 |
2021-09-21 22:38:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:09 | ------------------------------------ 2021-09-21 22:38:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0075f459-6f4c-4476-b59b-cd6d82990b6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0075f459-6f4c-4476-b59b-cd6d82990b6f</title></pubsub></data> 2021-09-21 22:38:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-21 22:38:10 | [Mutex] waiting for: [received:nodes:0ac83529-05fc-49a9-822a-07e3e150a233:localhost] 2021-09-21 22:38:10 | [Mutex] received everything. 2021-09-21 22:38:10 | [Mutex] isItemNotified: received:node:0ac83529-05fc-49a9-822a-07e3e150a233:localhost:node-0075f459-6f4c-4476-b59b-cd6d82990b6f:Node 0075f459-6f4c-4476-b59b-cd6d82990b6f :: true |
createSubnodes | 1.029s |
2021-09-21 22:38:10 |
2021-09-21 22:38:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:10 | ------------------------------------ 2021-09-21 22:38:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-93b05885-8c4e-4801-bc8a-5ac4a9e7f6fb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 93b05885-8c4e-4801-bc8a-5ac4a9e7f6fb</title></pubsub></data> 2021-09-21 22:38:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-21 22:38:11 | [Mutex] waiting for: [received:nodes:970cbe7d-ba38-42c8-8f69-b86711cce68c:localhost] 2021-09-21 22:38:11 | [Mutex] received everything. 2021-09-21 22:38:11 | [Mutex] isItemNotified: received:node:970cbe7d-ba38-42c8-8f69-b86711cce68c:localhost:node-93b05885-8c4e-4801-bc8a-5ac4a9e7f6fb:Node 93b05885-8c4e-4801-bc8a-5ac4a9e7f6fb :: true |
deleteNodes | 1.022s |
2021-09-21 22:38:17 |
2021-09-21 22:38:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:17 | ------------------------------------ 2021-09-21 22:38:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-93b05885-8c4e-4801-bc8a-5ac4a9e7f6fb</node></data> 2021-09-21 22:38:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-21 22:38:18 | [Mutex] waiting for: [received:nodes:13107a2b-8ac9-4fec-b432-7c1b3445e7e0:localhost] 2021-09-21 22:38:18 | [Mutex] waiting for: [received:nodes:13107a2b-8ac9-4fec-b432-7c1b3445e7e0:localhost] 2021-09-21 22:38:18 | [Mutex] received everything. 2021-09-21 22:38:18 | [Mutex] isItemNotified: received:node:13107a2b-8ac9-4fec-b432-7c1b3445e7e0:localhost:node-93b05885-8c4e-4801-bc8a-5ac4a9e7f6fb:Node 93b05885-8c4e-4801-bc8a-5ac4a9e7f6fb :: false |
deleteSubnodes | 1.168s |
2021-09-21 22:38:15 |
2021-09-21 22:38:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:15 | ------------------------------------ 2021-09-21 22:38:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0075f459-6f4c-4476-b59b-cd6d82990b6f</node></data> 2021-09-21 22:38:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-21 22:38:17 | [Mutex] waiting for: [received:nodes:1703a544-531a-460b-87fc-8c6be1ee8767:localhost] 2021-09-21 22:38:17 | [Mutex] waiting for: [received:nodes:1703a544-531a-460b-87fc-8c6be1ee8767:localhost] 2021-09-21 22:38:17 | [Mutex] received everything. 2021-09-21 22:38:17 | [Mutex] isItemNotified: received:node:1703a544-531a-460b-87fc-8c6be1ee8767:localhost:node-0075f459-6f4c-4476-b59b-cd6d82990b6f:Node 0075f459-6f4c-4476-b59b-cd6d82990b6f :: false 2021-09-21 22:38:17 | [Mutex] waiting for: [received:nodes:6a76ac95-1c92-4f12-af00-bffa28fba223:localhost] 2021-09-21 22:38:17 | [Mutex] received everything. 2021-09-21 22:38:17 | [Mutex] isItemNotified: received:node:6a76ac95-1c92-4f12-af00-bffa28fba223:localhost:node-0075f459-6f4c-4476-b59b-cd6d82990b6f:Node 0075f459-6f4c-4476-b59b-cd6d82990b6f :: false |
publishItemsToNodes | 0.239s |
2021-09-21 22:38:13 |
2021-09-21 22:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:13 | ------------------------------------ 2021-09-21 22:38:13 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0075f459-6f4c-4476-b59b-cd6d82990b6f</node><item-id>item-9db398b1-4590-4db0-9c39-ee3810227abc</item-id><entry><test>item-9db398b1-4590-4db0-9c39-ee3810227abc</test></entry></data> 2021-09-21 22:38:14 | 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-9db398b1-4590-4db0-9c39-ee3810227abc</value></item-id></result> 2021-09-21 22:38:14 | [Mutex] waiting for: [published:item:notifieditem-9db398b1-4590-4db0-9c39-ee3810227abc:admin@test-domain.com] 2021-09-21 22:38:14 | [Mutex] received everything. 2021-09-21 22:38:14 | [Mutex] isItemNotified: published:item:notifieditem-9db398b1-4590-4db0-9c39-ee3810227abc:admin@test-domain.com :: true |
retractItemsFromNodes | 0.311s |
2021-09-21 22:38:14 |
2021-09-21 22:38:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:14 | ------------------------------------ 2021-09-21 22:38:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0075f459-6f4c-4476-b59b-cd6d82990b6f</node><item-id>item-9db398b1-4590-4db0-9c39-ee3810227abc</item-id></data> 2021-09-21 22:38:14 | 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-9db398b1-4590-4db0-9c39-ee3810227abc</value></item-id></result> 2021-09-21 22:38:14 | [Mutex] received everything. 2021-09-21 22:38:14 | [Mutex] isItemNotified: retracted:item:notifieditem-9db398b1-4590-4db0-9c39-ee3810227abc:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.239s |
2021-09-21 22:38:14 |
2021-09-21 22:38:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:14 | ------------------------------------ 2021-09-21 22:38:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0075f459-6f4c-4476-b59b-cd6d82990b6f</node><item-id>item-9db398b1-4590-4db0-9c39-ee3810227abc</item-id></data> 2021-09-21 22:38:14 | 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-0075f459-6f4c-4476-b59b-cd6d82990b6f</value></node><item-id type="text-single" label="Item ID"><value>item-9db398b1-4590-4db0-9c39-ee3810227abc</value></item-id><item type="text-multi" label="Item"><value><item id="item-9db398b1-4590-4db0-9c39-ee3810227abc"><test>item-9db398b1-4590-4db0-9c39-ee3810227abc</test></item></value></item></result> 2021-09-21 22:38:14 | [Mutex] notify: [retrieved:item:item-9db398b1-4590-4db0-9c39-ee3810227abc:payload-matches:true:localhost] 2021-09-21 22:38:14 | [Mutex] received everything. 2021-09-21 22:38:14 | [Mutex] isItemNotified: retrieved:item:item-9db398b1-4590-4db0-9c39-ee3810227abc:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-09-21 22:38:14 |
2021-09-21 22:38:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:14 | ------------------------------------ 2021-09-21 22:38:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-21 22:38:14 | 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-93b05885-8c4e-4801-bc8a-5ac4a9e7f6fb</value><value>node-0075f459-6f4c-4476-b59b-cd6d82990b6f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-09-21 22:38:14 |
2021-09-21 22:38:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:14 | ------------------------------------ 2021-09-21 22:38:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0075f459-6f4c-4476-b59b-cd6d82990b6f)</node-pattern></data> 2021-09-21 22:38:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.131s |
2021-09-21 22:38:12 |
2021-09-21 22:38:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:12 | ------------------------------------ 2021-09-21 22:38:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0075f459-6f4c-4476-b59b-cd6d82990b6f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-21 22:38:12 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.227s |
2021-09-21 22:38:14 |
2021-09-21 22:38:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:38:14 | ------------------------------------ 2021-09-21 22:38:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0075f459-6f4c-4476-b59b-cd6d82990b6f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-21 22:38:14 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |