Test duration : 10.597s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.132s |
2021-06-04 22:57:02 |
2021-06-04 22:57:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:02 | ------------------------------------ 2021-06-04 22:57:02 | [Mutex] waiting for: [configured:node:node-3b261278-31d6-4ae3-afba-edcfed96beff:node-a1a9216d-00dd-404f-a439-0fff478d8ade] 2021-06-04 22:57:02 | [Mutex] received everything. 2021-06-04 22:57:02 | [Mutex] isItemNotified: configured:node:node-3b261278-31d6-4ae3-afba-edcfed96beff:node-a1a9216d-00dd-404f-a439-0fff478d8ade :: true 2021-06-04 22:57:03 | [Mutex] waiting for: [received:nodes:be4baacf-17a6-4f30-b34f-3a990078c4d4:localhost] 2021-06-04 22:57:03 | [Mutex] received everything. 2021-06-04 22:57:03 | [Mutex] isItemNotified: received:node:be4baacf-17a6-4f30-b34f-3a990078c4d4:localhost:node-3b261278-31d6-4ae3-afba-edcfed96beff:Node 3b261278-31d6-4ae3-afba-edcfed96beff :: true 2021-06-04 22:57:03 | [Mutex] waiting for: [received:nodes:caeefa90-3f9e-4321-baec-057fe4468306:localhost] 2021-06-04 22:57:03 | [Mutex] received everything. 2021-06-04 22:57:03 | [Mutex] isItemNotified: received:node:caeefa90-3f9e-4321-baec-057fe4468306:localhost:node-3b261278-31d6-4ae3-afba-edcfed96beff:Node 3b261278-31d6-4ae3-afba-edcfed96beff :: false |
createNodes | 1.669s |
2021-06-04 22:56:59 |
2021-06-04 22:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:56:59 | ------------------------------------ 2021-06-04 22:56:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3b261278-31d6-4ae3-afba-edcfed96beff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3b261278-31d6-4ae3-afba-edcfed96beff</title></pubsub></data> 2021-06-04 22:56:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-04 22:57:00 | [Mutex] waiting for: [received:nodes:42ffe9a7-66a0-4b12-b057-d5a544745e55:localhost] 2021-06-04 22:57:00 | [Mutex] received everything. 2021-06-04 22:57:00 | [Mutex] isItemNotified: received:node:42ffe9a7-66a0-4b12-b057-d5a544745e55:localhost:node-3b261278-31d6-4ae3-afba-edcfed96beff:Node 3b261278-31d6-4ae3-afba-edcfed96beff :: true |
createSubnodes | 1.042s |
2021-06-04 22:57:00 |
2021-06-04 22:57:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:00 | ------------------------------------ 2021-06-04 22:57:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a1a9216d-00dd-404f-a439-0fff478d8ade</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a1a9216d-00dd-404f-a439-0fff478d8ade</title></pubsub></data> 2021-06-04 22:57:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-04 22:57:02 | [Mutex] waiting for: [received:nodes:e5b470a3-6608-436f-b901-0175f1e5adde:localhost] 2021-06-04 22:57:02 | [Mutex] waiting for: [received:nodes:e5b470a3-6608-436f-b901-0175f1e5adde:localhost] 2021-06-04 22:57:02 | [Mutex] received everything. 2021-06-04 22:57:02 | [Mutex] isItemNotified: received:node:e5b470a3-6608-436f-b901-0175f1e5adde:localhost:node-a1a9216d-00dd-404f-a439-0fff478d8ade:Node a1a9216d-00dd-404f-a439-0fff478d8ade :: true |
deleteNodes | 1.026s |
2021-06-04 22:57:07 |
2021-06-04 22:57:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:07 | ------------------------------------ 2021-06-04 22:57:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a1a9216d-00dd-404f-a439-0fff478d8ade</node></data> 2021-06-04 22:57:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-04 22:57:08 | [Mutex] waiting for: [received:nodes:bb4a77f1-7e11-4ed2-88a8-0231a5ad66ea:localhost] 2021-06-04 22:57:08 | [Mutex] received everything. 2021-06-04 22:57:08 | [Mutex] isItemNotified: received:node:bb4a77f1-7e11-4ed2-88a8-0231a5ad66ea:localhost:node-a1a9216d-00dd-404f-a439-0fff478d8ade:Node a1a9216d-00dd-404f-a439-0fff478d8ade :: false |
deleteSubnodes | 1.186s |
2021-06-04 22:57:06 |
2021-06-04 22:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:06 | ------------------------------------ 2021-06-04 22:57:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3b261278-31d6-4ae3-afba-edcfed96beff</node></data> 2021-06-04 22:57:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-04 22:57:07 | [Mutex] waiting for: [received:nodes:424628b7-c190-42fc-ba0f-52864ee9d709:localhost] 2021-06-04 22:57:07 | [Mutex] received everything. 2021-06-04 22:57:07 | [Mutex] isItemNotified: received:node:424628b7-c190-42fc-ba0f-52864ee9d709:localhost:node-3b261278-31d6-4ae3-afba-edcfed96beff:Node 3b261278-31d6-4ae3-afba-edcfed96beff :: false 2021-06-04 22:57:07 | [Mutex] waiting for: [received:nodes:706b484d-b9cd-4490-82bc-3a9a30a8049b:localhost] 2021-06-04 22:57:07 | [Mutex] received everything. 2021-06-04 22:57:07 | [Mutex] isItemNotified: received:node:706b484d-b9cd-4490-82bc-3a9a30a8049b:localhost:node-3b261278-31d6-4ae3-afba-edcfed96beff:Node 3b261278-31d6-4ae3-afba-edcfed96beff :: false |
publishItemsToNodes | 0.356s |
2021-06-04 22:57:04 |
2021-06-04 22:57:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:04 | ------------------------------------ 2021-06-04 22:57:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3b261278-31d6-4ae3-afba-edcfed96beff</node><item-id>item-88724d8f-e99b-4f6f-a400-0a35751e367b</item-id><entry><test>item-88724d8f-e99b-4f6f-a400-0a35751e367b</test></entry></data> 2021-06-04 22:57:04 | 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-88724d8f-e99b-4f6f-a400-0a35751e367b</value></item-id></result> 2021-06-04 22:57:04 | [Mutex] waiting for: [published:item:notifieditem-88724d8f-e99b-4f6f-a400-0a35751e367b:admin@test-domain.com] 2021-06-04 22:57:04 | [Mutex] received everything. 2021-06-04 22:57:04 | [Mutex] isItemNotified: published:item:notifieditem-88724d8f-e99b-4f6f-a400-0a35751e367b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.304s |
2021-06-04 22:57:05 |
2021-06-04 22:57:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:05 | ------------------------------------ 2021-06-04 22:57:05 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3b261278-31d6-4ae3-afba-edcfed96beff</node><item-id>item-88724d8f-e99b-4f6f-a400-0a35751e367b</item-id></data> 2021-06-04 22:57:05 | 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-88724d8f-e99b-4f6f-a400-0a35751e367b</value></item-id></result> 2021-06-04 22:57:05 | [Mutex] received everything. 2021-06-04 22:57:05 | [Mutex] isItemNotified: retracted:item:notifieditem-88724d8f-e99b-4f6f-a400-0a35751e367b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.327s |
2021-06-04 22:57:04 |
2021-06-04 22:57:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:04 | ------------------------------------ 2021-06-04 22:57:04 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3b261278-31d6-4ae3-afba-edcfed96beff</node><item-id>item-88724d8f-e99b-4f6f-a400-0a35751e367b</item-id></data> 2021-06-04 22:57:04 | 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-3b261278-31d6-4ae3-afba-edcfed96beff</value></node><item-id type="text-single" label="Item ID"><value>item-88724d8f-e99b-4f6f-a400-0a35751e367b</value></item-id><item type="text-multi" label="Item"><value><item id="item-88724d8f-e99b-4f6f-a400-0a35751e367b"><test>item-88724d8f-e99b-4f6f-a400-0a35751e367b</test></item></value></item></result> 2021-06-04 22:57:04 | [Mutex] notify: [retrieved:item:item-88724d8f-e99b-4f6f-a400-0a35751e367b:payload-matches:true:localhost] 2021-06-04 22:57:04 | [Mutex] received everything. 2021-06-04 22:57:04 | [Mutex] isItemNotified: retrieved:item:item-88724d8f-e99b-4f6f-a400-0a35751e367b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-06-04 22:57:04 |
2021-06-04 22:57:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:04 | ------------------------------------ 2021-06-04 22:57:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-06-04 22:57:05 | 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-3b261278-31d6-4ae3-afba-edcfed96beff</value><value>node-a1a9216d-00dd-404f-a439-0fff478d8ade</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-06-04 22:57:05 |
2021-06-04 22:57:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:05 | ------------------------------------ 2021-06-04 22:57:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3b261278-31d6-4ae3-afba-edcfed96beff)</node-pattern></data> 2021-06-04 22:57:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.132s |
2021-06-04 22:57:03 |
2021-06-04 22:57:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:03 | ------------------------------------ 2021-06-04 22:57:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3b261278-31d6-4ae3-afba-edcfed96beff</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-04 22:57:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.310s |
2021-06-04 22:57:05 |
2021-06-04 22:57:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:57:05 | ------------------------------------ 2021-06-04 22:57:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3b261278-31d6-4ae3-afba-edcfed96beff</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-04 22:57:05 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |