Test duration : 10.605s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.126s |
2021-05-26 23:00:16 |
2021-05-26 23:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:16 | ------------------------------------ 2021-05-26 23:00:16 | [Mutex] waiting for: [configured:node:node-d5233b47-f6bc-4768-ac64-53532acc53df:node-60b5c47b-a9ec-45e7-8d11-ec6efdfb6476] 2021-05-26 23:00:16 | [Mutex] received everything. 2021-05-26 23:00:16 | [Mutex] isItemNotified: configured:node:node-d5233b47-f6bc-4768-ac64-53532acc53df:node-60b5c47b-a9ec-45e7-8d11-ec6efdfb6476 :: true 2021-05-26 23:00:17 | [Mutex] waiting for: [received:nodes:12534489-97cd-40c9-b781-3c2ee48d1932:localhost] 2021-05-26 23:00:17 | [Mutex] waiting for: [received:nodes:12534489-97cd-40c9-b781-3c2ee48d1932:localhost] 2021-05-26 23:00:17 | [Mutex] received everything. 2021-05-26 23:00:17 | [Mutex] isItemNotified: received:node:12534489-97cd-40c9-b781-3c2ee48d1932:localhost:node-d5233b47-f6bc-4768-ac64-53532acc53df:Node d5233b47-f6bc-4768-ac64-53532acc53df :: true 2021-05-26 23:00:17 | [Mutex] waiting for: [received:nodes:483515ca-3418-4a65-91ed-56a132a6abb9:localhost] 2021-05-26 23:00:17 | [Mutex] received everything. 2021-05-26 23:00:17 | [Mutex] isItemNotified: received:node:483515ca-3418-4a65-91ed-56a132a6abb9:localhost:node-d5233b47-f6bc-4768-ac64-53532acc53df:Node d5233b47-f6bc-4768-ac64-53532acc53df :: false |
createNodes | 1.562s |
2021-05-26 23:00:13 |
2021-05-26 23:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:13 | ------------------------------------ 2021-05-26 23:00:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d5233b47-f6bc-4768-ac64-53532acc53df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d5233b47-f6bc-4768-ac64-53532acc53df</title></pubsub></data> 2021-05-26 23:00:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-26 23:00:15 | [Mutex] waiting for: [received:nodes:479cb8dd-698f-4a09-b92e-ea66e5ac912b:localhost] 2021-05-26 23:00:15 | [Mutex] received everything. 2021-05-26 23:00:15 | [Mutex] isItemNotified: received:node:479cb8dd-698f-4a09-b92e-ea66e5ac912b:localhost:node-d5233b47-f6bc-4768-ac64-53532acc53df:Node d5233b47-f6bc-4768-ac64-53532acc53df :: true |
createSubnodes | 1.039s |
2021-05-26 23:00:15 |
2021-05-26 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:15 | ------------------------------------ 2021-05-26 23:00:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-60b5c47b-a9ec-45e7-8d11-ec6efdfb6476</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 60b5c47b-a9ec-45e7-8d11-ec6efdfb6476</title></pubsub></data> 2021-05-26 23:00:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-26 23:00:16 | [Mutex] waiting for: [received:nodes:c5691844-a05d-496d-a404-cde86e1568a3:localhost] 2021-05-26 23:00:16 | [Mutex] received everything. 2021-05-26 23:00:16 | [Mutex] isItemNotified: received:node:c5691844-a05d-496d-a404-cde86e1568a3:localhost:node-60b5c47b-a9ec-45e7-8d11-ec6efdfb6476:Node 60b5c47b-a9ec-45e7-8d11-ec6efdfb6476 :: true |
deleteNodes | 1.026s |
2021-05-26 23:00:22 |
2021-05-26 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:22 | ------------------------------------ 2021-05-26 23:00:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-60b5c47b-a9ec-45e7-8d11-ec6efdfb6476</node></data> 2021-05-26 23:00:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-26 23:00:23 | [Mutex] waiting for: [received:nodes:29756fc6-5c1d-4d67-9d93-6848db48cf09:localhost] 2021-05-26 23:00:23 | [Mutex] waiting for: [received:nodes:29756fc6-5c1d-4d67-9d93-6848db48cf09:localhost] 2021-05-26 23:00:23 | [Mutex] received everything. 2021-05-26 23:00:23 | [Mutex] isItemNotified: received:node:29756fc6-5c1d-4d67-9d93-6848db48cf09:localhost:node-60b5c47b-a9ec-45e7-8d11-ec6efdfb6476:Node 60b5c47b-a9ec-45e7-8d11-ec6efdfb6476 :: false |
deleteSubnodes | 1.125s |
2021-05-26 23:00:21 |
2021-05-26 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:21 | ------------------------------------ 2021-05-26 23:00:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d5233b47-f6bc-4768-ac64-53532acc53df</node></data> 2021-05-26 23:00:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-26 23:00:22 | [Mutex] waiting for: [received:nodes:772d9df3-b158-48f2-b9b4-b4ec52ed9139:localhost] 2021-05-26 23:00:22 | [Mutex] received everything. 2021-05-26 23:00:22 | [Mutex] isItemNotified: received:node:772d9df3-b158-48f2-b9b4-b4ec52ed9139:localhost:node-d5233b47-f6bc-4768-ac64-53532acc53df:Node d5233b47-f6bc-4768-ac64-53532acc53df :: false 2021-05-26 23:00:22 | [Mutex] waiting for: [received:nodes:a298f9f4-a124-478b-8c98-00f94449e354:localhost] 2021-05-26 23:00:22 | [Mutex] received everything. 2021-05-26 23:00:22 | [Mutex] isItemNotified: received:node:a298f9f4-a124-478b-8c98-00f94449e354:localhost:node-d5233b47-f6bc-4768-ac64-53532acc53df:Node d5233b47-f6bc-4768-ac64-53532acc53df :: false |
publishItemsToNodes | 0.322s |
2021-05-26 23:00:18 |
2021-05-26 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:18 | ------------------------------------ 2021-05-26 23:00:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d5233b47-f6bc-4768-ac64-53532acc53df</node><item-id>item-c7fc98d2-cd8b-4415-a5ad-1d4337187353</item-id><entry><test>item-c7fc98d2-cd8b-4415-a5ad-1d4337187353</test></entry></data> 2021-05-26 23:00:19 | 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-c7fc98d2-cd8b-4415-a5ad-1d4337187353</value></item-id></result> 2021-05-26 23:00:19 | [Mutex] waiting for: [published:item:notifieditem-c7fc98d2-cd8b-4415-a5ad-1d4337187353:admin@test-domain.com] 2021-05-26 23:00:19 | [Mutex] received everything. 2021-05-26 23:00:19 | [Mutex] isItemNotified: published:item:notifieditem-c7fc98d2-cd8b-4415-a5ad-1d4337187353:admin@test-domain.com :: true |
retractItemsFromNodes | 0.341s |
2021-05-26 23:00:19 |
2021-05-26 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:19 | ------------------------------------ 2021-05-26 23:00:19 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d5233b47-f6bc-4768-ac64-53532acc53df</node><item-id>item-c7fc98d2-cd8b-4415-a5ad-1d4337187353</item-id></data> 2021-05-26 23:00:19 | 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-c7fc98d2-cd8b-4415-a5ad-1d4337187353</value></item-id></result> 2021-05-26 23:00:19 | [Mutex] received everything. 2021-05-26 23:00:19 | [Mutex] isItemNotified: retracted:item:notifieditem-c7fc98d2-cd8b-4415-a5ad-1d4337187353:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.302s |
2021-05-26 23:00:19 |
2021-05-26 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:19 | ------------------------------------ 2021-05-26 23:00:19 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d5233b47-f6bc-4768-ac64-53532acc53df</node><item-id>item-c7fc98d2-cd8b-4415-a5ad-1d4337187353</item-id></data> 2021-05-26 23:00:19 | 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-d5233b47-f6bc-4768-ac64-53532acc53df</value></node><item-id type="text-single" label="Item ID"><value>item-c7fc98d2-cd8b-4415-a5ad-1d4337187353</value></item-id><item type="text-multi" label="Item"><value><item id="item-c7fc98d2-cd8b-4415-a5ad-1d4337187353"><test>item-c7fc98d2-cd8b-4415-a5ad-1d4337187353</test></item></value></item></result> 2021-05-26 23:00:19 | [Mutex] notify: [retrieved:item:item-c7fc98d2-cd8b-4415-a5ad-1d4337187353:payload-matches:true:localhost] 2021-05-26 23:00:19 | [Mutex] received everything. 2021-05-26 23:00:19 | [Mutex] isItemNotified: retrieved:item:item-c7fc98d2-cd8b-4415-a5ad-1d4337187353:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-05-26 23:00:19 |
2021-05-26 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:19 | ------------------------------------ 2021-05-26 23:00:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-26 23:00:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-60b5c47b-a9ec-45e7-8d11-ec6efdfb6476</value><value>node-d5233b47-f6bc-4768-ac64-53532acc53df</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-05-26 23:00:19 |
2021-05-26 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:19 | ------------------------------------ 2021-05-26 23:00: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-d5233b47-f6bc-4768-ac64-53532acc53df)</node-pattern></data> 2021-05-26 23:00:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.187s |
2021-05-26 23:00:17 |
2021-05-26 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:17 | ------------------------------------ 2021-05-26 23:00:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d5233b47-f6bc-4768-ac64-53532acc53df</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-26 23:00: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.282s |
2021-05-26 23:00:19 |
2021-05-26 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-26 23:00:19 | ------------------------------------ 2021-05-26 23:00:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d5233b47-f6bc-4768-ac64-53532acc53df</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-26 23:00:20 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |