Test duration : 9.672s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2022-09-26 22:35:08 |
2022-09-26 22:35:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:08 | ------------------------------------ 2022-09-26 22:35:08 | [Mutex] waiting for: [configured:node:node-34fc3db8-8b90-4503-a73b-3cbf9ec65965:node-1970947e-c1af-48d2-893b-0907fccf1240] 2022-09-26 22:35:08 | [Mutex] received everything. 2022-09-26 22:35:08 | [Mutex] isItemNotified: configured:node:node-34fc3db8-8b90-4503-a73b-3cbf9ec65965:node-1970947e-c1af-48d2-893b-0907fccf1240 :: true 2022-09-26 22:35:09 | [Mutex] waiting for: [received:nodes:7915a96e-10c5-4947-9de3-6f553956dfb6:localhost] 2022-09-26 22:35:09 | [Mutex] received everything. 2022-09-26 22:35:09 | [Mutex] isItemNotified: received:node:7915a96e-10c5-4947-9de3-6f553956dfb6:localhost:node-34fc3db8-8b90-4503-a73b-3cbf9ec65965:Node 34fc3db8-8b90-4503-a73b-3cbf9ec65965 :: true 2022-09-26 22:35:09 | [Mutex] waiting for: [received:nodes:98024dea-d94b-422b-b197-f1260e01716d:localhost] 2022-09-26 22:35:09 | [Mutex] received everything. 2022-09-26 22:35:09 | [Mutex] isItemNotified: received:node:98024dea-d94b-422b-b197-f1260e01716d:localhost:node-34fc3db8-8b90-4503-a73b-3cbf9ec65965:Node 34fc3db8-8b90-4503-a73b-3cbf9ec65965 :: false |
createNodes | 1.462s |
2022-09-26 22:35:05 |
2022-09-26 22:35:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:05 | ------------------------------------ 2022-09-26 22:35:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-34fc3db8-8b90-4503-a73b-3cbf9ec65965</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 34fc3db8-8b90-4503-a73b-3cbf9ec65965</title></pubsub></data> 2022-09-26 22:35:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-26 22:35:07 | [Mutex] waiting for: [received:nodes:e89c6637-64cb-4bbf-920f-12e70a0f48b5:localhost] 2022-09-26 22:35:07 | [Mutex] received everything. 2022-09-26 22:35:07 | [Mutex] isItemNotified: received:node:e89c6637-64cb-4bbf-920f-12e70a0f48b5:localhost:node-34fc3db8-8b90-4503-a73b-3cbf9ec65965:Node 34fc3db8-8b90-4503-a73b-3cbf9ec65965 :: true |
createSubnodes | 1.030s |
2022-09-26 22:35:07 |
2022-09-26 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:07 | ------------------------------------ 2022-09-26 22:35:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1970947e-c1af-48d2-893b-0907fccf1240</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1970947e-c1af-48d2-893b-0907fccf1240</title></pubsub></data> 2022-09-26 22:35:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-26 22:35:08 | [Mutex] waiting for: [received:nodes:036ecef8-624e-4b2e-8913-a0a3e8529e9f:localhost] 2022-09-26 22:35:08 | [Mutex] received everything. 2022-09-26 22:35:08 | [Mutex] isItemNotified: received:node:036ecef8-624e-4b2e-8913-a0a3e8529e9f:localhost:node-1970947e-c1af-48d2-893b-0907fccf1240:Node 1970947e-c1af-48d2-893b-0907fccf1240 :: true |
deleteNodes | 1.024s |
2022-09-26 22:35:13 |
2022-09-26 22:35:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:13 | ------------------------------------ 2022-09-26 22:35:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1970947e-c1af-48d2-893b-0907fccf1240</node></data> 2022-09-26 22:35:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-26 22:35:14 | [Mutex] waiting for: [received:nodes:3826d484-58df-4f9c-9c7d-b4135da76240:localhost] 2022-09-26 22:35:14 | [Mutex] received everything. 2022-09-26 22:35:14 | [Mutex] isItemNotified: received:node:3826d484-58df-4f9c-9c7d-b4135da76240:localhost:node-1970947e-c1af-48d2-893b-0907fccf1240:Node 1970947e-c1af-48d2-893b-0907fccf1240 :: false |
deleteSubnodes | 1.134s |
2022-09-26 22:35:12 |
2022-09-26 22:35:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:12 | ------------------------------------ 2022-09-26 22:35:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-34fc3db8-8b90-4503-a73b-3cbf9ec65965</node></data> 2022-09-26 22:35:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-26 22:35:13 | [Mutex] waiting for: [received:nodes:b27b37d7-d2f5-47ae-b3ec-bbb8aff540e2:localhost] 2022-09-26 22:35:13 | [Mutex] received everything. 2022-09-26 22:35:13 | [Mutex] isItemNotified: received:node:b27b37d7-d2f5-47ae-b3ec-bbb8aff540e2:localhost:node-34fc3db8-8b90-4503-a73b-3cbf9ec65965:Node 34fc3db8-8b90-4503-a73b-3cbf9ec65965 :: false 2022-09-26 22:35:13 | [Mutex] waiting for: [received:nodes:3f1d0984-40a1-4193-bda3-fdb73a7a196a:localhost] 2022-09-26 22:35:13 | [Mutex] received everything. 2022-09-26 22:35:13 | [Mutex] isItemNotified: received:node:3f1d0984-40a1-4193-bda3-fdb73a7a196a:localhost:node-34fc3db8-8b90-4503-a73b-3cbf9ec65965:Node 34fc3db8-8b90-4503-a73b-3cbf9ec65965 :: false |
publishItemsToNodes | 0.211s |
2022-09-26 22:35:10 |
2022-09-26 22:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:10 | ------------------------------------ 2022-09-26 22:35:10 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-34fc3db8-8b90-4503-a73b-3cbf9ec65965</node><item-id>item-ad2dfc6a-3e72-44a4-8180-a69aea36634e</item-id><entry><test>item-ad2dfc6a-3e72-44a4-8180-a69aea36634e</test></entry></data> 2022-09-26 22:35:10 | 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-ad2dfc6a-3e72-44a4-8180-a69aea36634e</value></item-id></result> 2022-09-26 22:35:10 | [Mutex] received everything. 2022-09-26 22:35:10 | [Mutex] isItemNotified: published:item:notifieditem-ad2dfc6a-3e72-44a4-8180-a69aea36634e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.301s |
2022-09-26 22:35:11 |
2022-09-26 22:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:11 | ------------------------------------ 2022-09-26 22:35:11 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-34fc3db8-8b90-4503-a73b-3cbf9ec65965</node><item-id>item-ad2dfc6a-3e72-44a4-8180-a69aea36634e</item-id></data> 2022-09-26 22:35:11 | 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-ad2dfc6a-3e72-44a4-8180-a69aea36634e</value></item-id></result> 2022-09-26 22:35:11 | [Mutex] received everything. 2022-09-26 22:35:11 | [Mutex] isItemNotified: retracted:item:notifieditem-ad2dfc6a-3e72-44a4-8180-a69aea36634e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.219s |
2022-09-26 22:35:10 |
2022-09-26 22:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:10 | ------------------------------------ 2022-09-26 22:35:10 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-34fc3db8-8b90-4503-a73b-3cbf9ec65965</node><item-id>item-ad2dfc6a-3e72-44a4-8180-a69aea36634e</item-id></data> 2022-09-26 22:35:10 | 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-34fc3db8-8b90-4503-a73b-3cbf9ec65965</value></node><item-id type="text-single" label="Item ID"><value>item-ad2dfc6a-3e72-44a4-8180-a69aea36634e</value></item-id><item type="text-multi" label="Item"><value><item id="item-ad2dfc6a-3e72-44a4-8180-a69aea36634e"><test>item-ad2dfc6a-3e72-44a4-8180-a69aea36634e</test></item></value></item></result> 2022-09-26 22:35:10 | [Mutex] notify: [retrieved:item:item-ad2dfc6a-3e72-44a4-8180-a69aea36634e:payload-matches:true:localhost] 2022-09-26 22:35:10 | [Mutex] received everything. 2022-09-26 22:35:10 | [Mutex] isItemNotified: retrieved:item:item-ad2dfc6a-3e72-44a4-8180-a69aea36634e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-26 22:35:10 |
2022-09-26 22:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:10 | ------------------------------------ 2022-09-26 22:35:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-26 22:35:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-34fc3db8-8b90-4503-a73b-3cbf9ec65965</value><value>test</value><value>node-1970947e-c1af-48d2-893b-0907fccf1240</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-09-26 22:35:11 |
2022-09-26 22:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:11 | ------------------------------------ 2022-09-26 22:35:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-34fc3db8-8b90-4503-a73b-3cbf9ec65965)</node-pattern></data> 2022-09-26 22:35:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.107s |
2022-09-26 22:35:09 |
2022-09-26 22:35:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:09 | ------------------------------------ 2022-09-26 22:35:09 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-34fc3db8-8b90-4503-a73b-3cbf9ec65965</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-26 22:35:09 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.249s |
2022-09-26 22:35:11 |
2022-09-26 22:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:11 | ------------------------------------ 2022-09-26 22:35:11 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-34fc3db8-8b90-4503-a73b-3cbf9ec65965</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-26 22:35:11 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |