Test duration : 9.535s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2023-03-23 23:02:23 |
2023-03-23 23:02:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:23 | ------------------------------------ 2023-03-23 23:02:23 | [Mutex] waiting for: [configured:node:node-e6554f41-7ce4-40f8-b946-7e2a1abc6928:node-a620bfc3-19b3-460e-a8fd-beef03d1853f] 2023-03-23 23:02:23 | [Mutex] received everything. 2023-03-23 23:02:23 | [Mutex] isItemNotified: configured:node:node-e6554f41-7ce4-40f8-b946-7e2a1abc6928:node-a620bfc3-19b3-460e-a8fd-beef03d1853f :: true 2023-03-23 23:02:24 | [Mutex] waiting for: [received:nodes:7f27d79c-056d-42d9-a7b2-8b7530af80ff:localhost] 2023-03-23 23:02:24 | [Mutex] received everything. 2023-03-23 23:02:24 | [Mutex] isItemNotified: received:node:7f27d79c-056d-42d9-a7b2-8b7530af80ff:localhost:node-e6554f41-7ce4-40f8-b946-7e2a1abc6928:Node e6554f41-7ce4-40f8-b946-7e2a1abc6928 :: true 2023-03-23 23:02:24 | [Mutex] waiting for: [received:nodes:9604d64a-0c3e-4038-8bd2-db466530da5d:localhost] 2023-03-23 23:02:24 | [Mutex] waiting for: [received:nodes:9604d64a-0c3e-4038-8bd2-db466530da5d:localhost] 2023-03-23 23:02:24 | [Mutex] received everything. 2023-03-23 23:02:24 | [Mutex] isItemNotified: received:node:9604d64a-0c3e-4038-8bd2-db466530da5d:localhost:node-e6554f41-7ce4-40f8-b946-7e2a1abc6928:Node e6554f41-7ce4-40f8-b946-7e2a1abc6928 :: false |
createNodes | 1.454s |
2023-03-23 23:02:21 |
2023-03-23 23:02:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:21 | ------------------------------------ 2023-03-23 23:02:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e6554f41-7ce4-40f8-b946-7e2a1abc6928</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e6554f41-7ce4-40f8-b946-7e2a1abc6928</title></pubsub></data> 2023-03-23 23:02:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 23:02:22 | [Mutex] waiting for: [received:nodes:d4da29ea-af66-4aca-ae45-bb1d1283a134:localhost] 2023-03-23 23:02:22 | [Mutex] waiting for: [received:nodes:d4da29ea-af66-4aca-ae45-bb1d1283a134:localhost] 2023-03-23 23:02:22 | [Mutex] waiting for: [received:nodes:d4da29ea-af66-4aca-ae45-bb1d1283a134:localhost] 2023-03-23 23:02:22 | [Mutex] waiting for: [received:nodes:d4da29ea-af66-4aca-ae45-bb1d1283a134:localhost] 2023-03-23 23:02:22 | [Mutex] received everything. 2023-03-23 23:02:22 | [Mutex] isItemNotified: received:node:d4da29ea-af66-4aca-ae45-bb1d1283a134:localhost:node-e6554f41-7ce4-40f8-b946-7e2a1abc6928:Node e6554f41-7ce4-40f8-b946-7e2a1abc6928 :: true |
createSubnodes | 1.020s |
2023-03-23 23:02:22 |
2023-03-23 23:02:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:22 | ------------------------------------ 2023-03-23 23:02:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a620bfc3-19b3-460e-a8fd-beef03d1853f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a620bfc3-19b3-460e-a8fd-beef03d1853f</title></pubsub></data> 2023-03-23 23:02:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 23:02:23 | [Mutex] waiting for: [received:nodes:b6c48591-b8e0-4f5f-a5f7-0c9ecf9941d7:localhost] 2023-03-23 23:02:23 | [Mutex] waiting for: [received:nodes:b6c48591-b8e0-4f5f-a5f7-0c9ecf9941d7:localhost] 2023-03-23 23:02:23 | [Mutex] waiting for: [received:nodes:b6c48591-b8e0-4f5f-a5f7-0c9ecf9941d7:localhost] 2023-03-23 23:02:23 | [Mutex] waiting for: [received:nodes:b6c48591-b8e0-4f5f-a5f7-0c9ecf9941d7:localhost] 2023-03-23 23:02:23 | [Mutex] waiting for: [received:nodes:b6c48591-b8e0-4f5f-a5f7-0c9ecf9941d7:localhost] 2023-03-23 23:02:23 | [Mutex] received everything. 2023-03-23 23:02:23 | [Mutex] isItemNotified: received:node:b6c48591-b8e0-4f5f-a5f7-0c9ecf9941d7:localhost:node-a620bfc3-19b3-460e-a8fd-beef03d1853f:Node a620bfc3-19b3-460e-a8fd-beef03d1853f :: true |
deleteNodes | 1.017s |
2023-03-23 23:02:29 |
2023-03-23 23:02:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:29 | ------------------------------------ 2023-03-23 23:02:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a620bfc3-19b3-460e-a8fd-beef03d1853f</node></data> 2023-03-23 23:02:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 23:02:30 | [Mutex] waiting for: [received:nodes:1fd27b30-3346-4ee8-96c7-25e35b06096d:localhost] 2023-03-23 23:02:30 | [Mutex] waiting for: [received:nodes:1fd27b30-3346-4ee8-96c7-25e35b06096d:localhost] 2023-03-23 23:02:30 | [Mutex] waiting for: [received:nodes:1fd27b30-3346-4ee8-96c7-25e35b06096d:localhost] 2023-03-23 23:02:30 | [Mutex] received everything. 2023-03-23 23:02:30 | [Mutex] isItemNotified: received:node:1fd27b30-3346-4ee8-96c7-25e35b06096d:localhost:node-a620bfc3-19b3-460e-a8fd-beef03d1853f:Node a620bfc3-19b3-460e-a8fd-beef03d1853f :: false |
deleteSubnodes | 1.119s |
2023-03-23 23:02:28 |
2023-03-23 23:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:28 | ------------------------------------ 2023-03-23 23:02:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e6554f41-7ce4-40f8-b946-7e2a1abc6928</node></data> 2023-03-23 23:02:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 23:02:29 | [Mutex] waiting for: [received:nodes:a3594cfb-f4f4-4a8b-8ee8-64fdaebe1c1e:localhost] 2023-03-23 23:02:29 | [Mutex] waiting for: [received:nodes:a3594cfb-f4f4-4a8b-8ee8-64fdaebe1c1e:localhost] 2023-03-23 23:02:29 | [Mutex] waiting for: [received:nodes:a3594cfb-f4f4-4a8b-8ee8-64fdaebe1c1e:localhost] 2023-03-23 23:02:29 | [Mutex] waiting for: [received:nodes:a3594cfb-f4f4-4a8b-8ee8-64fdaebe1c1e:localhost] 2023-03-23 23:02:29 | [Mutex] received everything. 2023-03-23 23:02:29 | [Mutex] isItemNotified: received:node:a3594cfb-f4f4-4a8b-8ee8-64fdaebe1c1e:localhost:node-e6554f41-7ce4-40f8-b946-7e2a1abc6928:Node e6554f41-7ce4-40f8-b946-7e2a1abc6928 :: false 2023-03-23 23:02:29 | [Mutex] waiting for: [received:nodes:015fd981-b0df-4954-a35b-bdcfdb4d230f:localhost] 2023-03-23 23:02:29 | [Mutex] received everything. 2023-03-23 23:02:29 | [Mutex] isItemNotified: received:node:015fd981-b0df-4954-a35b-bdcfdb4d230f:localhost:node-e6554f41-7ce4-40f8-b946-7e2a1abc6928:Node e6554f41-7ce4-40f8-b946-7e2a1abc6928 :: false |
publishItemsToNodes | 0.266s |
2023-03-23 23:02:26 |
2023-03-23 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:26 | ------------------------------------ 2023-03-23 23:02:26 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e6554f41-7ce4-40f8-b946-7e2a1abc6928</node><item-id>item-a11e66e8-0cf0-43a6-bd96-784a4554587d</item-id><entry><test>item-a11e66e8-0cf0-43a6-bd96-784a4554587d</test></entry></data> 2023-03-23 23:02:26 | 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-a11e66e8-0cf0-43a6-bd96-784a4554587d</value></item-id></result> 2023-03-23 23:02:26 | [Mutex] received everything. 2023-03-23 23:02:26 | [Mutex] isItemNotified: published:item:notifieditem-a11e66e8-0cf0-43a6-bd96-784a4554587d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.316s |
2023-03-23 23:02:26 |
2023-03-23 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:26 | ------------------------------------ 2023-03-23 23:02:26 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e6554f41-7ce4-40f8-b946-7e2a1abc6928</node><item-id>item-a11e66e8-0cf0-43a6-bd96-784a4554587d</item-id></data> 2023-03-23 23:02:26 | 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-a11e66e8-0cf0-43a6-bd96-784a4554587d</value></item-id></result> 2023-03-23 23:02:26 | [Mutex] received everything. 2023-03-23 23:02:26 | [Mutex] isItemNotified: retracted:item:notifieditem-a11e66e8-0cf0-43a6-bd96-784a4554587d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.188s |
2023-03-23 23:02:26 |
2023-03-23 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:26 | ------------------------------------ 2023-03-23 23:02:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e6554f41-7ce4-40f8-b946-7e2a1abc6928</node><item-id>item-a11e66e8-0cf0-43a6-bd96-784a4554587d</item-id></data> 2023-03-23 23:02:26 | 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-e6554f41-7ce4-40f8-b946-7e2a1abc6928</value></node><item-id label="Item ID" type="text-single"><value>item-a11e66e8-0cf0-43a6-bd96-784a4554587d</value></item-id><item label="Item" type="text-multi"><value><item id="item-a11e66e8-0cf0-43a6-bd96-784a4554587d"><test>item-a11e66e8-0cf0-43a6-bd96-784a4554587d</test></item></value></item></result> 2023-03-23 23:02:26 | [Mutex] notify: [retrieved:item:item-a11e66e8-0cf0-43a6-bd96-784a4554587d:payload-matches:true:localhost] 2023-03-23 23:02:26 | [Mutex] received everything. 2023-03-23 23:02:26 | [Mutex] isItemNotified: retrieved:item:item-a11e66e8-0cf0-43a6-bd96-784a4554587d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-23 23:02:26 |
2023-03-23 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:26 | ------------------------------------ 2023-03-23 23:02:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-23 23:02:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-e6554f41-7ce4-40f8-b946-7e2a1abc6928</value><value>test</value><value>node-a620bfc3-19b3-460e-a8fd-beef03d1853f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-23 23:02:26 |
2023-03-23 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:26 | ------------------------------------ 2023-03-23 23:02:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e6554f41-7ce4-40f8-b946-7e2a1abc6928)</node-pattern></data> 2023-03-23 23:02:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.147s |
2023-03-23 23:02:24 |
2023-03-23 23:02:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:24 | ------------------------------------ 2023-03-23 23:02:24 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e6554f41-7ce4-40f8-b946-7e2a1abc6928</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-23 23:02:25 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.179s |
2023-03-23 23:02:26 |
2023-03-23 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 23:02:26 | ------------------------------------ 2023-03-23 23:02:26 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e6554f41-7ce4-40f8-b946-7e2a1abc6928</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-23 23:02:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |