Test duration : 9.712s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.083s |
2022-08-24 22:34:14 |
2022-08-24 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:14 | ------------------------------------ 2022-08-24 22:34:14 | [Mutex] waiting for: [configured:node:node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2:node-6a3f56dc-2bf7-4fa2-874a-39093ae49864] 2022-08-24 22:34:14 | [Mutex] received everything. 2022-08-24 22:34:14 | [Mutex] isItemNotified: configured:node:node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2:node-6a3f56dc-2bf7-4fa2-874a-39093ae49864 :: true 2022-08-24 22:34:15 | [Mutex] waiting for: [received:nodes:c34de746-b10d-4025-a13f-198fa3f2b0e1:localhost] 2022-08-24 22:34:15 | [Mutex] received everything. 2022-08-24 22:34:15 | [Mutex] isItemNotified: received:node:c34de746-b10d-4025-a13f-198fa3f2b0e1:localhost:node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2:Node c10f191e-c74e-46ac-a3cf-e1dfb5775ae2 :: true 2022-08-24 22:34:15 | [Mutex] waiting for: [received:nodes:08613d70-8120-415d-87aa-9036112535e6:localhost] 2022-08-24 22:34:15 | [Mutex] received everything. 2022-08-24 22:34:15 | [Mutex] isItemNotified: received:node:08613d70-8120-415d-87aa-9036112535e6:localhost:node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2:Node c10f191e-c74e-46ac-a3cf-e1dfb5775ae2 :: false |
createNodes | 1.454s |
2022-08-24 22:34:11 |
2022-08-24 22:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:11 | ------------------------------------ 2022-08-24 22:34:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c10f191e-c74e-46ac-a3cf-e1dfb5775ae2</title></pubsub></data> 2022-08-24 22:34:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-24 22:34:13 | [Mutex] waiting for: [received:nodes:cdf7f7ec-844e-4d18-a3d6-78cb4a83b37d:localhost] 2022-08-24 22:34:13 | [Mutex] waiting for: [received:nodes:cdf7f7ec-844e-4d18-a3d6-78cb4a83b37d:localhost] 2022-08-24 22:34:13 | [Mutex] received everything. 2022-08-24 22:34:13 | [Mutex] isItemNotified: received:node:cdf7f7ec-844e-4d18-a3d6-78cb4a83b37d:localhost:node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2:Node c10f191e-c74e-46ac-a3cf-e1dfb5775ae2 :: true |
createSubnodes | 1.022s |
2022-08-24 22:34:13 |
2022-08-24 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:13 | ------------------------------------ 2022-08-24 22:34:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6a3f56dc-2bf7-4fa2-874a-39093ae49864</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6a3f56dc-2bf7-4fa2-874a-39093ae49864</title></pubsub></data> 2022-08-24 22:34:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-24 22:34:14 | [Mutex] waiting for: [received:nodes:6dfd0d73-0e5b-497b-a939-30cc2a4fe3e9:localhost] 2022-08-24 22:34:14 | [Mutex] received everything. 2022-08-24 22:34:14 | [Mutex] isItemNotified: received:node:6dfd0d73-0e5b-497b-a939-30cc2a4fe3e9:localhost:node-6a3f56dc-2bf7-4fa2-874a-39093ae49864:Node 6a3f56dc-2bf7-4fa2-874a-39093ae49864 :: true |
deleteNodes | 1.027s |
2022-08-24 22:34:19 |
2022-08-24 22:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:19 | ------------------------------------ 2022-08-24 22:34:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6a3f56dc-2bf7-4fa2-874a-39093ae49864</node></data> 2022-08-24 22:34:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-24 22:34:20 | [Mutex] waiting for: [received:nodes:801bdb83-e05d-4fc6-a1fb-1f6a19a07656:localhost] 2022-08-24 22:34:21 | [Mutex] waiting for: [received:nodes:801bdb83-e05d-4fc6-a1fb-1f6a19a07656:localhost] 2022-08-24 22:34:21 | [Mutex] received everything. 2022-08-24 22:34:21 | [Mutex] isItemNotified: received:node:801bdb83-e05d-4fc6-a1fb-1f6a19a07656:localhost:node-6a3f56dc-2bf7-4fa2-874a-39093ae49864:Node 6a3f56dc-2bf7-4fa2-874a-39093ae49864 :: false |
deleteSubnodes | 1.181s |
2022-08-24 22:34:18 |
2022-08-24 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:18 | ------------------------------------ 2022-08-24 22:34:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2</node></data> 2022-08-24 22:34:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-24 22:34:19 | [Mutex] waiting for: [received:nodes:46a665e2-7e55-4f0b-ae26-0d21c788feea:localhost] 2022-08-24 22:34:19 | [Mutex] received everything. 2022-08-24 22:34:19 | [Mutex] isItemNotified: received:node:46a665e2-7e55-4f0b-ae26-0d21c788feea:localhost:node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2:Node c10f191e-c74e-46ac-a3cf-e1dfb5775ae2 :: false 2022-08-24 22:34:19 | [Mutex] waiting for: [received:nodes:57ebce00-c921-475e-8e89-1c3886eae14c:localhost] 2022-08-24 22:34:19 | [Mutex] received everything. 2022-08-24 22:34:19 | [Mutex] isItemNotified: received:node:57ebce00-c921-475e-8e89-1c3886eae14c:localhost:node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2:Node c10f191e-c74e-46ac-a3cf-e1dfb5775ae2 :: false |
publishItemsToNodes | 0.267s |
2022-08-24 22:34:16 |
2022-08-24 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:16 | ------------------------------------ 2022-08-24 22:34:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2</node><item-id>item-924a9a26-dc1d-4bcd-acb8-de32e1a5e924</item-id><entry><test>item-924a9a26-dc1d-4bcd-acb8-de32e1a5e924</test></entry></data> 2022-08-24 22:34: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-924a9a26-dc1d-4bcd-acb8-de32e1a5e924</value></item-id></result> 2022-08-24 22:34:16 | [Mutex] waiting for: [published:item:notifieditem-924a9a26-dc1d-4bcd-acb8-de32e1a5e924:admin@test-domain.com] 2022-08-24 22:34:16 | [Mutex] received everything. 2022-08-24 22:34:16 | [Mutex] isItemNotified: published:item:notifieditem-924a9a26-dc1d-4bcd-acb8-de32e1a5e924:admin@test-domain.com :: true |
retractItemsFromNodes | 0.347s |
2022-08-24 22:34:17 |
2022-08-24 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:17 | ------------------------------------ 2022-08-24 22:34:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2</node><item-id>item-924a9a26-dc1d-4bcd-acb8-de32e1a5e924</item-id></data> 2022-08-24 22:34:17 | 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-924a9a26-dc1d-4bcd-acb8-de32e1a5e924</value></item-id></result> 2022-08-24 22:34:17 | [Mutex] received everything. 2022-08-24 22:34:17 | [Mutex] isItemNotified: retracted:item:notifieditem-924a9a26-dc1d-4bcd-acb8-de32e1a5e924:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.267s |
2022-08-24 22:34:16 |
2022-08-24 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:16 | ------------------------------------ 2022-08-24 22:34:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2</node><item-id>item-924a9a26-dc1d-4bcd-acb8-de32e1a5e924</item-id></data> 2022-08-24 22:34:17 | 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-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2</value></node><item-id type="text-single" label="Item ID"><value>item-924a9a26-dc1d-4bcd-acb8-de32e1a5e924</value></item-id><item type="text-multi" label="Item"><value><item id="item-924a9a26-dc1d-4bcd-acb8-de32e1a5e924"><test>item-924a9a26-dc1d-4bcd-acb8-de32e1a5e924</test></item></value></item></result> 2022-08-24 22:34:17 | [Mutex] notify: [retrieved:item:item-924a9a26-dc1d-4bcd-acb8-de32e1a5e924:payload-matches:true:localhost] 2022-08-24 22:34:17 | [Mutex] received everything. 2022-08-24 22:34:17 | [Mutex] isItemNotified: retrieved:item:item-924a9a26-dc1d-4bcd-acb8-de32e1a5e924:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-24 22:34:17 |
2022-08-24 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:17 | ------------------------------------ 2022-08-24 22:34:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-24 22:34:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2</value><value>test</value><value>node-6a3f56dc-2bf7-4fa2-874a-39093ae49864</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-08-24 22:34:17 |
2022-08-24 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:17 | ------------------------------------ 2022-08-24 22:34:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2)</node-pattern></data> 2022-08-24 22:34:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.161s |
2022-08-24 22:34:15 |
2022-08-24 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:15 | ------------------------------------ 2022-08-24 22:34:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-24 22:34: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.175s |
2022-08-24 22:34:17 |
2022-08-24 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-24 22:34:17 | ------------------------------------ 2022-08-24 22:34:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c10f191e-c74e-46ac-a3cf-e1dfb5775ae2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-24 22:34:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |