Test duration : 10.054s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2020-09-07 00:11:16 |
2020-09-07 00:11:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:16 | ------------------------------------ 2020-09-07 00:11:16 | [Mutex] waiting for: [configured:node:node-94cb4c91-24b3-4334-8546-6f09932666f0:node-0f7c2c51-942f-4b18-906a-01cf760e4129] 2020-09-07 00:11:16 | [Mutex] received everything. 2020-09-07 00:11:16 | [Mutex] isItemNotified: configured:node:node-94cb4c91-24b3-4334-8546-6f09932666f0:node-0f7c2c51-942f-4b18-906a-01cf760e4129 :: true 2020-09-07 00:11:17 | [Mutex] waiting for: [received:nodes:17505ec0-95fc-4714-99c3-aff7fdccbeb0:localhost] 2020-09-07 00:11:17 | [Mutex] received everything. 2020-09-07 00:11:17 | [Mutex] isItemNotified: received:node:17505ec0-95fc-4714-99c3-aff7fdccbeb0:localhost:node-94cb4c91-24b3-4334-8546-6f09932666f0:Node 94cb4c91-24b3-4334-8546-6f09932666f0 :: true 2020-09-07 00:11:17 | [Mutex] waiting for: [received:nodes:3f89871e-7646-443b-a4cd-8205bb1312d3:localhost] 2020-09-07 00:11:17 | [Mutex] received everything. 2020-09-07 00:11:17 | [Mutex] isItemNotified: received:node:3f89871e-7646-443b-a4cd-8205bb1312d3:localhost:node-94cb4c91-24b3-4334-8546-6f09932666f0:Node 94cb4c91-24b3-4334-8546-6f09932666f0 :: false |
createNodes | 1.600s |
2020-09-07 00:11:13 |
2020-09-07 00:11:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:13 | ------------------------------------ 2020-09-07 00:11:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-94cb4c91-24b3-4334-8546-6f09932666f0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 94cb4c91-24b3-4334-8546-6f09932666f0</title></pubsub></data> 2020-09-07 00:11: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-07 00:11:15 | [Mutex] waiting for: [received:nodes:2d04ded7-fdff-45e2-acb0-6b0875e42b31:localhost] 2020-09-07 00:11:15 | [Mutex] received everything. 2020-09-07 00:11:15 | [Mutex] isItemNotified: received:node:2d04ded7-fdff-45e2-acb0-6b0875e42b31:localhost:node-94cb4c91-24b3-4334-8546-6f09932666f0:Node 94cb4c91-24b3-4334-8546-6f09932666f0 :: true |
createSubnodes | 1.034s |
2020-09-07 00:11:15 |
2020-09-07 00:11:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:15 | ------------------------------------ 2020-09-07 00:11:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0f7c2c51-942f-4b18-906a-01cf760e4129</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0f7c2c51-942f-4b18-906a-01cf760e4129</title></pubsub></data> 2020-09-07 00:11: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-07 00:11:16 | [Mutex] waiting for: [received:nodes:86fc8d9b-c6c4-4ce9-8f5c-aafaba35a799:localhost] 2020-09-07 00:11:16 | [Mutex] received everything. 2020-09-07 00:11:16 | [Mutex] isItemNotified: received:node:86fc8d9b-c6c4-4ce9-8f5c-aafaba35a799:localhost:node-0f7c2c51-942f-4b18-906a-01cf760e4129:Node 0f7c2c51-942f-4b18-906a-01cf760e4129 :: true |
deleteNodes | 1.021s |
2020-09-07 00:11:21 |
2020-09-07 00:11:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:21 | ------------------------------------ 2020-09-07 00:11:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0f7c2c51-942f-4b18-906a-01cf760e4129</node></data> 2020-09-07 00:11: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-07 00:11:22 | [Mutex] waiting for: [received:nodes:f4b0350d-383e-4e68-a7bb-d5f62939782c:localhost] 2020-09-07 00:11:22 | [Mutex] received everything. 2020-09-07 00:11:22 | [Mutex] isItemNotified: received:node:f4b0350d-383e-4e68-a7bb-d5f62939782c:localhost:node-0f7c2c51-942f-4b18-906a-01cf760e4129:Node 0f7c2c51-942f-4b18-906a-01cf760e4129 :: false |
deleteSubnodes | 1.136s |
2020-09-07 00:11:20 |
2020-09-07 00:11:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:20 | ------------------------------------ 2020-09-07 00:11:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-94cb4c91-24b3-4334-8546-6f09932666f0</node></data> 2020-09-07 00:11: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-07 00:11:21 | [Mutex] waiting for: [received:nodes:7bc8e355-3ea7-420b-95d4-772f4cba88d3:localhost] 2020-09-07 00:11:21 | [Mutex] received everything. 2020-09-07 00:11:21 | [Mutex] isItemNotified: received:node:7bc8e355-3ea7-420b-95d4-772f4cba88d3:localhost:node-94cb4c91-24b3-4334-8546-6f09932666f0:Node 94cb4c91-24b3-4334-8546-6f09932666f0 :: false 2020-09-07 00:11:21 | [Mutex] waiting for: [received:nodes:f66143f0-8154-47da-9624-faf0751e97b8:localhost] 2020-09-07 00:11:21 | [Mutex] received everything. 2020-09-07 00:11:21 | [Mutex] isItemNotified: received:node:f66143f0-8154-47da-9624-faf0751e97b8:localhost:node-94cb4c91-24b3-4334-8546-6f09932666f0:Node 94cb4c91-24b3-4334-8546-6f09932666f0 :: false |
publishItemsToNodes | 0.186s |
2020-09-07 00:11:18 |
2020-09-07 00:11:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:18 | ------------------------------------ 2020-09-07 00:11:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-94cb4c91-24b3-4334-8546-6f09932666f0</node><item-id>item-48b48bb0-e54f-4222-8454-f735add36760</item-id><entry><test>item-48b48bb0-e54f-4222-8454-f735add36760</test></entry></data> 2020-09-07 00:11: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-48b48bb0-e54f-4222-8454-f735add36760</value></item-id></result> 2020-09-07 00:11:18 | [Mutex] waiting for: [published:item:notifieditem-48b48bb0-e54f-4222-8454-f735add36760:admin@test-domain.com] 2020-09-07 00:11:19 | [Mutex] received everything. 2020-09-07 00:11:19 | [Mutex] isItemNotified: published:item:notifieditem-48b48bb0-e54f-4222-8454-f735add36760:admin@test-domain.com :: true |
retractItemsFromNodes | 0.175s |
2020-09-07 00:11:19 |
2020-09-07 00:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:19 | ------------------------------------ 2020-09-07 00:11:19 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-94cb4c91-24b3-4334-8546-6f09932666f0</node><item-id>item-48b48bb0-e54f-4222-8454-f735add36760</item-id></data> 2020-09-07 00:11: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-48b48bb0-e54f-4222-8454-f735add36760</value></item-id></result> 2020-09-07 00:11:19 | [Mutex] waiting for: [retracted:item:notifieditem-48b48bb0-e54f-4222-8454-f735add36760:admin@test-domain.com] 2020-09-07 00:11:19 | [Mutex] received everything. 2020-09-07 00:11:19 | [Mutex] isItemNotified: retracted:item:notifieditem-48b48bb0-e54f-4222-8454-f735add36760:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.251s |
2020-09-07 00:11:19 |
2020-09-07 00:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:19 | ------------------------------------ 2020-09-07 00:11:19 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-94cb4c91-24b3-4334-8546-6f09932666f0</node><item-id>item-48b48bb0-e54f-4222-8454-f735add36760</item-id></data> 2020-09-07 00:11:19 | 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-94cb4c91-24b3-4334-8546-6f09932666f0</value></node><item-id label="Item ID" type="text-single"><value>item-48b48bb0-e54f-4222-8454-f735add36760</value></item-id><item label="Item" type="text-multi"><value><item id="item-48b48bb0-e54f-4222-8454-f735add36760"><test>item-48b48bb0-e54f-4222-8454-f735add36760</test></item></value></item></result> 2020-09-07 00:11:19 | [Mutex] notify: [retrieved:item:item-48b48bb0-e54f-4222-8454-f735add36760:payload-matches:true:localhost] 2020-09-07 00:11:19 | [Mutex] received everything. 2020-09-07 00:11:19 | [Mutex] isItemNotified: retrieved:item:item-48b48bb0-e54f-4222-8454-f735add36760:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-07 00:11:19 |
2020-09-07 00:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:19 | ------------------------------------ 2020-09-07 00:11:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-07 00:11:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-94cb4c91-24b3-4334-8546-6f09932666f0</value><value>test</value><value>node-0f7c2c51-942f-4b18-906a-01cf760e4129</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-07 00:11:19 |
2020-09-07 00:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:19 | ------------------------------------ 2020-09-07 00:11:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-94cb4c91-24b3-4334-8546-6f09932666f0)</node-pattern></data> 2020-09-07 00:11:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.145s |
2020-09-07 00:11:17 |
2020-09-07 00:11:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:17 | ------------------------------------ 2020-09-07 00:11:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-94cb4c91-24b3-4334-8546-6f09932666f0</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-07 00:11: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.275s |
2020-09-07 00:11:19 |
2020-09-07 00:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-07 00:11:19 | ------------------------------------ 2020-09-07 00:11:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-94cb4c91-24b3-4334-8546-6f09932666f0</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-07 00:11:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |