Test duration : 10.028s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2020-10-01 22:43:13 |
2020-10-01 22:43:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:13 | ------------------------------------ 2020-10-01 22:43:13 | [Mutex] waiting for: [configured:node:node-b5805941-5857-4b66-82c4-3274dbce2264:node-faa834bf-9e05-4a7f-b3c2-b2141f656a5f] 2020-10-01 22:43:13 | [Mutex] received everything. 2020-10-01 22:43:13 | [Mutex] isItemNotified: configured:node:node-b5805941-5857-4b66-82c4-3274dbce2264:node-faa834bf-9e05-4a7f-b3c2-b2141f656a5f :: true 2020-10-01 22:43:14 | [Mutex] waiting for: [received:nodes:96bc5f05-5305-4198-99b2-9a8dabb2de1e:localhost] 2020-10-01 22:43:14 | [Mutex] received everything. 2020-10-01 22:43:14 | [Mutex] isItemNotified: received:node:96bc5f05-5305-4198-99b2-9a8dabb2de1e:localhost:node-b5805941-5857-4b66-82c4-3274dbce2264:Node b5805941-5857-4b66-82c4-3274dbce2264 :: true 2020-10-01 22:43:14 | [Mutex] waiting for: [received:nodes:8a3bab6c-cc78-42af-a7ea-7b03cdde8d4a:localhost] 2020-10-01 22:43:14 | [Mutex] received everything. 2020-10-01 22:43:14 | [Mutex] isItemNotified: received:node:8a3bab6c-cc78-42af-a7ea-7b03cdde8d4a:localhost:node-b5805941-5857-4b66-82c4-3274dbce2264:Node b5805941-5857-4b66-82c4-3274dbce2264 :: false |
createNodes | 1.427s |
2020-10-01 22:43:11 |
2020-10-01 22:43:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:11 | ------------------------------------ 2020-10-01 22:43:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b5805941-5857-4b66-82c4-3274dbce2264</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b5805941-5857-4b66-82c4-3274dbce2264</title></pubsub></data> 2020-10-01 22: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-10-01 22:43:12 | [Mutex] waiting for: [received:nodes:a821c205-085f-4e77-a252-e740c6e50aab:localhost] 2020-10-01 22:43:12 | [Mutex] received everything. 2020-10-01 22:43:12 | [Mutex] isItemNotified: received:node:a821c205-085f-4e77-a252-e740c6e50aab:localhost:node-b5805941-5857-4b66-82c4-3274dbce2264:Node b5805941-5857-4b66-82c4-3274dbce2264 :: true |
createSubnodes | 1.035s |
2020-10-01 22:43:12 |
2020-10-01 22:43:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:12 | ------------------------------------ 2020-10-01 22:43:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-faa834bf-9e05-4a7f-b3c2-b2141f656a5f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node faa834bf-9e05-4a7f-b3c2-b2141f656a5f</title></pubsub></data> 2020-10-01 22:43:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-01 22:43:13 | [Mutex] waiting for: [received:nodes:1f217089-995a-4e1f-b64b-1b221e634f8c:localhost] 2020-10-01 22:43:13 | [Mutex] received everything. 2020-10-01 22:43:13 | [Mutex] isItemNotified: received:node:1f217089-995a-4e1f-b64b-1b221e634f8c:localhost:node-faa834bf-9e05-4a7f-b3c2-b2141f656a5f:Node faa834bf-9e05-4a7f-b3c2-b2141f656a5f :: true |
deleteNodes | 1.025s |
2020-10-01 22:43:19 |
2020-10-01 22:43:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:19 | ------------------------------------ 2020-10-01 22:43:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-faa834bf-9e05-4a7f-b3c2-b2141f656a5f</node></data> 2020-10-01 22:43:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-01 22:43:20 | [Mutex] waiting for: [received:nodes:83e112c5-7717-4599-8748-27fb8b53cb0c:localhost] 2020-10-01 22:43:20 | [Mutex] waiting for: [received:nodes:83e112c5-7717-4599-8748-27fb8b53cb0c:localhost] 2020-10-01 22:43:20 | [Mutex] received everything. 2020-10-01 22:43:20 | [Mutex] isItemNotified: received:node:83e112c5-7717-4599-8748-27fb8b53cb0c:localhost:node-faa834bf-9e05-4a7f-b3c2-b2141f656a5f:Node faa834bf-9e05-4a7f-b3c2-b2141f656a5f :: false |
deleteSubnodes | 1.168s |
2020-10-01 22:43:18 |
2020-10-01 22:43:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:18 | ------------------------------------ 2020-10-01 22:43:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b5805941-5857-4b66-82c4-3274dbce2264</node></data> 2020-10-01 22: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-10-01 22:43:19 | [Mutex] waiting for: [received:nodes:7631868d-6fe4-4ad2-a07b-70979228f1a0:localhost] 2020-10-01 22:43:19 | [Mutex] received everything. 2020-10-01 22:43:19 | [Mutex] isItemNotified: received:node:7631868d-6fe4-4ad2-a07b-70979228f1a0:localhost:node-b5805941-5857-4b66-82c4-3274dbce2264:Node b5805941-5857-4b66-82c4-3274dbce2264 :: false 2020-10-01 22:43:19 | [Mutex] waiting for: [received:nodes:33a9fed5-5750-4897-8f39-4674720fc229:localhost] 2020-10-01 22:43:19 | [Mutex] received everything. 2020-10-01 22:43:19 | [Mutex] isItemNotified: received:node:33a9fed5-5750-4897-8f39-4674720fc229:localhost:node-b5805941-5857-4b66-82c4-3274dbce2264:Node b5805941-5857-4b66-82c4-3274dbce2264 :: false |
publishItemsToNodes | 0.205s |
2020-10-01 22:43:16 |
2020-10-01 22:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:16 | ------------------------------------ 2020-10-01 22:43:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b5805941-5857-4b66-82c4-3274dbce2264</node><item-id>item-84d91590-05da-4a1d-8d5d-bcea02c8a8ca</item-id><entry><test>item-84d91590-05da-4a1d-8d5d-bcea02c8a8ca</test></entry></data> 2020-10-01 22:43:16 | 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-84d91590-05da-4a1d-8d5d-bcea02c8a8ca</value></item-id></result> 2020-10-01 22:43:16 | [Mutex] received everything. 2020-10-01 22:43:16 | [Mutex] isItemNotified: published:item:notifieditem-84d91590-05da-4a1d-8d5d-bcea02c8a8ca:admin@test-domain.com :: true |
retractItemsFromNodes | 0.204s |
2020-10-01 22:43:16 |
2020-10-01 22:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:16 | ------------------------------------ 2020-10-01 22:43:16 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b5805941-5857-4b66-82c4-3274dbce2264</node><item-id>item-84d91590-05da-4a1d-8d5d-bcea02c8a8ca</item-id></data> 2020-10-01 22:43:16 | 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-84d91590-05da-4a1d-8d5d-bcea02c8a8ca</value></item-id></result> 2020-10-01 22:43:16 | [Mutex] received everything. 2020-10-01 22:43:16 | [Mutex] isItemNotified: retracted:item:notifieditem-84d91590-05da-4a1d-8d5d-bcea02c8a8ca:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.263s |
2020-10-01 22:43:16 |
2020-10-01 22:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:16 | ------------------------------------ 2020-10-01 22:43:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b5805941-5857-4b66-82c4-3274dbce2264</node><item-id>item-84d91590-05da-4a1d-8d5d-bcea02c8a8ca</item-id></data> 2020-10-01 22:43:16 | 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-b5805941-5857-4b66-82c4-3274dbce2264</value></node><item-id type="text-single" label="Item ID"><value>item-84d91590-05da-4a1d-8d5d-bcea02c8a8ca</value></item-id><item type="text-multi" label="Item"><value><item id="item-84d91590-05da-4a1d-8d5d-bcea02c8a8ca"><test>item-84d91590-05da-4a1d-8d5d-bcea02c8a8ca</test></item></value></item></result> 2020-10-01 22:43:16 | [Mutex] notify: [retrieved:item:item-84d91590-05da-4a1d-8d5d-bcea02c8a8ca:payload-matches:true:localhost] 2020-10-01 22:43:16 | [Mutex] received everything. 2020-10-01 22:43:16 | [Mutex] isItemNotified: retrieved:item:item-84d91590-05da-4a1d-8d5d-bcea02c8a8ca:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-10-01 22:43:16 |
2020-10-01 22:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:16 | ------------------------------------ 2020-10-01 22:43:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-01 22:43:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-b5805941-5857-4b66-82c4-3274dbce2264</value><value>test</value><value>node-faa834bf-9e05-4a7f-b3c2-b2141f656a5f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-10-01 22:43:16 |
2020-10-01 22:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:16 | ------------------------------------ 2020-10-01 22:43:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b5805941-5857-4b66-82c4-3274dbce2264)</node-pattern></data> 2020-10-01 22:43:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.142s |
2020-10-01 22:43:14 |
2020-10-01 22:43:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:14 | ------------------------------------ 2020-10-01 22:43:14 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b5805941-5857-4b66-82c4-3274dbce2264</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-01 22:43:15 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.351s |
2020-10-01 22:43:16 |
2020-10-01 22:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:43:16 | ------------------------------------ 2020-10-01 22:43:16 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b5805941-5857-4b66-82c4-3274dbce2264</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-01 22:43:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |