Test duration : 9.909s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.123s |
2020-11-01 21:40:45 |
2020-11-01 21:40:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:45 | ------------------------------------ 2020-11-01 21:40:45 | [Mutex] waiting for: [configured:node:node-9031df2c-8a15-4a39-816b-93ab0da06ff6:node-98dcae86-5236-48b0-893f-765717b5ba94] 2020-11-01 21:40:45 | [Mutex] received everything. 2020-11-01 21:40:45 | [Mutex] isItemNotified: configured:node:node-9031df2c-8a15-4a39-816b-93ab0da06ff6:node-98dcae86-5236-48b0-893f-765717b5ba94 :: true 2020-11-01 21:40:46 | [Mutex] waiting for: [received:nodes:be9090f8-4256-4a07-b06a-aa62d3437955:localhost] 2020-11-01 21:40:46 | [Mutex] received everything. 2020-11-01 21:40:46 | [Mutex] isItemNotified: received:node:be9090f8-4256-4a07-b06a-aa62d3437955:localhost:node-9031df2c-8a15-4a39-816b-93ab0da06ff6:Node 9031df2c-8a15-4a39-816b-93ab0da06ff6 :: true 2020-11-01 21:40:46 | [Mutex] waiting for: [received:nodes:d8086b38-039e-4d5a-b6d4-da3a1043e9b4:localhost] 2020-11-01 21:40:46 | [Mutex] received everything. 2020-11-01 21:40:46 | [Mutex] isItemNotified: received:node:d8086b38-039e-4d5a-b6d4-da3a1043e9b4:localhost:node-9031df2c-8a15-4a39-816b-93ab0da06ff6:Node 9031df2c-8a15-4a39-816b-93ab0da06ff6 :: false |
createNodes | 1.358s |
2020-11-01 21:40:43 |
2020-11-01 21:40:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:43 | ------------------------------------ 2020-11-01 21:40:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9031df2c-8a15-4a39-816b-93ab0da06ff6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9031df2c-8a15-4a39-816b-93ab0da06ff6</title></pubsub></data> 2020-11-01 21:40:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-01 21:40:44 | [Mutex] waiting for: [received:nodes:3f32fb98-6598-486e-ac16-653732615ee3:localhost] 2020-11-01 21:40:44 | [Mutex] received everything. 2020-11-01 21:40:44 | [Mutex] isItemNotified: received:node:3f32fb98-6598-486e-ac16-653732615ee3:localhost:node-9031df2c-8a15-4a39-816b-93ab0da06ff6:Node 9031df2c-8a15-4a39-816b-93ab0da06ff6 :: true |
createSubnodes | 1.044s |
2020-11-01 21:40:44 |
2020-11-01 21:40:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:44 | ------------------------------------ 2020-11-01 21:40:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-98dcae86-5236-48b0-893f-765717b5ba94</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 98dcae86-5236-48b0-893f-765717b5ba94</title></pubsub></data> 2020-11-01 21:40:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-01 21:40:45 | [Mutex] waiting for: [received:nodes:2f76bd9f-9165-44b1-a497-3cfdb2ccdfdb:localhost] 2020-11-01 21:40:45 | [Mutex] received everything. 2020-11-01 21:40:45 | [Mutex] isItemNotified: received:node:2f76bd9f-9165-44b1-a497-3cfdb2ccdfdb:localhost:node-98dcae86-5236-48b0-893f-765717b5ba94:Node 98dcae86-5236-48b0-893f-765717b5ba94 :: true |
deleteNodes | 1.021s |
2020-11-01 21:40:51 |
2020-11-01 21:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:51 | ------------------------------------ 2020-11-01 21:40:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-98dcae86-5236-48b0-893f-765717b5ba94</node></data> 2020-11-01 21:40:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-01 21:40:52 | [Mutex] waiting for: [received:nodes:704ead69-74cd-40fc-9ce7-21b1c9c4f1d8:localhost] 2020-11-01 21:40:52 | [Mutex] received everything. 2020-11-01 21:40:52 | [Mutex] isItemNotified: received:node:704ead69-74cd-40fc-9ce7-21b1c9c4f1d8:localhost:node-98dcae86-5236-48b0-893f-765717b5ba94:Node 98dcae86-5236-48b0-893f-765717b5ba94 :: false |
deleteSubnodes | 1.127s |
2020-11-01 21:40:49 |
2020-11-01 21:40:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:49 | ------------------------------------ 2020-11-01 21:40:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9031df2c-8a15-4a39-816b-93ab0da06ff6</node></data> 2020-11-01 21:40:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-01 21:40:51 | [Mutex] waiting for: [received:nodes:b6020b0c-a3a0-4efc-bed2-c09977034990:localhost] 2020-11-01 21:40:51 | [Mutex] received everything. 2020-11-01 21:40:51 | [Mutex] isItemNotified: received:node:b6020b0c-a3a0-4efc-bed2-c09977034990:localhost:node-9031df2c-8a15-4a39-816b-93ab0da06ff6:Node 9031df2c-8a15-4a39-816b-93ab0da06ff6 :: false 2020-11-01 21:40:51 | [Mutex] waiting for: [received:nodes:ef2ab420-b098-477f-8a71-9575f5012b15:localhost] 2020-11-01 21:40:51 | [Mutex] received everything. 2020-11-01 21:40:51 | [Mutex] isItemNotified: received:node:ef2ab420-b098-477f-8a71-9575f5012b15:localhost:node-9031df2c-8a15-4a39-816b-93ab0da06ff6:Node 9031df2c-8a15-4a39-816b-93ab0da06ff6 :: false |
publishItemsToNodes | 0.196s |
2020-11-01 21:40:47 |
2020-11-01 21:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:47 | ------------------------------------ 2020-11-01 21:40:47 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9031df2c-8a15-4a39-816b-93ab0da06ff6</node><item-id>item-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758</item-id><entry><test>item-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758</test></entry></data> 2020-11-01 21:40:48 | 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-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758</value></item-id></result> 2020-11-01 21:40:48 | [Mutex] received everything. 2020-11-01 21:40:48 | [Mutex] isItemNotified: published:item:notifieditem-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758:admin@test-domain.com :: true |
retractItemsFromNodes | 0.208s |
2020-11-01 21:40:48 |
2020-11-01 21:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:48 | ------------------------------------ 2020-11-01 21:40:48 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9031df2c-8a15-4a39-816b-93ab0da06ff6</node><item-id>item-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758</item-id></data> 2020-11-01 21:40:48 | 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-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758</value></item-id></result> 2020-11-01 21:40:48 | [Mutex] received everything. 2020-11-01 21:40:48 | [Mutex] isItemNotified: retracted:item:notifieditem-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.323s |
2020-11-01 21:40:48 |
2020-11-01 21:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:48 | ------------------------------------ 2020-11-01 21:40:48 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9031df2c-8a15-4a39-816b-93ab0da06ff6</node><item-id>item-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758</item-id></data> 2020-11-01 21:40:48 | 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-9031df2c-8a15-4a39-816b-93ab0da06ff6</value></node><item-id type="text-single" label="Item ID"><value>item-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758</value></item-id><item type="text-multi" label="Item"><value><item id="item-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758"><test>item-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758</test></item></value></item></result> 2020-11-01 21:40:48 | [Mutex] notify: [retrieved:item:item-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758:payload-matches:true:localhost] 2020-11-01 21:40:48 | [Mutex] received everything. 2020-11-01 21:40:48 | [Mutex] isItemNotified: retrieved:item:item-bf2212c0-be7b-4734-b3c5-fdfb0bf6d758:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-01 21:40:48 |
2020-11-01 21:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:48 | ------------------------------------ 2020-11-01 21:40:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-01 21:40:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-98dcae86-5236-48b0-893f-765717b5ba94</value><value>test</value><value>node-9031df2c-8a15-4a39-816b-93ab0da06ff6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-11-01 21:40:48 |
2020-11-01 21:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:48 | ------------------------------------ 2020-11-01 21:40:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9031df2c-8a15-4a39-816b-93ab0da06ff6)</node-pattern></data> 2020-11-01 21:40:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.193s |
2020-11-01 21:40:46 |
2020-11-01 21:40:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:46 | ------------------------------------ 2020-11-01 21:40:46 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9031df2c-8a15-4a39-816b-93ab0da06ff6</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-01 21:40:46 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.199s |
2020-11-01 21:40:48 |
2020-11-01 21:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:40:48 | ------------------------------------ 2020-11-01 21:40:48 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9031df2c-8a15-4a39-816b-93ab0da06ff6</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-01 21:40:48 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |