Test duration : 10.265s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2021-01-17 22:02:47 |
2021-01-17 22:02:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:47 | ------------------------------------ 2021-01-17 22:02:47 | [Mutex] waiting for: [configured:node:node-ca6ba665-9cd0-407b-8cd9-a446f6d95711:node-cfad702d-9c6f-4a14-8477-48c5ef5d0854] 2021-01-17 22:02:47 | [Mutex] received everything. 2021-01-17 22:02:47 | [Mutex] isItemNotified: configured:node:node-ca6ba665-9cd0-407b-8cd9-a446f6d95711:node-cfad702d-9c6f-4a14-8477-48c5ef5d0854 :: true 2021-01-17 22:02:48 | [Mutex] waiting for: [received:nodes:0b70fafb-a564-412a-82db-2ed42af072f5:localhost] 2021-01-17 22:02:48 | [Mutex] received everything. 2021-01-17 22:02:48 | [Mutex] isItemNotified: received:node:0b70fafb-a564-412a-82db-2ed42af072f5:localhost:node-ca6ba665-9cd0-407b-8cd9-a446f6d95711:Node ca6ba665-9cd0-407b-8cd9-a446f6d95711 :: true 2021-01-17 22:02:48 | [Mutex] waiting for: [received:nodes:1ae903f3-2d1f-472e-953f-a5149dc3547c:localhost] 2021-01-17 22:02:48 | [Mutex] received everything. 2021-01-17 22:02:48 | [Mutex] isItemNotified: received:node:1ae903f3-2d1f-472e-953f-a5149dc3547c:localhost:node-ca6ba665-9cd0-407b-8cd9-a446f6d95711:Node ca6ba665-9cd0-407b-8cd9-a446f6d95711 :: false |
createNodes | 1.508s |
2021-01-17 22:02:44 |
2021-01-17 22:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:44 | ------------------------------------ 2021-01-17 22:02:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ca6ba665-9cd0-407b-8cd9-a446f6d95711</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ca6ba665-9cd0-407b-8cd9-a446f6d95711</title></pubsub></data> 2021-01-17 22:02:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-17 22:02:46 | [Mutex] waiting for: [received:nodes:18910cb1-0baf-40cd-befd-8cb68768d10b:localhost] 2021-01-17 22:02:46 | [Mutex] received everything. 2021-01-17 22:02:46 | [Mutex] isItemNotified: received:node:18910cb1-0baf-40cd-befd-8cb68768d10b:localhost:node-ca6ba665-9cd0-407b-8cd9-a446f6d95711:Node ca6ba665-9cd0-407b-8cd9-a446f6d95711 :: true |
createSubnodes | 1.028s |
2021-01-17 22:02:46 |
2021-01-17 22:02:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:46 | ------------------------------------ 2021-01-17 22:02:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cfad702d-9c6f-4a14-8477-48c5ef5d0854</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cfad702d-9c6f-4a14-8477-48c5ef5d0854</title></pubsub></data> 2021-01-17 22:02:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-17 22:02:47 | [Mutex] waiting for: [received:nodes:ed618d04-5aa6-44d0-8c16-41f5bf2c6362:localhost] 2021-01-17 22:02:47 | [Mutex] received everything. 2021-01-17 22:02:47 | [Mutex] isItemNotified: received:node:ed618d04-5aa6-44d0-8c16-41f5bf2c6362:localhost:node-cfad702d-9c6f-4a14-8477-48c5ef5d0854:Node cfad702d-9c6f-4a14-8477-48c5ef5d0854 :: true |
deleteNodes | 1.043s |
2021-01-17 22:02:52 |
2021-01-17 22:02:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:52 | ------------------------------------ 2021-01-17 22:02:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cfad702d-9c6f-4a14-8477-48c5ef5d0854</node></data> 2021-01-17 22:02:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-17 22:02:53 | [Mutex] waiting for: [received:nodes:24652bc3-0261-4bc6-b93c-efc5aefedd57:localhost] 2021-01-17 22:02:53 | [Mutex] received everything. 2021-01-17 22:02:53 | [Mutex] isItemNotified: received:node:24652bc3-0261-4bc6-b93c-efc5aefedd57:localhost:node-cfad702d-9c6f-4a14-8477-48c5ef5d0854:Node cfad702d-9c6f-4a14-8477-48c5ef5d0854 :: false |
deleteSubnodes | 1.149s |
2021-01-17 22:02:51 |
2021-01-17 22:02:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:51 | ------------------------------------ 2021-01-17 22:02:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ca6ba665-9cd0-407b-8cd9-a446f6d95711</node></data> 2021-01-17 22:02:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-17 22:02:52 | [Mutex] waiting for: [received:nodes:be31131b-af21-47c4-ae33-d11507247199:localhost] 2021-01-17 22:02:52 | [Mutex] received everything. 2021-01-17 22:02:52 | [Mutex] isItemNotified: received:node:be31131b-af21-47c4-ae33-d11507247199:localhost:node-ca6ba665-9cd0-407b-8cd9-a446f6d95711:Node ca6ba665-9cd0-407b-8cd9-a446f6d95711 :: false 2021-01-17 22:02:52 | [Mutex] waiting for: [received:nodes:33bf7cb3-7788-4567-871a-435a45887bc7:localhost] 2021-01-17 22:02:52 | [Mutex] received everything. 2021-01-17 22:02:52 | [Mutex] isItemNotified: received:node:33bf7cb3-7788-4567-871a-435a45887bc7:localhost:node-ca6ba665-9cd0-407b-8cd9-a446f6d95711:Node ca6ba665-9cd0-407b-8cd9-a446f6d95711 :: false |
publishItemsToNodes | 0.184s |
2021-01-17 22:02:49 |
2021-01-17 22:02:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:49 | ------------------------------------ 2021-01-17 22:02:49 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ca6ba665-9cd0-407b-8cd9-a446f6d95711</node><item-id>item-b6299bda-b646-477d-829e-d526efd8432f</item-id><entry><test>item-b6299bda-b646-477d-829e-d526efd8432f</test></entry></data> 2021-01-17 22:02:49 | 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-b6299bda-b646-477d-829e-d526efd8432f</value></item-id></result> 2021-01-17 22:02:49 | [Mutex] received everything. 2021-01-17 22:02:49 | [Mutex] isItemNotified: published:item:notifieditem-b6299bda-b646-477d-829e-d526efd8432f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.299s |
2021-01-17 22:02:50 |
2021-01-17 22:02:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:50 | ------------------------------------ 2021-01-17 22:02:50 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ca6ba665-9cd0-407b-8cd9-a446f6d95711</node><item-id>item-b6299bda-b646-477d-829e-d526efd8432f</item-id></data> 2021-01-17 22:02:50 | 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-b6299bda-b646-477d-829e-d526efd8432f</value></item-id></result> 2021-01-17 22:02:50 | [Mutex] received everything. 2021-01-17 22:02:50 | [Mutex] isItemNotified: retracted:item:notifieditem-b6299bda-b646-477d-829e-d526efd8432f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.348s |
2021-01-17 22:02:49 |
2021-01-17 22:02:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:49 | ------------------------------------ 2021-01-17 22:02:49 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ca6ba665-9cd0-407b-8cd9-a446f6d95711</node><item-id>item-b6299bda-b646-477d-829e-d526efd8432f</item-id></data> 2021-01-17 22:02:49 | 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-ca6ba665-9cd0-407b-8cd9-a446f6d95711</value></node><item-id type="text-single" label="Item ID"><value>item-b6299bda-b646-477d-829e-d526efd8432f</value></item-id><item type="text-multi" label="Item"><value><item id="item-b6299bda-b646-477d-829e-d526efd8432f"><test>item-b6299bda-b646-477d-829e-d526efd8432f</test></item></value></item></result> 2021-01-17 22:02:49 | [Mutex] notify: [retrieved:item:item-b6299bda-b646-477d-829e-d526efd8432f:payload-matches:true:localhost] 2021-01-17 22:02:49 | [Mutex] received everything. 2021-01-17 22:02:49 | [Mutex] isItemNotified: retrieved:item:item-b6299bda-b646-477d-829e-d526efd8432f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-01-17 22:02:49 |
2021-01-17 22:02:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:49 | ------------------------------------ 2021-01-17 22:02:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-17 22:02:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-ca6ba665-9cd0-407b-8cd9-a446f6d95711</value><value>node-cfad702d-9c6f-4a14-8477-48c5ef5d0854</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2021-01-17 22:02:50 |
2021-01-17 22:02:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:50 | ------------------------------------ 2021-01-17 22:02:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ca6ba665-9cd0-407b-8cd9-a446f6d95711)</node-pattern></data> 2021-01-17 22:02:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.109s |
2021-01-17 22:02:48 |
2021-01-17 22:02:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:48 | ------------------------------------ 2021-01-17 22:02:48 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ca6ba665-9cd0-407b-8cd9-a446f6d95711</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-17 22:02:48 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.339s |
2021-01-17 22:02:50 |
2021-01-17 22:02:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-17 22:02:50 | ------------------------------------ 2021-01-17 22:02:50 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ca6ba665-9cd0-407b-8cd9-a446f6d95711</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-17 22:02:50 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |