Test duration : 9.756s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2021-04-21 22:17:12 |
2021-04-21 22:17:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:12 | ------------------------------------ 2021-04-21 22:17:12 | [Mutex] waiting for: [configured:node:node-ca3947ea-c7cb-4c16-8437-1f76acb026a5:node-1607c53a-660c-4ded-8233-08e8d37369a6] 2021-04-21 22:17:12 | [Mutex] received everything. 2021-04-21 22:17:12 | [Mutex] isItemNotified: configured:node:node-ca3947ea-c7cb-4c16-8437-1f76acb026a5:node-1607c53a-660c-4ded-8233-08e8d37369a6 :: true 2021-04-21 22:17:13 | [Mutex] waiting for: [received:nodes:a6adbc7d-6bb0-49b1-b2a5-fbb2661192ae:localhost] 2021-04-21 22:17:13 | [Mutex] received everything. 2021-04-21 22:17:13 | [Mutex] isItemNotified: received:node:a6adbc7d-6bb0-49b1-b2a5-fbb2661192ae:localhost:node-ca3947ea-c7cb-4c16-8437-1f76acb026a5:Node ca3947ea-c7cb-4c16-8437-1f76acb026a5 :: true 2021-04-21 22:17:13 | [Mutex] waiting for: [received:nodes:22d183df-d102-4e6c-bdba-e2def90d5198:localhost] 2021-04-21 22:17:13 | [Mutex] waiting for: [received:nodes:22d183df-d102-4e6c-bdba-e2def90d5198:localhost] 2021-04-21 22:17:13 | [Mutex] received everything. 2021-04-21 22:17:13 | [Mutex] isItemNotified: received:node:22d183df-d102-4e6c-bdba-e2def90d5198:localhost:node-ca3947ea-c7cb-4c16-8437-1f76acb026a5:Node ca3947ea-c7cb-4c16-8437-1f76acb026a5 :: false |
createNodes | 1.405s |
2021-04-21 22:17:09 |
2021-04-21 22:17:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:09 | ------------------------------------ 2021-04-21 22:17:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ca3947ea-c7cb-4c16-8437-1f76acb026a5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ca3947ea-c7cb-4c16-8437-1f76acb026a5</title></pubsub></data> 2021-04-21 22:17:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-21 22:17:11 | [Mutex] waiting for: [received:nodes:9fdff9f6-c855-4fb8-9b0a-1580b57cede1:localhost] 2021-04-21 22:17:11 | [Mutex] received everything. 2021-04-21 22:17:11 | [Mutex] isItemNotified: received:node:9fdff9f6-c855-4fb8-9b0a-1580b57cede1:localhost:node-ca3947ea-c7cb-4c16-8437-1f76acb026a5:Node ca3947ea-c7cb-4c16-8437-1f76acb026a5 :: true |
createSubnodes | 1.023s |
2021-04-21 22:17:11 |
2021-04-21 22:17:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:11 | ------------------------------------ 2021-04-21 22:17:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1607c53a-660c-4ded-8233-08e8d37369a6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1607c53a-660c-4ded-8233-08e8d37369a6</title></pubsub></data> 2021-04-21 22:17:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-21 22:17:12 | [Mutex] waiting for: [received:nodes:b55164a9-df18-4722-8e3f-27d3dc0238e6:localhost] 2021-04-21 22:17:12 | [Mutex] received everything. 2021-04-21 22:17:12 | [Mutex] isItemNotified: received:node:b55164a9-df18-4722-8e3f-27d3dc0238e6:localhost:node-1607c53a-660c-4ded-8233-08e8d37369a6:Node 1607c53a-660c-4ded-8233-08e8d37369a6 :: true |
deleteNodes | 1.022s |
2021-04-21 22:17:17 |
2021-04-21 22:17:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:17 | ------------------------------------ 2021-04-21 22:17:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1607c53a-660c-4ded-8233-08e8d37369a6</node></data> 2021-04-21 22:17:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-21 22:17:18 | [Mutex] waiting for: [received:nodes:1a5f20e6-b6e5-49b5-b742-f6217bbf664f:localhost] 2021-04-21 22:17:18 | [Mutex] received everything. 2021-04-21 22:17:18 | [Mutex] isItemNotified: received:node:1a5f20e6-b6e5-49b5-b742-f6217bbf664f:localhost:node-1607c53a-660c-4ded-8233-08e8d37369a6:Node 1607c53a-660c-4ded-8233-08e8d37369a6 :: false |
deleteSubnodes | 1.143s |
2021-04-21 22:17:16 |
2021-04-21 22:17:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:16 | ------------------------------------ 2021-04-21 22:17:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ca3947ea-c7cb-4c16-8437-1f76acb026a5</node></data> 2021-04-21 22:17:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-21 22:17:17 | [Mutex] waiting for: [received:nodes:58eacfb9-3520-49fe-99d3-366057f925a4:localhost] 2021-04-21 22:17:17 | [Mutex] waiting for: [received:nodes:58eacfb9-3520-49fe-99d3-366057f925a4:localhost] 2021-04-21 22:17:17 | [Mutex] received everything. 2021-04-21 22:17:17 | [Mutex] isItemNotified: received:node:58eacfb9-3520-49fe-99d3-366057f925a4:localhost:node-ca3947ea-c7cb-4c16-8437-1f76acb026a5:Node ca3947ea-c7cb-4c16-8437-1f76acb026a5 :: false 2021-04-21 22:17:17 | [Mutex] waiting for: [received:nodes:63e621d6-4a9a-4f53-95f1-5525c91ac6d0:localhost] 2021-04-21 22:17:17 | [Mutex] received everything. 2021-04-21 22:17:17 | [Mutex] isItemNotified: received:node:63e621d6-4a9a-4f53-95f1-5525c91ac6d0:localhost:node-ca3947ea-c7cb-4c16-8437-1f76acb026a5:Node ca3947ea-c7cb-4c16-8437-1f76acb026a5 :: false |
publishItemsToNodes | 0.221s |
2021-04-21 22:17:14 |
2021-04-21 22:17:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:14 | ------------------------------------ 2021-04-21 22:17:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ca3947ea-c7cb-4c16-8437-1f76acb026a5</node><item-id>item-578ef586-79e3-4446-a537-58609b632f1a</item-id><entry><test>item-578ef586-79e3-4446-a537-58609b632f1a</test></entry></data> 2021-04-21 22:17:14 | 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-578ef586-79e3-4446-a537-58609b632f1a</value></item-id></result> 2021-04-21 22:17:14 | [Mutex] waiting for: [published:item:notifieditem-578ef586-79e3-4446-a537-58609b632f1a:admin@test-domain.com] 2021-04-21 22:17:14 | [Mutex] received everything. 2021-04-21 22:17:14 | [Mutex] isItemNotified: published:item:notifieditem-578ef586-79e3-4446-a537-58609b632f1a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.283s |
2021-04-21 22:17:15 |
2021-04-21 22:17:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:15 | ------------------------------------ 2021-04-21 22:17:15 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ca3947ea-c7cb-4c16-8437-1f76acb026a5</node><item-id>item-578ef586-79e3-4446-a537-58609b632f1a</item-id></data> 2021-04-21 22:17:15 | 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-578ef586-79e3-4446-a537-58609b632f1a</value></item-id></result> 2021-04-21 22:17:15 | [Mutex] received everything. 2021-04-21 22:17:15 | [Mutex] isItemNotified: retracted:item:notifieditem-578ef586-79e3-4446-a537-58609b632f1a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.314s |
2021-04-21 22:17:14 |
2021-04-21 22:17:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:14 | ------------------------------------ 2021-04-21 22:17:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ca3947ea-c7cb-4c16-8437-1f76acb026a5</node><item-id>item-578ef586-79e3-4446-a537-58609b632f1a</item-id></data> 2021-04-21 22:17:15 | 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-ca3947ea-c7cb-4c16-8437-1f76acb026a5</value></node><item-id label="Item ID" type="text-single"><value>item-578ef586-79e3-4446-a537-58609b632f1a</value></item-id><item label="Item" type="text-multi"><value><item id="item-578ef586-79e3-4446-a537-58609b632f1a"><test>item-578ef586-79e3-4446-a537-58609b632f1a</test></item></value></item></result> 2021-04-21 22:17:15 | [Mutex] notify: [retrieved:item:item-578ef586-79e3-4446-a537-58609b632f1a:payload-matches:true:localhost] 2021-04-21 22:17:15 | [Mutex] received everything. 2021-04-21 22:17:15 | [Mutex] isItemNotified: retrieved:item:item-578ef586-79e3-4446-a537-58609b632f1a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2021-04-21 22:17:15 |
2021-04-21 22:17:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:15 | ------------------------------------ 2021-04-21 22:17:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-04-21 22:17:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-ca3947ea-c7cb-4c16-8437-1f76acb026a5</value><value>node-1607c53a-660c-4ded-8233-08e8d37369a6</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2021-04-21 22:17:15 |
2021-04-21 22:17:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:15 | ------------------------------------ 2021-04-21 22:17:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ca3947ea-c7cb-4c16-8437-1f76acb026a5)</node-pattern></data> 2021-04-21 22:17:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.098s |
2021-04-21 22:17:13 |
2021-04-21 22:17:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:13 | ------------------------------------ 2021-04-21 22:17:13 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ca3947ea-c7cb-4c16-8437-1f76acb026a5</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-21 22:17:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.215s |
2021-04-21 22:17:15 |
2021-04-21 22:17:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:17:15 | ------------------------------------ 2021-04-21 22:17:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ca3947ea-c7cb-4c16-8437-1f76acb026a5</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-21 22:17:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |