Test duration : 9.737s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2021-02-06 21:35:47 |
2021-02-06 21:35:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:47 | ------------------------------------ 2021-02-06 21:35:47 | [Mutex] waiting for: [configured:node:node-498cf032-9aba-474c-96b2-974c96016407:node-8006f1b5-d557-44dc-8dc1-a867cf7b38f6] 2021-02-06 21:35:47 | [Mutex] received everything. 2021-02-06 21:35:47 | [Mutex] isItemNotified: configured:node:node-498cf032-9aba-474c-96b2-974c96016407:node-8006f1b5-d557-44dc-8dc1-a867cf7b38f6 :: true 2021-02-06 21:35:48 | [Mutex] waiting for: [received:nodes:d30752c2-c563-4429-8139-40cae7dbfcb4:localhost] 2021-02-06 21:35:48 | [Mutex] received everything. 2021-02-06 21:35:48 | [Mutex] isItemNotified: received:node:d30752c2-c563-4429-8139-40cae7dbfcb4:localhost:node-498cf032-9aba-474c-96b2-974c96016407:Node 498cf032-9aba-474c-96b2-974c96016407 :: true 2021-02-06 21:35:48 | [Mutex] waiting for: [received:nodes:4607da6d-38ac-4c45-ac2a-bface8b2ad4d:localhost] 2021-02-06 21:35:48 | [Mutex] waiting for: [received:nodes:4607da6d-38ac-4c45-ac2a-bface8b2ad4d:localhost] 2021-02-06 21:35:48 | [Mutex] received everything. 2021-02-06 21:35:48 | [Mutex] isItemNotified: received:node:4607da6d-38ac-4c45-ac2a-bface8b2ad4d:localhost:node-498cf032-9aba-474c-96b2-974c96016407:Node 498cf032-9aba-474c-96b2-974c96016407 :: false |
createNodes | 1.466s |
2021-02-06 21:35:44 |
2021-02-06 21:35:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:44 | ------------------------------------ 2021-02-06 21:35:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-498cf032-9aba-474c-96b2-974c96016407</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 498cf032-9aba-474c-96b2-974c96016407</title></pubsub></data> 2021-02-06 21:35:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-06 21:35:46 | [Mutex] waiting for: [received:nodes:379ed80e-a816-4a12-97a8-e69ff1ff8cfd:localhost] 2021-02-06 21:35:46 | [Mutex] waiting for: [received:nodes:379ed80e-a816-4a12-97a8-e69ff1ff8cfd:localhost] 2021-02-06 21:35:46 | [Mutex] received everything. 2021-02-06 21:35:46 | [Mutex] isItemNotified: received:node:379ed80e-a816-4a12-97a8-e69ff1ff8cfd:localhost:node-498cf032-9aba-474c-96b2-974c96016407:Node 498cf032-9aba-474c-96b2-974c96016407 :: true |
createSubnodes | 1.041s |
2021-02-06 21:35:46 |
2021-02-06 21:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:46 | ------------------------------------ 2021-02-06 21:35:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8006f1b5-d557-44dc-8dc1-a867cf7b38f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8006f1b5-d557-44dc-8dc1-a867cf7b38f6</title></pubsub></data> 2021-02-06 21:35:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-06 21:35:47 | [Mutex] waiting for: [received:nodes:01e62c4b-4755-48b0-8afe-a8bd42cf0b87:localhost] 2021-02-06 21:35:47 | [Mutex] received everything. 2021-02-06 21:35:47 | [Mutex] isItemNotified: received:node:01e62c4b-4755-48b0-8afe-a8bd42cf0b87:localhost:node-8006f1b5-d557-44dc-8dc1-a867cf7b38f6:Node 8006f1b5-d557-44dc-8dc1-a867cf7b38f6 :: true |
deleteNodes | 1.026s |
2021-02-06 21:35:52 |
2021-02-06 21:35:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:52 | ------------------------------------ 2021-02-06 21:35:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8006f1b5-d557-44dc-8dc1-a867cf7b38f6</node></data> 2021-02-06 21:35:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-06 21:35:53 | [Mutex] waiting for: [received:nodes:66dbdd4f-ae6e-4541-93e0-63783448f831:localhost] 2021-02-06 21:35:53 | [Mutex] received everything. 2021-02-06 21:35:53 | [Mutex] isItemNotified: received:node:66dbdd4f-ae6e-4541-93e0-63783448f831:localhost:node-8006f1b5-d557-44dc-8dc1-a867cf7b38f6:Node 8006f1b5-d557-44dc-8dc1-a867cf7b38f6 :: false |
deleteSubnodes | 1.127s |
2021-02-06 21:35:51 |
2021-02-06 21:35:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:51 | ------------------------------------ 2021-02-06 21:35:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-498cf032-9aba-474c-96b2-974c96016407</node></data> 2021-02-06 21:35:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-06 21:35:52 | [Mutex] waiting for: [received:nodes:c9f49bee-9c1e-4c4d-816a-f140caf33dfd:localhost] 2021-02-06 21:35:52 | [Mutex] received everything. 2021-02-06 21:35:52 | [Mutex] isItemNotified: received:node:c9f49bee-9c1e-4c4d-816a-f140caf33dfd:localhost:node-498cf032-9aba-474c-96b2-974c96016407:Node 498cf032-9aba-474c-96b2-974c96016407 :: false 2021-02-06 21:35:52 | [Mutex] waiting for: [received:nodes:a5675017-253d-4857-a70c-7acdca154894:localhost] 2021-02-06 21:35:52 | [Mutex] received everything. 2021-02-06 21:35:52 | [Mutex] isItemNotified: received:node:a5675017-253d-4857-a70c-7acdca154894:localhost:node-498cf032-9aba-474c-96b2-974c96016407:Node 498cf032-9aba-474c-96b2-974c96016407 :: false |
publishItemsToNodes | 0.221s |
2021-02-06 21:35:49 |
2021-02-06 21:35:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:49 | ------------------------------------ 2021-02-06 21:35:49 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-498cf032-9aba-474c-96b2-974c96016407</node><item-id>item-668460a5-7e2c-4801-9c6c-0bf37235193d</item-id><entry><test>item-668460a5-7e2c-4801-9c6c-0bf37235193d</test></entry></data> 2021-02-06 21:35:49 | 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-668460a5-7e2c-4801-9c6c-0bf37235193d</value></item-id></result> 2021-02-06 21:35:49 | [Mutex] received everything. 2021-02-06 21:35:49 | [Mutex] isItemNotified: published:item:notifieditem-668460a5-7e2c-4801-9c6c-0bf37235193d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.208s |
2021-02-06 21:35:49 |
2021-02-06 21:35:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:49 | ------------------------------------ 2021-02-06 21:35:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-498cf032-9aba-474c-96b2-974c96016407</node><item-id>item-668460a5-7e2c-4801-9c6c-0bf37235193d</item-id></data> 2021-02-06 21:35:50 | 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-668460a5-7e2c-4801-9c6c-0bf37235193d</value></item-id></result> 2021-02-06 21:35:50 | [Mutex] received everything. 2021-02-06 21:35:50 | [Mutex] isItemNotified: retracted:item:notifieditem-668460a5-7e2c-4801-9c6c-0bf37235193d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.239s |
2021-02-06 21:35:49 |
2021-02-06 21:35:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:49 | ------------------------------------ 2021-02-06 21:35:49 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-498cf032-9aba-474c-96b2-974c96016407</node><item-id>item-668460a5-7e2c-4801-9c6c-0bf37235193d</item-id></data> 2021-02-06 21:35:49 | 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-498cf032-9aba-474c-96b2-974c96016407</value></node><item-id label="Item ID" type="text-single"><value>item-668460a5-7e2c-4801-9c6c-0bf37235193d</value></item-id><item label="Item" type="text-multi"><value><item id="item-668460a5-7e2c-4801-9c6c-0bf37235193d"><test>item-668460a5-7e2c-4801-9c6c-0bf37235193d</test></item></value></item></result> 2021-02-06 21:35:49 | [Mutex] notify: [retrieved:item:item-668460a5-7e2c-4801-9c6c-0bf37235193d:payload-matches:true:localhost] 2021-02-06 21:35:49 | [Mutex] received everything. 2021-02-06 21:35:49 | [Mutex] isItemNotified: retrieved:item:item-668460a5-7e2c-4801-9c6c-0bf37235193d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-02-06 21:35:49 |
2021-02-06 21:35:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:49 | ------------------------------------ 2021-02-06 21:35:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-02-06 21:35:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-498cf032-9aba-474c-96b2-974c96016407</value><value>node-8006f1b5-d557-44dc-8dc1-a867cf7b38f6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2021-02-06 21:35:49 |
2021-02-06 21:35:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:49 | ------------------------------------ 2021-02-06 21:35:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-498cf032-9aba-474c-96b2-974c96016407)</node-pattern></data> 2021-02-06 21:35:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.150s |
2021-02-06 21:35:48 |
2021-02-06 21:35:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:48 | ------------------------------------ 2021-02-06 21:35:48 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-498cf032-9aba-474c-96b2-974c96016407</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-06 21:35: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.196s |
2021-02-06 21:35:50 |
2021-02-06 21:35:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-06 21:35:50 | ------------------------------------ 2021-02-06 21:35:50 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-498cf032-9aba-474c-96b2-974c96016407</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-06 21:35:50 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |