Test duration : 10.361s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.115s |
2021-02-05 21:28:49 |
2021-02-05 21:28:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:49 | ------------------------------------ 2021-02-05 21:28:49 | [Mutex] waiting for: [configured:node:node-3521a514-21c9-4298-96d1-938985115159:node-7352cdf1-2d7e-4bdb-b048-8f930a4c4ec1] 2021-02-05 21:28:49 | [Mutex] received everything. 2021-02-05 21:28:49 | [Mutex] isItemNotified: configured:node:node-3521a514-21c9-4298-96d1-938985115159:node-7352cdf1-2d7e-4bdb-b048-8f930a4c4ec1 :: true 2021-02-05 21:28:50 | [Mutex] waiting for: [received:nodes:a109a162-872a-4d56-976d-be154f33db65:localhost] 2021-02-05 21:28:50 | [Mutex] received everything. 2021-02-05 21:28:50 | [Mutex] isItemNotified: received:node:a109a162-872a-4d56-976d-be154f33db65:localhost:node-3521a514-21c9-4298-96d1-938985115159:Node 3521a514-21c9-4298-96d1-938985115159 :: true 2021-02-05 21:28:50 | [Mutex] waiting for: [received:nodes:65fab753-f1b8-4a6c-aa79-696cb5639767:localhost] 2021-02-05 21:28:50 | [Mutex] received everything. 2021-02-05 21:28:50 | [Mutex] isItemNotified: received:node:65fab753-f1b8-4a6c-aa79-696cb5639767:localhost:node-3521a514-21c9-4298-96d1-938985115159:Node 3521a514-21c9-4298-96d1-938985115159 :: false |
createNodes | 1.614s |
2021-02-05 21:28:46 |
2021-02-05 21:28:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:46 | ------------------------------------ 2021-02-05 21:28:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3521a514-21c9-4298-96d1-938985115159</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3521a514-21c9-4298-96d1-938985115159</title></pubsub></data> 2021-02-05 21:28:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-05 21:28:48 | [Mutex] waiting for: [received:nodes:90d18342-9823-41a6-b4e7-8a2c81b143cb:localhost] 2021-02-05 21:28:48 | [Mutex] received everything. 2021-02-05 21:28:48 | [Mutex] isItemNotified: received:node:90d18342-9823-41a6-b4e7-8a2c81b143cb:localhost:node-3521a514-21c9-4298-96d1-938985115159:Node 3521a514-21c9-4298-96d1-938985115159 :: true |
createSubnodes | 1.031s |
2021-02-05 21:28:48 |
2021-02-05 21:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:48 | ------------------------------------ 2021-02-05 21:28:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7352cdf1-2d7e-4bdb-b048-8f930a4c4ec1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7352cdf1-2d7e-4bdb-b048-8f930a4c4ec1</title></pubsub></data> 2021-02-05 21:28:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-05 21:28:49 | [Mutex] waiting for: [received:nodes:b491140d-1d1d-43e6-8a8c-bc2ba453aafa:localhost] 2021-02-05 21:28:49 | [Mutex] received everything. 2021-02-05 21:28:49 | [Mutex] isItemNotified: received:node:b491140d-1d1d-43e6-8a8c-bc2ba453aafa:localhost:node-7352cdf1-2d7e-4bdb-b048-8f930a4c4ec1:Node 7352cdf1-2d7e-4bdb-b048-8f930a4c4ec1 :: true |
deleteNodes | 1.027s |
2021-02-05 21:28:54 |
2021-02-05 21:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:54 | ------------------------------------ 2021-02-05 21:28:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7352cdf1-2d7e-4bdb-b048-8f930a4c4ec1</node></data> 2021-02-05 21:28:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-05 21:28:55 | [Mutex] waiting for: [received:nodes:bfcf5bb1-b370-44ff-bed6-bc7a70a068e4:localhost] 2021-02-05 21:28:55 | [Mutex] received everything. 2021-02-05 21:28:55 | [Mutex] isItemNotified: received:node:bfcf5bb1-b370-44ff-bed6-bc7a70a068e4:localhost:node-7352cdf1-2d7e-4bdb-b048-8f930a4c4ec1:Node 7352cdf1-2d7e-4bdb-b048-8f930a4c4ec1 :: false |
deleteSubnodes | 1.115s |
2021-02-05 21:28:53 |
2021-02-05 21:28:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:53 | ------------------------------------ 2021-02-05 21:28:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3521a514-21c9-4298-96d1-938985115159</node></data> 2021-02-05 21:28:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-05 21:28:54 | [Mutex] waiting for: [received:nodes:223610c7-bd86-49e5-9e28-76232fcc8fbf:localhost] 2021-02-05 21:28:54 | [Mutex] waiting for: [received:nodes:223610c7-bd86-49e5-9e28-76232fcc8fbf:localhost] 2021-02-05 21:28:54 | [Mutex] received everything. 2021-02-05 21:28:54 | [Mutex] isItemNotified: received:node:223610c7-bd86-49e5-9e28-76232fcc8fbf:localhost:node-3521a514-21c9-4298-96d1-938985115159:Node 3521a514-21c9-4298-96d1-938985115159 :: false 2021-02-05 21:28:54 | [Mutex] waiting for: [received:nodes:848cd074-7759-47fc-9239-ca5c8e16906f:localhost] 2021-02-05 21:28:54 | [Mutex] received everything. 2021-02-05 21:28:54 | [Mutex] isItemNotified: received:node:848cd074-7759-47fc-9239-ca5c8e16906f:localhost:node-3521a514-21c9-4298-96d1-938985115159:Node 3521a514-21c9-4298-96d1-938985115159 :: false |
publishItemsToNodes | 0.257s |
2021-02-05 21:28:51 |
2021-02-05 21:28:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:51 | ------------------------------------ 2021-02-05 21:28:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3521a514-21c9-4298-96d1-938985115159</node><item-id>item-135a068d-0440-43dc-b317-35f2715f520d</item-id><entry><test>item-135a068d-0440-43dc-b317-35f2715f520d</test></entry></data> 2021-02-05 21:28:51 | 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-135a068d-0440-43dc-b317-35f2715f520d</value></item-id></result> 2021-02-05 21:28:51 | [Mutex] received everything. 2021-02-05 21:28:51 | [Mutex] isItemNotified: published:item:notifieditem-135a068d-0440-43dc-b317-35f2715f520d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.268s |
2021-02-05 21:28:52 |
2021-02-05 21:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:52 | ------------------------------------ 2021-02-05 21:28:52 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3521a514-21c9-4298-96d1-938985115159</node><item-id>item-135a068d-0440-43dc-b317-35f2715f520d</item-id></data> 2021-02-05 21:28:52 | 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-135a068d-0440-43dc-b317-35f2715f520d</value></item-id></result> 2021-02-05 21:28:52 | [Mutex] waiting for: [retracted:item:notifieditem-135a068d-0440-43dc-b317-35f2715f520d:admin@test-domain.com] 2021-02-05 21:28:52 | [Mutex] received everything. 2021-02-05 21:28:52 | [Mutex] isItemNotified: retracted:item:notifieditem-135a068d-0440-43dc-b317-35f2715f520d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.303s |
2021-02-05 21:28:51 |
2021-02-05 21:28:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:51 | ------------------------------------ 2021-02-05 21:28:51 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3521a514-21c9-4298-96d1-938985115159</node><item-id>item-135a068d-0440-43dc-b317-35f2715f520d</item-id></data> 2021-02-05 21:28:52 | 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-3521a514-21c9-4298-96d1-938985115159</value></node><item-id label="Item ID" type="text-single"><value>item-135a068d-0440-43dc-b317-35f2715f520d</value></item-id><item label="Item" type="text-multi"><value><item id="item-135a068d-0440-43dc-b317-35f2715f520d"><test>item-135a068d-0440-43dc-b317-35f2715f520d</test></item></value></item></result> 2021-02-05 21:28:52 | [Mutex] notify: [retrieved:item:item-135a068d-0440-43dc-b317-35f2715f520d:payload-matches:true:localhost] 2021-02-05 21:28:52 | [Mutex] received everything. 2021-02-05 21:28:52 | [Mutex] isItemNotified: retrieved:item:item-135a068d-0440-43dc-b317-35f2715f520d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-02-05 21:28:52 |
2021-02-05 21:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:52 | ------------------------------------ 2021-02-05 21:28:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-02-05 21:28:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-3521a514-21c9-4298-96d1-938985115159</value><value>node-7352cdf1-2d7e-4bdb-b048-8f930a4c4ec1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.063s |
2021-02-05 21:28:52 |
2021-02-05 21:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:52 | ------------------------------------ 2021-02-05 21:28:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3521a514-21c9-4298-96d1-938985115159)</node-pattern></data> 2021-02-05 21:28:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.114s |
2021-02-05 21:28:50 |
2021-02-05 21:28:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:50 | ------------------------------------ 2021-02-05 21:28:50 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3521a514-21c9-4298-96d1-938985115159</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-05 21:28:50 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.351s |
2021-02-05 21:28:52 |
2021-02-05 21:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-05 21:28:52 | ------------------------------------ 2021-02-05 21:28:52 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3521a514-21c9-4298-96d1-938985115159</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-05 21:28:52 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |