Test duration : 10.220s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2021-10-27 08:27:16 |
2021-10-27 08:27:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:16 | ------------------------------------ 2021-10-27 08:27:16 | [Mutex] waiting for: [configured:node:node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6:node-9de5c5ab-75b8-41fb-8003-e9d96cd9aa23] 2021-10-27 08:27:16 | [Mutex] received everything. 2021-10-27 08:27:16 | [Mutex] isItemNotified: configured:node:node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6:node-9de5c5ab-75b8-41fb-8003-e9d96cd9aa23 :: true 2021-10-27 08:27:17 | [Mutex] waiting for: [received:nodes:827e8725-caa9-4aef-8b4f-7c68bb3253b9:localhost] 2021-10-27 08:27:17 | [Mutex] received everything. 2021-10-27 08:27:17 | [Mutex] isItemNotified: received:node:827e8725-caa9-4aef-8b4f-7c68bb3253b9:localhost:node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6:Node c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6 :: true 2021-10-27 08:27:17 | [Mutex] waiting for: [received:nodes:efb41bb6-d6f9-4497-9faa-ee5af3cf0ec1:localhost] 2021-10-27 08:27:17 | [Mutex] received everything. 2021-10-27 08:27:17 | [Mutex] isItemNotified: received:node:efb41bb6-d6f9-4497-9faa-ee5af3cf0ec1:localhost:node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6:Node c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6 :: false |
createNodes | 1.539s |
2021-10-27 08:27:13 |
2021-10-27 08:27:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:13 | ------------------------------------ 2021-10-27 08:27:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6</title></pubsub></data> 2021-10-27 08:27:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-27 08:27:15 | [Mutex] waiting for: [received:nodes:ab06ea37-af53-46e1-8440-e7bc04063cbd:localhost] 2021-10-27 08:27:15 | [Mutex] received everything. 2021-10-27 08:27:15 | [Mutex] isItemNotified: received:node:ab06ea37-af53-46e1-8440-e7bc04063cbd:localhost:node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6:Node c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6 :: true |
createSubnodes | 1.030s |
2021-10-27 08:27:15 |
2021-10-27 08:27:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:15 | ------------------------------------ 2021-10-27 08:27:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9de5c5ab-75b8-41fb-8003-e9d96cd9aa23</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9de5c5ab-75b8-41fb-8003-e9d96cd9aa23</title></pubsub></data> 2021-10-27 08:27:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-27 08:27:16 | [Mutex] waiting for: [received:nodes:9dbd746f-0d72-4d65-a87e-3cea5932e901:localhost] 2021-10-27 08:27:16 | [Mutex] received everything. 2021-10-27 08:27:16 | [Mutex] isItemNotified: received:node:9dbd746f-0d72-4d65-a87e-3cea5932e901:localhost:node-9de5c5ab-75b8-41fb-8003-e9d96cd9aa23:Node 9de5c5ab-75b8-41fb-8003-e9d96cd9aa23 :: true |
deleteNodes | 1.017s |
2021-10-27 08:27:22 |
2021-10-27 08:27:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:22 | ------------------------------------ 2021-10-27 08:27:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9de5c5ab-75b8-41fb-8003-e9d96cd9aa23</node></data> 2021-10-27 08:27:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-27 08:27:23 | [Mutex] waiting for: [received:nodes:99f0deaa-6dd6-435f-b752-1ba6b77d70e6:localhost] 2021-10-27 08:27:23 | [Mutex] received everything. 2021-10-27 08:27:23 | [Mutex] isItemNotified: received:node:99f0deaa-6dd6-435f-b752-1ba6b77d70e6:localhost:node-9de5c5ab-75b8-41fb-8003-e9d96cd9aa23:Node 9de5c5ab-75b8-41fb-8003-e9d96cd9aa23 :: false |
deleteSubnodes | 1.159s |
2021-10-27 08:27:20 |
2021-10-27 08:27:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:20 | ------------------------------------ 2021-10-27 08:27:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6</node></data> 2021-10-27 08:27:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-27 08:27:21 | [Mutex] waiting for: [received:nodes:01c9ea46-df2b-4773-9378-8f26b1569ecb:localhost] 2021-10-27 08:27:22 | [Mutex] waiting for: [received:nodes:01c9ea46-df2b-4773-9378-8f26b1569ecb:localhost] 2021-10-27 08:27:22 | [Mutex] waiting for: [received:nodes:01c9ea46-df2b-4773-9378-8f26b1569ecb:localhost] 2021-10-27 08:27:22 | [Mutex] received everything. 2021-10-27 08:27:22 | [Mutex] isItemNotified: received:node:01c9ea46-df2b-4773-9378-8f26b1569ecb:localhost:node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6:Node c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6 :: false 2021-10-27 08:27:22 | [Mutex] waiting for: [received:nodes:80fcd0cb-da50-4386-a21d-5c5e8b5aeb06:localhost] 2021-10-27 08:27:22 | [Mutex] received everything. 2021-10-27 08:27:22 | [Mutex] isItemNotified: received:node:80fcd0cb-da50-4386-a21d-5c5e8b5aeb06:localhost:node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6:Node c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6 :: false |
publishItemsToNodes | 0.290s |
2021-10-27 08:27:18 |
2021-10-27 08:27:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:18 | ------------------------------------ 2021-10-27 08:27:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6</node><item-id>item-1f55a35d-29dd-4588-914b-9bab026ab17d</item-id><entry><test>item-1f55a35d-29dd-4588-914b-9bab026ab17d</test></entry></data> 2021-10-27 08:27:18 | 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-1f55a35d-29dd-4588-914b-9bab026ab17d</value></item-id></result> 2021-10-27 08:27:18 | [Mutex] received everything. 2021-10-27 08:27:18 | [Mutex] isItemNotified: published:item:notifieditem-1f55a35d-29dd-4588-914b-9bab026ab17d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.311s |
2021-10-27 08:27:19 |
2021-10-27 08:27:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:19 | ------------------------------------ 2021-10-27 08:27:19 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6</node><item-id>item-1f55a35d-29dd-4588-914b-9bab026ab17d</item-id></data> 2021-10-27 08:27: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-1f55a35d-29dd-4588-914b-9bab026ab17d</value></item-id></result> 2021-10-27 08:27:19 | [Mutex] received everything. 2021-10-27 08:27:19 | [Mutex] isItemNotified: retracted:item:notifieditem-1f55a35d-29dd-4588-914b-9bab026ab17d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.375s |
2021-10-27 08:27:18 |
2021-10-27 08:27:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:18 | ------------------------------------ 2021-10-27 08:27:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6</node><item-id>item-1f55a35d-29dd-4588-914b-9bab026ab17d</item-id></data> 2021-10-27 08:27: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-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6</value></node><item-id type="text-single" label="Item ID"><value>item-1f55a35d-29dd-4588-914b-9bab026ab17d</value></item-id><item type="text-multi" label="Item"><value><item id="item-1f55a35d-29dd-4588-914b-9bab026ab17d"><test>item-1f55a35d-29dd-4588-914b-9bab026ab17d</test></item></value></item></result> 2021-10-27 08:27:19 | [Mutex] notify: [retrieved:item:item-1f55a35d-29dd-4588-914b-9bab026ab17d:payload-matches:true:localhost] 2021-10-27 08:27:19 | [Mutex] received everything. 2021-10-27 08:27:19 | [Mutex] isItemNotified: retrieved:item:item-1f55a35d-29dd-4588-914b-9bab026ab17d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-10-27 08:27:19 |
2021-10-27 08:27:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:19 | ------------------------------------ 2021-10-27 08:27:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-27 08:27:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-9de5c5ab-75b8-41fb-8003-e9d96cd9aa23</value><value>test</value><value>node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-10-27 08:27:19 |
2021-10-27 08:27:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:19 | ------------------------------------ 2021-10-27 08:27: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-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6)</node-pattern></data> 2021-10-27 08:27:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.191s |
2021-10-27 08:27:17 |
2021-10-27 08:27:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:17 | ------------------------------------ 2021-10-27 08:27:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-27 08:27: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.275s |
2021-10-27 08:27:19 |
2021-10-27 08:27:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:19 | ------------------------------------ 2021-10-27 08:27:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c345ba8a-5bf0-4fe0-910a-92c5f1d1a7f6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-27 08:27:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |