Test duration : 10.246s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.131s |
2021-09-30 22:27:32 |
2021-09-30 22:27:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:32 | ------------------------------------ 2021-09-30 22:27:32 | [Mutex] waiting for: [configured:node:node-506722ef-4b42-4962-a2d6-e603fe07c658:node-43d1fb80-ddd6-481b-abe5-422eed426638] 2021-09-30 22:27:32 | [Mutex] received everything. 2021-09-30 22:27:32 | [Mutex] isItemNotified: configured:node:node-506722ef-4b42-4962-a2d6-e603fe07c658:node-43d1fb80-ddd6-481b-abe5-422eed426638 :: true 2021-09-30 22:27:33 | [Mutex] waiting for: [received:nodes:6e5a96a4-55c7-4a92-aee4-2b7dcd7dacd5:localhost] 2021-09-30 22:27:33 | [Mutex] waiting for: [received:nodes:6e5a96a4-55c7-4a92-aee4-2b7dcd7dacd5:localhost] 2021-09-30 22:27:33 | [Mutex] received everything. 2021-09-30 22:27:33 | [Mutex] isItemNotified: received:node:6e5a96a4-55c7-4a92-aee4-2b7dcd7dacd5:localhost:node-506722ef-4b42-4962-a2d6-e603fe07c658:Node 506722ef-4b42-4962-a2d6-e603fe07c658 :: true 2021-09-30 22:27:33 | [Mutex] waiting for: [received:nodes:97fb622a-8d97-427a-b879-132300eafd9e:localhost] 2021-09-30 22:27:33 | [Mutex] waiting for: [received:nodes:97fb622a-8d97-427a-b879-132300eafd9e:localhost] 2021-09-30 22:27:33 | [Mutex] received everything. 2021-09-30 22:27:33 | [Mutex] isItemNotified: received:node:97fb622a-8d97-427a-b879-132300eafd9e:localhost:node-506722ef-4b42-4962-a2d6-e603fe07c658:Node 506722ef-4b42-4962-a2d6-e603fe07c658 :: false |
createNodes | 1.469s |
2021-09-30 22:27:29 |
2021-09-30 22:27:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:29 | ------------------------------------ 2021-09-30 22:27:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-506722ef-4b42-4962-a2d6-e603fe07c658</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 506722ef-4b42-4962-a2d6-e603fe07c658</title></pubsub></data> 2021-09-30 22:27:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-30 22:27:31 | [Mutex] waiting for: [received:nodes:e031644f-4e46-4cd6-8076-7ce0946d27f4:localhost] 2021-09-30 22:27:31 | [Mutex] received everything. 2021-09-30 22:27:31 | [Mutex] isItemNotified: received:node:e031644f-4e46-4cd6-8076-7ce0946d27f4:localhost:node-506722ef-4b42-4962-a2d6-e603fe07c658:Node 506722ef-4b42-4962-a2d6-e603fe07c658 :: true |
createSubnodes | 1.036s |
2021-09-30 22:27:31 |
2021-09-30 22:27:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:31 | ------------------------------------ 2021-09-30 22:27:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-43d1fb80-ddd6-481b-abe5-422eed426638</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 43d1fb80-ddd6-481b-abe5-422eed426638</title></pubsub></data> 2021-09-30 22:27:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-30 22:27:32 | [Mutex] waiting for: [received:nodes:67f8aced-c847-4aae-a878-19b492053cfc:localhost] 2021-09-30 22:27:32 | [Mutex] received everything. 2021-09-30 22:27:32 | [Mutex] isItemNotified: received:node:67f8aced-c847-4aae-a878-19b492053cfc:localhost:node-43d1fb80-ddd6-481b-abe5-422eed426638:Node 43d1fb80-ddd6-481b-abe5-422eed426638 :: true |
deleteNodes | 1.025s |
2021-09-30 22:27:37 |
2021-09-30 22:27:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:37 | ------------------------------------ 2021-09-30 22:27:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-43d1fb80-ddd6-481b-abe5-422eed426638</node></data> 2021-09-30 22:27:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-30 22:27:38 | [Mutex] waiting for: [received:nodes:03ac51b6-88b4-4d84-8714-0902b2e78e69:localhost] 2021-09-30 22:27:38 | [Mutex] received everything. 2021-09-30 22:27:38 | [Mutex] isItemNotified: received:node:03ac51b6-88b4-4d84-8714-0902b2e78e69:localhost:node-43d1fb80-ddd6-481b-abe5-422eed426638:Node 43d1fb80-ddd6-481b-abe5-422eed426638 :: false |
deleteSubnodes | 1.207s |
2021-09-30 22:27:36 |
2021-09-30 22:27:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:36 | ------------------------------------ 2021-09-30 22:27:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-506722ef-4b42-4962-a2d6-e603fe07c658</node></data> 2021-09-30 22:27:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-30 22:27:37 | [Mutex] waiting for: [received:nodes:7770361f-215e-42d5-ad68-a8d1058d87e5:localhost] 2021-09-30 22:27:37 | [Mutex] received everything. 2021-09-30 22:27:37 | [Mutex] isItemNotified: received:node:7770361f-215e-42d5-ad68-a8d1058d87e5:localhost:node-506722ef-4b42-4962-a2d6-e603fe07c658:Node 506722ef-4b42-4962-a2d6-e603fe07c658 :: false 2021-09-30 22:27:37 | [Mutex] waiting for: [received:nodes:56897110-b4c8-44b0-bb83-5345d8c120c4:localhost] 2021-09-30 22:27:37 | [Mutex] received everything. 2021-09-30 22:27:37 | [Mutex] isItemNotified: received:node:56897110-b4c8-44b0-bb83-5345d8c120c4:localhost:node-506722ef-4b42-4962-a2d6-e603fe07c658:Node 506722ef-4b42-4962-a2d6-e603fe07c658 :: false |
publishItemsToNodes | 0.277s |
2021-09-30 22:27:34 |
2021-09-30 22:27:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:34 | ------------------------------------ 2021-09-30 22:27:34 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-506722ef-4b42-4962-a2d6-e603fe07c658</node><item-id>item-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44</item-id><entry><test>item-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44</test></entry></data> 2021-09-30 22:27:34 | 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-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44</value></item-id></result> 2021-09-30 22:27:34 | [Mutex] waiting for: [published:item:notifieditem-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44:admin@test-domain.com] 2021-09-30 22:27:34 | [Mutex] received everything. 2021-09-30 22:27:34 | [Mutex] isItemNotified: published:item:notifieditem-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44:admin@test-domain.com :: true |
retractItemsFromNodes | 0.347s |
2021-09-30 22:27:34 |
2021-09-30 22:27:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:34 | ------------------------------------ 2021-09-30 22:27:34 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-506722ef-4b42-4962-a2d6-e603fe07c658</node><item-id>item-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44</item-id></data> 2021-09-30 22:27:35 | 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-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44</value></item-id></result> 2021-09-30 22:27:35 | [Mutex] received everything. 2021-09-30 22:27:35 | [Mutex] isItemNotified: retracted:item:notifieditem-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.216s |
2021-09-30 22:27:34 |
2021-09-30 22:27:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:34 | ------------------------------------ 2021-09-30 22:27:34 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-506722ef-4b42-4962-a2d6-e603fe07c658</node><item-id>item-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44</item-id></data> 2021-09-30 22:27:34 | 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-506722ef-4b42-4962-a2d6-e603fe07c658</value></node><item-id type="text-single" label="Item ID"><value>item-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44</value></item-id><item type="text-multi" label="Item"><value><item id="item-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44"><test>item-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44</test></item></value></item></result> 2021-09-30 22:27:34 | [Mutex] notify: [retrieved:item:item-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44:payload-matches:true:localhost] 2021-09-30 22:27:34 | [Mutex] received everything. 2021-09-30 22:27:34 | [Mutex] isItemNotified: retrieved:item:item-bd5b1542-a6a4-4883-8ebf-84ede5bfdd44:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2021-09-30 22:27:34 |
2021-09-30 22:27:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:34 | ------------------------------------ 2021-09-30 22:27:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-30 22:27:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-43d1fb80-ddd6-481b-abe5-422eed426638</value><value>test</value><value>node-506722ef-4b42-4962-a2d6-e603fe07c658</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-09-30 22:27:34 |
2021-09-30 22:27:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:34 | ------------------------------------ 2021-09-30 22:27:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-506722ef-4b42-4962-a2d6-e603fe07c658)</node-pattern></data> 2021-09-30 22:27:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.181s |
2021-09-30 22:27:33 |
2021-09-30 22:27:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:33 | ------------------------------------ 2021-09-30 22:27:33 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-506722ef-4b42-4962-a2d6-e603fe07c658</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-30 22:27:33 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.261s |
2021-09-30 22:27:35 |
2021-09-30 22:27:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 22:27:35 | ------------------------------------ 2021-09-30 22:27:35 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-506722ef-4b42-4962-a2d6-e603fe07c658</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-30 22:27:35 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |