Test duration : 9.583s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2022-10-17 23:16:48 |
2022-10-17 23:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:48 | ------------------------------------ 2022-10-17 23:16:48 | [Mutex] waiting for: [configured:node:node-e89c429c-60a6-4372-b8c1-629fd2da3288:node-cfd408e9-db8e-4eba-aa77-3d5922e4f199] 2022-10-17 23:16:48 | [Mutex] received everything. 2022-10-17 23:16:48 | [Mutex] isItemNotified: configured:node:node-e89c429c-60a6-4372-b8c1-629fd2da3288:node-cfd408e9-db8e-4eba-aa77-3d5922e4f199 :: true 2022-10-17 23:16:49 | [Mutex] waiting for: [received:nodes:246e4373-4bde-4c41-9620-7921a77c3a5d:localhost] 2022-10-17 23:16:49 | [Mutex] received everything. 2022-10-17 23:16:49 | [Mutex] isItemNotified: received:node:246e4373-4bde-4c41-9620-7921a77c3a5d:localhost:node-e89c429c-60a6-4372-b8c1-629fd2da3288:Node e89c429c-60a6-4372-b8c1-629fd2da3288 :: true 2022-10-17 23:16:49 | [Mutex] waiting for: [received:nodes:22dcb752-f20a-4deb-9653-f17eacceb050:localhost] 2022-10-17 23:16:49 | [Mutex] received everything. 2022-10-17 23:16:49 | [Mutex] isItemNotified: received:node:22dcb752-f20a-4deb-9653-f17eacceb050:localhost:node-e89c429c-60a6-4372-b8c1-629fd2da3288:Node e89c429c-60a6-4372-b8c1-629fd2da3288 :: false |
createNodes | 1.469s |
2022-10-17 23:16:45 |
2022-10-17 23:16:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:45 | ------------------------------------ 2022-10-17 23:16:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e89c429c-60a6-4372-b8c1-629fd2da3288</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e89c429c-60a6-4372-b8c1-629fd2da3288</title></pubsub></data> 2022-10-17 23:16:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-17 23:16:47 | [Mutex] waiting for: [received:nodes:2cb33eee-90e0-4840-91ed-c0ccc7ad21a7:localhost] 2022-10-17 23:16:47 | [Mutex] waiting for: [received:nodes:2cb33eee-90e0-4840-91ed-c0ccc7ad21a7:localhost] 2022-10-17 23:16:47 | [Mutex] waiting for: [received:nodes:2cb33eee-90e0-4840-91ed-c0ccc7ad21a7:localhost] 2022-10-17 23:16:47 | [Mutex] received everything. 2022-10-17 23:16:47 | [Mutex] isItemNotified: received:node:2cb33eee-90e0-4840-91ed-c0ccc7ad21a7:localhost:node-e89c429c-60a6-4372-b8c1-629fd2da3288:Node e89c429c-60a6-4372-b8c1-629fd2da3288 :: true |
createSubnodes | 1.022s |
2022-10-17 23:16:47 |
2022-10-17 23:16:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:47 | ------------------------------------ 2022-10-17 23:16:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cfd408e9-db8e-4eba-aa77-3d5922e4f199</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cfd408e9-db8e-4eba-aa77-3d5922e4f199</title></pubsub></data> 2022-10-17 23:16:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-17 23:16:48 | [Mutex] waiting for: [received:nodes:1b266448-e7b9-4d3a-ae04-90b403d32980:localhost] 2022-10-17 23:16:48 | [Mutex] received everything. 2022-10-17 23:16:48 | [Mutex] isItemNotified: received:node:1b266448-e7b9-4d3a-ae04-90b403d32980:localhost:node-cfd408e9-db8e-4eba-aa77-3d5922e4f199:Node cfd408e9-db8e-4eba-aa77-3d5922e4f199 :: true |
deleteNodes | 1.018s |
2022-10-17 23:16:53 |
2022-10-17 23:16:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:53 | ------------------------------------ 2022-10-17 23:16:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cfd408e9-db8e-4eba-aa77-3d5922e4f199</node></data> 2022-10-17 23:16:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-17 23:16:54 | [Mutex] waiting for: [received:nodes:7c06f721-a8ec-44a9-8e84-24edda04feb0:localhost] 2022-10-17 23:16:54 | [Mutex] waiting for: [received:nodes:7c06f721-a8ec-44a9-8e84-24edda04feb0:localhost] 2022-10-17 23:16:54 | [Mutex] received everything. 2022-10-17 23:16:54 | [Mutex] isItemNotified: received:node:7c06f721-a8ec-44a9-8e84-24edda04feb0:localhost:node-cfd408e9-db8e-4eba-aa77-3d5922e4f199:Node cfd408e9-db8e-4eba-aa77-3d5922e4f199 :: false |
deleteSubnodes | 1.131s |
2022-10-17 23:16:52 |
2022-10-17 23:16:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:52 | ------------------------------------ 2022-10-17 23:16:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e89c429c-60a6-4372-b8c1-629fd2da3288</node></data> 2022-10-17 23:16:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-17 23:16:53 | [Mutex] waiting for: [received:nodes:698171f6-1613-4da1-a712-976b7fbbcdbb:localhost] 2022-10-17 23:16:53 | [Mutex] waiting for: [received:nodes:698171f6-1613-4da1-a712-976b7fbbcdbb:localhost] 2022-10-17 23:16:53 | [Mutex] received everything. 2022-10-17 23:16:53 | [Mutex] isItemNotified: received:node:698171f6-1613-4da1-a712-976b7fbbcdbb:localhost:node-e89c429c-60a6-4372-b8c1-629fd2da3288:Node e89c429c-60a6-4372-b8c1-629fd2da3288 :: false 2022-10-17 23:16:53 | [Mutex] waiting for: [received:nodes:d8e944eb-3e4b-4cd9-86ca-930c67ad13b3:localhost] 2022-10-17 23:16:53 | [Mutex] received everything. 2022-10-17 23:16:53 | [Mutex] isItemNotified: received:node:d8e944eb-3e4b-4cd9-86ca-930c67ad13b3:localhost:node-e89c429c-60a6-4372-b8c1-629fd2da3288:Node e89c429c-60a6-4372-b8c1-629fd2da3288 :: false |
publishItemsToNodes | 0.227s |
2022-10-17 23:16:50 |
2022-10-17 23:16:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:50 | ------------------------------------ 2022-10-17 23:16:50 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e89c429c-60a6-4372-b8c1-629fd2da3288</node><item-id>item-e6e48032-91b8-4840-87c8-d049304b2e6c</item-id><entry><test>item-e6e48032-91b8-4840-87c8-d049304b2e6c</test></entry></data> 2022-10-17 23:16:50 | 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-e6e48032-91b8-4840-87c8-d049304b2e6c</value></item-id></result> 2022-10-17 23:16:50 | [Mutex] waiting for: [published:item:notifieditem-e6e48032-91b8-4840-87c8-d049304b2e6c:admin@test-domain.com] 2022-10-17 23:16:50 | [Mutex] received everything. 2022-10-17 23:16:50 | [Mutex] isItemNotified: published:item:notifieditem-e6e48032-91b8-4840-87c8-d049304b2e6c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.277s |
2022-10-17 23:16:51 |
2022-10-17 23:16:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:51 | ------------------------------------ 2022-10-17 23:16:51 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e89c429c-60a6-4372-b8c1-629fd2da3288</node><item-id>item-e6e48032-91b8-4840-87c8-d049304b2e6c</item-id></data> 2022-10-17 23:16:51 | 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-e6e48032-91b8-4840-87c8-d049304b2e6c</value></item-id></result> 2022-10-17 23:16:51 | [Mutex] waiting for: [retracted:item:notifieditem-e6e48032-91b8-4840-87c8-d049304b2e6c:admin@test-domain.com] 2022-10-17 23:16:51 | [Mutex] received everything. 2022-10-17 23:16:51 | [Mutex] isItemNotified: retracted:item:notifieditem-e6e48032-91b8-4840-87c8-d049304b2e6c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.253s |
2022-10-17 23:16:50 |
2022-10-17 23:16:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:50 | ------------------------------------ 2022-10-17 23:16:50 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e89c429c-60a6-4372-b8c1-629fd2da3288</node><item-id>item-e6e48032-91b8-4840-87c8-d049304b2e6c</item-id></data> 2022-10-17 23:16:50 | 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-e89c429c-60a6-4372-b8c1-629fd2da3288</value></node><item-id type="text-single" label="Item ID"><value>item-e6e48032-91b8-4840-87c8-d049304b2e6c</value></item-id><item type="text-multi" label="Item"><value><item id="item-e6e48032-91b8-4840-87c8-d049304b2e6c"><test>item-e6e48032-91b8-4840-87c8-d049304b2e6c</test></item></value></item></result> 2022-10-17 23:16:50 | [Mutex] notify: [retrieved:item:item-e6e48032-91b8-4840-87c8-d049304b2e6c:payload-matches:true:localhost] 2022-10-17 23:16:50 | [Mutex] received everything. 2022-10-17 23:16:50 | [Mutex] isItemNotified: retrieved:item:item-e6e48032-91b8-4840-87c8-d049304b2e6c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-10-17 23:16:50 |
2022-10-17 23:16:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:50 | ------------------------------------ 2022-10-17 23:16:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-10-17 23:16:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-e89c429c-60a6-4372-b8c1-629fd2da3288</value><value>test</value><value>node-cfd408e9-db8e-4eba-aa77-3d5922e4f199</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-10-17 23:16:51 |
2022-10-17 23:16:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:51 | ------------------------------------ 2022-10-17 23:16:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e89c429c-60a6-4372-b8c1-629fd2da3288)</node-pattern></data> 2022-10-17 23:16:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.129s |
2022-10-17 23:16:49 |
2022-10-17 23:16:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:49 | ------------------------------------ 2022-10-17 23:16:49 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e89c429c-60a6-4372-b8c1-629fd2da3288</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-17 23:16:49 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.277s |
2022-10-17 23:16:51 |
2022-10-17 23:16:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-17 23:16:51 | ------------------------------------ 2022-10-17 23:16:51 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e89c429c-60a6-4372-b8c1-629fd2da3288</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-17 23:16:51 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |