Test duration : 10.305s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2021-09-22 22:38:33 |
2021-09-22 22:38:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:33 | ------------------------------------ 2021-09-22 22:38:33 | [Mutex] waiting for: [configured:node:node-daf74b0a-b650-49e4-bee6-a97b07c3df13:node-8acfbb59-e9bd-48a7-a7f5-a94a5984f271] 2021-09-22 22:38:33 | [Mutex] received everything. 2021-09-22 22:38:33 | [Mutex] isItemNotified: configured:node:node-daf74b0a-b650-49e4-bee6-a97b07c3df13:node-8acfbb59-e9bd-48a7-a7f5-a94a5984f271 :: true 2021-09-22 22:38:34 | [Mutex] waiting for: [received:nodes:013cf354-d787-472b-bb5a-a08b99e2312a:localhost] 2021-09-22 22:38:34 | [Mutex] received everything. 2021-09-22 22:38:34 | [Mutex] isItemNotified: received:node:013cf354-d787-472b-bb5a-a08b99e2312a:localhost:node-daf74b0a-b650-49e4-bee6-a97b07c3df13:Node daf74b0a-b650-49e4-bee6-a97b07c3df13 :: true 2021-09-22 22:38:34 | [Mutex] waiting for: [received:nodes:35730913-d17a-4149-bc39-396c0c7dd8c6:localhost] 2021-09-22 22:38:34 | [Mutex] waiting for: [received:nodes:35730913-d17a-4149-bc39-396c0c7dd8c6:localhost] 2021-09-22 22:38:34 | [Mutex] received everything. 2021-09-22 22:38:34 | [Mutex] isItemNotified: received:node:35730913-d17a-4149-bc39-396c0c7dd8c6:localhost:node-daf74b0a-b650-49e4-bee6-a97b07c3df13:Node daf74b0a-b650-49e4-bee6-a97b07c3df13 :: false |
createNodes | 1.600s |
2021-09-22 22:38:31 |
2021-09-22 22:38:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:31 | ------------------------------------ 2021-09-22 22:38:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-daf74b0a-b650-49e4-bee6-a97b07c3df13</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node daf74b0a-b650-49e4-bee6-a97b07c3df13</title></pubsub></data> 2021-09-22 22:38:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 22:38:32 | [Mutex] waiting for: [received:nodes:5a527ae0-c106-4279-8640-075b7b2b7a9b:localhost] 2021-09-22 22:38:32 | [Mutex] received everything. 2021-09-22 22:38:32 | [Mutex] isItemNotified: received:node:5a527ae0-c106-4279-8640-075b7b2b7a9b:localhost:node-daf74b0a-b650-49e4-bee6-a97b07c3df13:Node daf74b0a-b650-49e4-bee6-a97b07c3df13 :: true |
createSubnodes | 1.023s |
2021-09-22 22:38:32 |
2021-09-22 22:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:32 | ------------------------------------ 2021-09-22 22:38:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8acfbb59-e9bd-48a7-a7f5-a94a5984f271</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8acfbb59-e9bd-48a7-a7f5-a94a5984f271</title></pubsub></data> 2021-09-22 22:38:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 22:38:33 | [Mutex] waiting for: [received:nodes:50d09700-64f5-4998-9843-34b6190b06ef:localhost] 2021-09-22 22:38:33 | [Mutex] waiting for: [received:nodes:50d09700-64f5-4998-9843-34b6190b06ef:localhost] 2021-09-22 22:38:33 | [Mutex] received everything. 2021-09-22 22:38:33 | [Mutex] isItemNotified: received:node:50d09700-64f5-4998-9843-34b6190b06ef:localhost:node-8acfbb59-e9bd-48a7-a7f5-a94a5984f271:Node 8acfbb59-e9bd-48a7-a7f5-a94a5984f271 :: true |
deleteNodes | 1.017s |
2021-09-22 22:38:39 |
2021-09-22 22:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:39 | ------------------------------------ 2021-09-22 22:38:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8acfbb59-e9bd-48a7-a7f5-a94a5984f271</node></data> 2021-09-22 22:38:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 22:38:40 | [Mutex] waiting for: [received:nodes:dac6e5a4-07c7-4a86-8a14-adec1e452c2f:localhost] 2021-09-22 22:38:40 | [Mutex] received everything. 2021-09-22 22:38:40 | [Mutex] isItemNotified: received:node:dac6e5a4-07c7-4a86-8a14-adec1e452c2f:localhost:node-8acfbb59-e9bd-48a7-a7f5-a94a5984f271:Node 8acfbb59-e9bd-48a7-a7f5-a94a5984f271 :: false |
deleteSubnodes | 1.195s |
2021-09-22 22:38:38 |
2021-09-22 22:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:38 | ------------------------------------ 2021-09-22 22:38:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-daf74b0a-b650-49e4-bee6-a97b07c3df13</node></data> 2021-09-22 22:38:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 22:38:39 | [Mutex] waiting for: [received:nodes:44f60995-a6dc-469a-8ac4-1c5e227737aa:localhost] 2021-09-22 22:38:39 | [Mutex] received everything. 2021-09-22 22:38:39 | [Mutex] isItemNotified: received:node:44f60995-a6dc-469a-8ac4-1c5e227737aa:localhost:node-daf74b0a-b650-49e4-bee6-a97b07c3df13:Node daf74b0a-b650-49e4-bee6-a97b07c3df13 :: false 2021-09-22 22:38:39 | [Mutex] waiting for: [received:nodes:94900fe5-7e7a-4596-8b1c-b4ae471cf554:localhost] 2021-09-22 22:38:39 | [Mutex] received everything. 2021-09-22 22:38:39 | [Mutex] isItemNotified: received:node:94900fe5-7e7a-4596-8b1c-b4ae471cf554:localhost:node-daf74b0a-b650-49e4-bee6-a97b07c3df13:Node daf74b0a-b650-49e4-bee6-a97b07c3df13 :: false |
publishItemsToNodes | 0.292s |
2021-09-22 22:38:35 |
2021-09-22 22:38:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:35 | ------------------------------------ 2021-09-22 22:38:35 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-daf74b0a-b650-49e4-bee6-a97b07c3df13</node><item-id>item-718f10ba-63e2-47d7-81e1-fe12b3675620</item-id><entry><test>item-718f10ba-63e2-47d7-81e1-fe12b3675620</test></entry></data> 2021-09-22 22:38:36 | 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-718f10ba-63e2-47d7-81e1-fe12b3675620</value></item-id></result> 2021-09-22 22:38:36 | [Mutex] received everything. 2021-09-22 22:38:36 | [Mutex] isItemNotified: published:item:notifieditem-718f10ba-63e2-47d7-81e1-fe12b3675620:admin@test-domain.com :: true |
retractItemsFromNodes | 0.243s |
2021-09-22 22:38:36 |
2021-09-22 22:38:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:36 | ------------------------------------ 2021-09-22 22:38:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-daf74b0a-b650-49e4-bee6-a97b07c3df13</node><item-id>item-718f10ba-63e2-47d7-81e1-fe12b3675620</item-id></data> 2021-09-22 22:38:36 | 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-718f10ba-63e2-47d7-81e1-fe12b3675620</value></item-id></result> 2021-09-22 22:38:36 | [Mutex] received everything. 2021-09-22 22:38:36 | [Mutex] isItemNotified: retracted:item:notifieditem-718f10ba-63e2-47d7-81e1-fe12b3675620:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.285s |
2021-09-22 22:38:36 |
2021-09-22 22:38:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:36 | ------------------------------------ 2021-09-22 22:38:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-daf74b0a-b650-49e4-bee6-a97b07c3df13</node><item-id>item-718f10ba-63e2-47d7-81e1-fe12b3675620</item-id></data> 2021-09-22 22:38:36 | 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-daf74b0a-b650-49e4-bee6-a97b07c3df13</value></node><item-id label="Item ID" type="text-single"><value>item-718f10ba-63e2-47d7-81e1-fe12b3675620</value></item-id><item label="Item" type="text-multi"><value><item id="item-718f10ba-63e2-47d7-81e1-fe12b3675620"><test>item-718f10ba-63e2-47d7-81e1-fe12b3675620</test></item></value></item></result> 2021-09-22 22:38:36 | [Mutex] notify: [retrieved:item:item-718f10ba-63e2-47d7-81e1-fe12b3675620:payload-matches:true:localhost] 2021-09-22 22:38:36 | [Mutex] received everything. 2021-09-22 22:38:36 | [Mutex] isItemNotified: retrieved:item:item-718f10ba-63e2-47d7-81e1-fe12b3675620:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-09-22 22:38:36 |
2021-09-22 22:38:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:36 | ------------------------------------ 2021-09-22 22:38:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-22 22:38:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-daf74b0a-b650-49e4-bee6-a97b07c3df13</value><value>test</value><value>node-8acfbb59-e9bd-48a7-a7f5-a94a5984f271</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-09-22 22:38:36 |
2021-09-22 22:38:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:36 | ------------------------------------ 2021-09-22 22:38:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-daf74b0a-b650-49e4-bee6-a97b07c3df13)</node-pattern></data> 2021-09-22 22:38:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.173s |
2021-09-22 22:38:34 |
2021-09-22 22:38:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:34 | ------------------------------------ 2021-09-22 22:38:34 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-daf74b0a-b650-49e4-bee6-a97b07c3df13</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-22 22:38:34 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.295s |
2021-09-22 22:38:36 |
2021-09-22 22:38:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 22:38:36 | ------------------------------------ 2021-09-22 22:38:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-daf74b0a-b650-49e4-bee6-a97b07c3df13</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-22 22:38:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |