Test duration : 10.005s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2020-09-25 22:58:36 |
2020-09-25 22:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:36 | ------------------------------------ 2020-09-25 22:58:36 | [Mutex] waiting for: [configured:node:node-2ead50a4-9083-4e95-8044-d016b87d797e:node-fe463b82-149d-4bbb-8c8a-e1ebc53a8863] 2020-09-25 22:58:36 | [Mutex] received everything. 2020-09-25 22:58:36 | [Mutex] isItemNotified: configured:node:node-2ead50a4-9083-4e95-8044-d016b87d797e:node-fe463b82-149d-4bbb-8c8a-e1ebc53a8863 :: true 2020-09-25 22:58:37 | [Mutex] waiting for: [received:nodes:b127c25d-8b1c-4fc1-a559-96eb918178e5:localhost] 2020-09-25 22:58:37 | [Mutex] received everything. 2020-09-25 22:58:37 | [Mutex] isItemNotified: received:node:b127c25d-8b1c-4fc1-a559-96eb918178e5:localhost:node-2ead50a4-9083-4e95-8044-d016b87d797e:Node 2ead50a4-9083-4e95-8044-d016b87d797e :: true 2020-09-25 22:58:37 | [Mutex] waiting for: [received:nodes:c3714664-9a2d-497f-852b-c2a3e4912634:localhost] 2020-09-25 22:58:37 | [Mutex] received everything. 2020-09-25 22:58:37 | [Mutex] isItemNotified: received:node:c3714664-9a2d-497f-852b-c2a3e4912634:localhost:node-2ead50a4-9083-4e95-8044-d016b87d797e:Node 2ead50a4-9083-4e95-8044-d016b87d797e :: false |
createNodes | 1.457s |
2020-09-25 22:58:33 |
2020-09-25 22:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:33 | ------------------------------------ 2020-09-25 22:58:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2ead50a4-9083-4e95-8044-d016b87d797e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2ead50a4-9083-4e95-8044-d016b87d797e</title></pubsub></data> 2020-09-25 22:58:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 22:58:35 | [Mutex] waiting for: [received:nodes:017e388f-f2f7-4b7f-847a-2a5b1fb9fb96:localhost] 2020-09-25 22:58:35 | [Mutex] received everything. 2020-09-25 22:58:35 | [Mutex] isItemNotified: received:node:017e388f-f2f7-4b7f-847a-2a5b1fb9fb96:localhost:node-2ead50a4-9083-4e95-8044-d016b87d797e:Node 2ead50a4-9083-4e95-8044-d016b87d797e :: true |
createSubnodes | 1.046s |
2020-09-25 22:58:35 |
2020-09-25 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:35 | ------------------------------------ 2020-09-25 22:58:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fe463b82-149d-4bbb-8c8a-e1ebc53a8863</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fe463b82-149d-4bbb-8c8a-e1ebc53a8863</title></pubsub></data> 2020-09-25 22:58:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 22:58:36 | [Mutex] waiting for: [received:nodes:eccdd8cb-90a1-4219-b92b-09d989c071fd:localhost] 2020-09-25 22:58:36 | [Mutex] waiting for: [received:nodes:eccdd8cb-90a1-4219-b92b-09d989c071fd:localhost] 2020-09-25 22:58:36 | [Mutex] received everything. 2020-09-25 22:58:36 | [Mutex] isItemNotified: received:node:eccdd8cb-90a1-4219-b92b-09d989c071fd:localhost:node-fe463b82-149d-4bbb-8c8a-e1ebc53a8863:Node fe463b82-149d-4bbb-8c8a-e1ebc53a8863 :: true |
deleteNodes | 1.019s |
2020-09-25 22:58:41 |
2020-09-25 22:58:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:41 | ------------------------------------ 2020-09-25 22:58:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fe463b82-149d-4bbb-8c8a-e1ebc53a8863</node></data> 2020-09-25 22:58:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 22:58:42 | [Mutex] waiting for: [received:nodes:7b4ac114-a3ca-4c6b-b6ab-b2ea72733f28:localhost] 2020-09-25 22:58:42 | [Mutex] waiting for: [received:nodes:7b4ac114-a3ca-4c6b-b6ab-b2ea72733f28:localhost] 2020-09-25 22:58:42 | [Mutex] received everything. 2020-09-25 22:58:42 | [Mutex] isItemNotified: received:node:7b4ac114-a3ca-4c6b-b6ab-b2ea72733f28:localhost:node-fe463b82-149d-4bbb-8c8a-e1ebc53a8863:Node fe463b82-149d-4bbb-8c8a-e1ebc53a8863 :: false |
deleteSubnodes | 1.134s |
2020-09-25 22:58:40 |
2020-09-25 22:58:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:40 | ------------------------------------ 2020-09-25 22:58:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2ead50a4-9083-4e95-8044-d016b87d797e</node></data> 2020-09-25 22:58:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 22:58:41 | [Mutex] waiting for: [received:nodes:e65efcd5-5725-497a-97c0-887fdfd7f394:localhost] 2020-09-25 22:58:41 | [Mutex] received everything. 2020-09-25 22:58:41 | [Mutex] isItemNotified: received:node:e65efcd5-5725-497a-97c0-887fdfd7f394:localhost:node-2ead50a4-9083-4e95-8044-d016b87d797e:Node 2ead50a4-9083-4e95-8044-d016b87d797e :: false 2020-09-25 22:58:41 | [Mutex] waiting for: [received:nodes:5ba6d5f0-2fc1-47db-baf6-d0698efb4f6a:localhost] 2020-09-25 22:58:41 | [Mutex] received everything. 2020-09-25 22:58:41 | [Mutex] isItemNotified: received:node:5ba6d5f0-2fc1-47db-baf6-d0698efb4f6a:localhost:node-2ead50a4-9083-4e95-8044-d016b87d797e:Node 2ead50a4-9083-4e95-8044-d016b87d797e :: false |
publishItemsToNodes | 0.187s |
2020-09-25 22:58:38 |
2020-09-25 22:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:38 | ------------------------------------ 2020-09-25 22:58:38 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2ead50a4-9083-4e95-8044-d016b87d797e</node><item-id>item-0ea8a274-a949-4f8a-ae4c-761c10773ee6</item-id><entry><test>item-0ea8a274-a949-4f8a-ae4c-761c10773ee6</test></entry></data> 2020-09-25 22:58:38 | 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-0ea8a274-a949-4f8a-ae4c-761c10773ee6</value></item-id></result> 2020-09-25 22:58:38 | [Mutex] waiting for: [published:item:notifieditem-0ea8a274-a949-4f8a-ae4c-761c10773ee6:admin@test-domain.com] 2020-09-25 22:58:38 | [Mutex] received everything. 2020-09-25 22:58:38 | [Mutex] isItemNotified: published:item:notifieditem-0ea8a274-a949-4f8a-ae4c-761c10773ee6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.220s |
2020-09-25 22:58:38 |
2020-09-25 22:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:38 | ------------------------------------ 2020-09-25 22:58:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2ead50a4-9083-4e95-8044-d016b87d797e</node><item-id>item-0ea8a274-a949-4f8a-ae4c-761c10773ee6</item-id></data> 2020-09-25 22:58:39 | 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-0ea8a274-a949-4f8a-ae4c-761c10773ee6</value></item-id></result> 2020-09-25 22:58:39 | [Mutex] received everything. 2020-09-25 22:58:39 | [Mutex] isItemNotified: retracted:item:notifieditem-0ea8a274-a949-4f8a-ae4c-761c10773ee6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.245s |
2020-09-25 22:58:38 |
2020-09-25 22:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:38 | ------------------------------------ 2020-09-25 22:58:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2ead50a4-9083-4e95-8044-d016b87d797e</node><item-id>item-0ea8a274-a949-4f8a-ae4c-761c10773ee6</item-id></data> 2020-09-25 22:58:38 | 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-2ead50a4-9083-4e95-8044-d016b87d797e</value></node><item-id type="text-single" label="Item ID"><value>item-0ea8a274-a949-4f8a-ae4c-761c10773ee6</value></item-id><item type="text-multi" label="Item"><value><item id="item-0ea8a274-a949-4f8a-ae4c-761c10773ee6"><test>item-0ea8a274-a949-4f8a-ae4c-761c10773ee6</test></item></value></item></result> 2020-09-25 22:58:38 | [Mutex] notify: [retrieved:item:item-0ea8a274-a949-4f8a-ae4c-761c10773ee6:payload-matches:true:localhost] 2020-09-25 22:58:38 | [Mutex] received everything. 2020-09-25 22:58:38 | [Mutex] isItemNotified: retrieved:item:item-0ea8a274-a949-4f8a-ae4c-761c10773ee6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-25 22:58:38 |
2020-09-25 22:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:38 | ------------------------------------ 2020-09-25 22:58:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-25 22:58:38 | 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-fe463b82-149d-4bbb-8c8a-e1ebc53a8863</value><value>node-2ead50a4-9083-4e95-8044-d016b87d797e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-25 22:58:38 |
2020-09-25 22:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:38 | ------------------------------------ 2020-09-25 22:58:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2ead50a4-9083-4e95-8044-d016b87d797e)</node-pattern></data> 2020-09-25 22:58:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.103s |
2020-09-25 22:58:37 |
2020-09-25 22:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:37 | ------------------------------------ 2020-09-25 22:58:37 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2ead50a4-9083-4e95-8044-d016b87d797e</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-25 22:58:37 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.336s |
2020-09-25 22:58:39 |
2020-09-25 22:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 22:58:39 | ------------------------------------ 2020-09-25 22:58:39 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2ead50a4-9083-4e95-8044-d016b87d797e</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-25 22:58:39 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |