Test duration : 10.313s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2021-03-31 22:28:55 |
2021-03-31 22:28:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:55 | ------------------------------------ 2021-03-31 22:28:55 | [Mutex] waiting for: [configured:node:node-82990046-78ad-4a55-a1f3-b42ed74a72cd:node-5454dad5-9f09-4967-9c4e-b4dded7dc1eb] 2021-03-31 22:28:55 | [Mutex] received everything. 2021-03-31 22:28:55 | [Mutex] isItemNotified: configured:node:node-82990046-78ad-4a55-a1f3-b42ed74a72cd:node-5454dad5-9f09-4967-9c4e-b4dded7dc1eb :: true 2021-03-31 22:28:56 | [Mutex] waiting for: [received:nodes:018d13d6-fef9-4ba4-b4c8-4efe921db42e:localhost] 2021-03-31 22:28:56 | [Mutex] received everything. 2021-03-31 22:28:56 | [Mutex] isItemNotified: received:node:018d13d6-fef9-4ba4-b4c8-4efe921db42e:localhost:node-82990046-78ad-4a55-a1f3-b42ed74a72cd:Node 82990046-78ad-4a55-a1f3-b42ed74a72cd :: true 2021-03-31 22:28:56 | [Mutex] waiting for: [received:nodes:0282e7d7-4046-4647-869d-a15ae0866665:localhost] 2021-03-31 22:28:56 | [Mutex] received everything. 2021-03-31 22:28:56 | [Mutex] isItemNotified: received:node:0282e7d7-4046-4647-869d-a15ae0866665:localhost:node-82990046-78ad-4a55-a1f3-b42ed74a72cd:Node 82990046-78ad-4a55-a1f3-b42ed74a72cd :: false |
createNodes | 1.526s |
2021-03-31 22:28:52 |
2021-03-31 22:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:52 | ------------------------------------ 2021-03-31 22:28:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-82990046-78ad-4a55-a1f3-b42ed74a72cd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 82990046-78ad-4a55-a1f3-b42ed74a72cd</title></pubsub></data> 2021-03-31 22:28:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-31 22:28:54 | [Mutex] waiting for: [received:nodes:46cdd057-48de-4db9-ba2f-a5ff498e3068:localhost] 2021-03-31 22:28:54 | [Mutex] received everything. 2021-03-31 22:28:54 | [Mutex] isItemNotified: received:node:46cdd057-48de-4db9-ba2f-a5ff498e3068:localhost:node-82990046-78ad-4a55-a1f3-b42ed74a72cd:Node 82990046-78ad-4a55-a1f3-b42ed74a72cd :: true |
createSubnodes | 1.028s |
2021-03-31 22:28:54 |
2021-03-31 22:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:54 | ------------------------------------ 2021-03-31 22:28:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5454dad5-9f09-4967-9c4e-b4dded7dc1eb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5454dad5-9f09-4967-9c4e-b4dded7dc1eb</title></pubsub></data> 2021-03-31 22:28:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-31 22:28:55 | [Mutex] waiting for: [received:nodes:557d2128-3a20-418b-86b5-68dec8897f4e:localhost] 2021-03-31 22:28:55 | [Mutex] waiting for: [received:nodes:557d2128-3a20-418b-86b5-68dec8897f4e:localhost] 2021-03-31 22:28:55 | [Mutex] received everything. 2021-03-31 22:28:55 | [Mutex] isItemNotified: received:node:557d2128-3a20-418b-86b5-68dec8897f4e:localhost:node-5454dad5-9f09-4967-9c4e-b4dded7dc1eb:Node 5454dad5-9f09-4967-9c4e-b4dded7dc1eb :: true |
deleteNodes | 1.022s |
2021-03-31 22:29:01 |
2021-03-31 22:29:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:29:01 | ------------------------------------ 2021-03-31 22:29:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5454dad5-9f09-4967-9c4e-b4dded7dc1eb</node></data> 2021-03-31 22:29:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-31 22:29:02 | [Mutex] waiting for: [received:nodes:96eef729-227b-4ca1-9d37-94723a1c6041:localhost] 2021-03-31 22:29:02 | [Mutex] received everything. 2021-03-31 22:29:02 | [Mutex] isItemNotified: received:node:96eef729-227b-4ca1-9d37-94723a1c6041:localhost:node-5454dad5-9f09-4967-9c4e-b4dded7dc1eb:Node 5454dad5-9f09-4967-9c4e-b4dded7dc1eb :: false |
deleteSubnodes | 1.118s |
2021-03-31 22:28:59 |
2021-03-31 22:28:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:59 | ------------------------------------ 2021-03-31 22:28:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-82990046-78ad-4a55-a1f3-b42ed74a72cd</node></data> 2021-03-31 22:29:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-31 22:29:01 | [Mutex] waiting for: [received:nodes:4c7b02fe-29ea-41a3-96dc-3cbe0b1cbe45:localhost] 2021-03-31 22:29:01 | [Mutex] waiting for: [received:nodes:4c7b02fe-29ea-41a3-96dc-3cbe0b1cbe45:localhost] 2021-03-31 22:29:01 | [Mutex] received everything. 2021-03-31 22:29:01 | [Mutex] isItemNotified: received:node:4c7b02fe-29ea-41a3-96dc-3cbe0b1cbe45:localhost:node-82990046-78ad-4a55-a1f3-b42ed74a72cd:Node 82990046-78ad-4a55-a1f3-b42ed74a72cd :: false 2021-03-31 22:29:01 | [Mutex] waiting for: [received:nodes:e281e603-7951-462e-8f4e-d59ee274d205:localhost] 2021-03-31 22:29:01 | [Mutex] received everything. 2021-03-31 22:29:01 | [Mutex] isItemNotified: received:node:e281e603-7951-462e-8f4e-d59ee274d205:localhost:node-82990046-78ad-4a55-a1f3-b42ed74a72cd:Node 82990046-78ad-4a55-a1f3-b42ed74a72cd :: false |
publishItemsToNodes | 0.234s |
2021-03-31 22:28:57 |
2021-03-31 22:28:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:57 | ------------------------------------ 2021-03-31 22:28:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-82990046-78ad-4a55-a1f3-b42ed74a72cd</node><item-id>item-ee6af865-f822-4416-a754-22993fd3a454</item-id><entry><test>item-ee6af865-f822-4416-a754-22993fd3a454</test></entry></data> 2021-03-31 22:28:57 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-ee6af865-f822-4416-a754-22993fd3a454</value></item-id></result> 2021-03-31 22:28:57 | [Mutex] received everything. 2021-03-31 22:28:57 | [Mutex] isItemNotified: published:item:notifieditem-ee6af865-f822-4416-a754-22993fd3a454:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2021-03-31 22:28:58 |
2021-03-31 22:28:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:58 | ------------------------------------ 2021-03-31 22:28:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-82990046-78ad-4a55-a1f3-b42ed74a72cd</node><item-id>item-ee6af865-f822-4416-a754-22993fd3a454</item-id></data> 2021-03-31 22:28:58 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-ee6af865-f822-4416-a754-22993fd3a454</value></item-id></result> 2021-03-31 22:28:58 | [Mutex] received everything. 2021-03-31 22:28:58 | [Mutex] isItemNotified: retracted:item:notifieditem-ee6af865-f822-4416-a754-22993fd3a454:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.324s |
2021-03-31 22:28:57 |
2021-03-31 22:28:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:57 | ------------------------------------ 2021-03-31 22:28:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-82990046-78ad-4a55-a1f3-b42ed74a72cd</node><item-id>item-ee6af865-f822-4416-a754-22993fd3a454</item-id></data> 2021-03-31 22:28:58 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-82990046-78ad-4a55-a1f3-b42ed74a72cd</value></node><item-id label="Item ID" type="text-single"><value>item-ee6af865-f822-4416-a754-22993fd3a454</value></item-id><item label="Item" type="text-multi"><value><item id="item-ee6af865-f822-4416-a754-22993fd3a454"><test>item-ee6af865-f822-4416-a754-22993fd3a454</test></item></value></item></result> 2021-03-31 22:28:58 | [Mutex] notify: [retrieved:item:item-ee6af865-f822-4416-a754-22993fd3a454:payload-matches:true:localhost] 2021-03-31 22:28:58 | [Mutex] received everything. 2021-03-31 22:28:58 | [Mutex] isItemNotified: retrieved:item:item-ee6af865-f822-4416-a754-22993fd3a454:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-31 22:28:58 |
2021-03-31 22:28:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:58 | ------------------------------------ 2021-03-31 22:28:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-31 22:28:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-5454dad5-9f09-4967-9c4e-b4dded7dc1eb</value><value>test</value><value>node-82990046-78ad-4a55-a1f3-b42ed74a72cd</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-03-31 22:28:58 |
2021-03-31 22:28:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:58 | ------------------------------------ 2021-03-31 22:28:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-82990046-78ad-4a55-a1f3-b42ed74a72cd)</node-pattern></data> 2021-03-31 22:28:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.164s |
2021-03-31 22:28:56 |
2021-03-31 22:28:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:56 | ------------------------------------ 2021-03-31 22:28:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-82990046-78ad-4a55-a1f3-b42ed74a72cd</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-31 22:28:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.343s |
2021-03-31 22:28:58 |
2021-03-31 22:28:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-31 22:28:58 | ------------------------------------ 2021-03-31 22:28:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-82990046-78ad-4a55-a1f3-b42ed74a72cd</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-31 22:28:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |