Test duration : 9.696s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.092s |
2022-07-24 22:32:30 |
2022-07-24 22:32:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:30 | ------------------------------------ 2022-07-24 22:32:30 | [Mutex] waiting for: [configured:node:node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686:node-1724ad57-39ab-4b49-ac98-2aaee74c912c] 2022-07-24 22:32:30 | [Mutex] received everything. 2022-07-24 22:32:30 | [Mutex] isItemNotified: configured:node:node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686:node-1724ad57-39ab-4b49-ac98-2aaee74c912c :: true 2022-07-24 22:32:31 | [Mutex] waiting for: [received:nodes:fa926f0e-5638-4b5e-a591-af96a1a6400f:localhost] 2022-07-24 22:32:31 | [Mutex] received everything. 2022-07-24 22:32:31 | [Mutex] isItemNotified: received:node:fa926f0e-5638-4b5e-a591-af96a1a6400f:localhost:node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686:Node e781a07c-c04d-4dd9-aec6-2ad2dadb6686 :: true 2022-07-24 22:32:31 | [Mutex] waiting for: [received:nodes:bc100cb3-80f0-433c-bca3-665bb66cbd56:localhost] 2022-07-24 22:32:31 | [Mutex] received everything. 2022-07-24 22:32:31 | [Mutex] isItemNotified: received:node:bc100cb3-80f0-433c-bca3-665bb66cbd56:localhost:node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686:Node e781a07c-c04d-4dd9-aec6-2ad2dadb6686 :: false |
createNodes | 1.440s |
2022-07-24 22:32:28 |
2022-07-24 22:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:28 | ------------------------------------ 2022-07-24 22:32:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e781a07c-c04d-4dd9-aec6-2ad2dadb6686</title></pubsub></data> 2022-07-24 22:32:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-24 22:32:29 | [Mutex] waiting for: [received:nodes:7cff183a-f2dd-49b4-81e1-d92b115eda8a:localhost] 2022-07-24 22:32:29 | [Mutex] waiting for: [received:nodes:7cff183a-f2dd-49b4-81e1-d92b115eda8a:localhost] 2022-07-24 22:32:29 | [Mutex] received everything. 2022-07-24 22:32:29 | [Mutex] isItemNotified: received:node:7cff183a-f2dd-49b4-81e1-d92b115eda8a:localhost:node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686:Node e781a07c-c04d-4dd9-aec6-2ad2dadb6686 :: true |
createSubnodes | 1.024s |
2022-07-24 22:32:29 |
2022-07-24 22:32:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:29 | ------------------------------------ 2022-07-24 22:32:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1724ad57-39ab-4b49-ac98-2aaee74c912c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1724ad57-39ab-4b49-ac98-2aaee74c912c</title></pubsub></data> 2022-07-24 22:32:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-24 22:32:30 | [Mutex] waiting for: [received:nodes:33b6cd86-9a71-4586-8b27-5eb732984682:localhost] 2022-07-24 22:32:30 | [Mutex] waiting for: [received:nodes:33b6cd86-9a71-4586-8b27-5eb732984682:localhost] 2022-07-24 22:32:30 | [Mutex] received everything. 2022-07-24 22:32:30 | [Mutex] isItemNotified: received:node:33b6cd86-9a71-4586-8b27-5eb732984682:localhost:node-1724ad57-39ab-4b49-ac98-2aaee74c912c:Node 1724ad57-39ab-4b49-ac98-2aaee74c912c :: true |
deleteNodes | 1.016s |
2022-07-24 22:32:36 |
2022-07-24 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:36 | ------------------------------------ 2022-07-24 22:32:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1724ad57-39ab-4b49-ac98-2aaee74c912c</node></data> 2022-07-24 22:32:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-24 22:32:37 | [Mutex] waiting for: [received:nodes:ba706eb7-ef4b-48c4-9b16-4af38b0903c7:localhost] 2022-07-24 22:32:37 | [Mutex] waiting for: [received:nodes:ba706eb7-ef4b-48c4-9b16-4af38b0903c7:localhost] 2022-07-24 22:32:37 | [Mutex] waiting for: [received:nodes:ba706eb7-ef4b-48c4-9b16-4af38b0903c7:localhost] 2022-07-24 22:32:37 | [Mutex] received everything. 2022-07-24 22:32:37 | [Mutex] isItemNotified: received:node:ba706eb7-ef4b-48c4-9b16-4af38b0903c7:localhost:node-1724ad57-39ab-4b49-ac98-2aaee74c912c:Node 1724ad57-39ab-4b49-ac98-2aaee74c912c :: false |
deleteSubnodes | 1.140s |
2022-07-24 22:32:35 |
2022-07-24 22:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:35 | ------------------------------------ 2022-07-24 22:32:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686</node></data> 2022-07-24 22:32:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-24 22:32:36 | [Mutex] waiting for: [received:nodes:8ffea866-9435-40ef-b8ac-1b1525c32f11:localhost] 2022-07-24 22:32:36 | [Mutex] received everything. 2022-07-24 22:32:36 | [Mutex] isItemNotified: received:node:8ffea866-9435-40ef-b8ac-1b1525c32f11:localhost:node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686:Node e781a07c-c04d-4dd9-aec6-2ad2dadb6686 :: false 2022-07-24 22:32:36 | [Mutex] waiting for: [received:nodes:4c79109d-e06f-4464-ba98-7647e7e2d5bf:localhost] 2022-07-24 22:32:36 | [Mutex] received everything. 2022-07-24 22:32:36 | [Mutex] isItemNotified: received:node:4c79109d-e06f-4464-ba98-7647e7e2d5bf:localhost:node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686:Node e781a07c-c04d-4dd9-aec6-2ad2dadb6686 :: false |
publishItemsToNodes | 0.229s |
2022-07-24 22:32:33 |
2022-07-24 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:33 | ------------------------------------ 2022-07-24 22:32:33 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686</node><item-id>item-fcecdf84-c662-4ef1-bc18-db7e1f446bf1</item-id><entry><test>item-fcecdf84-c662-4ef1-bc18-db7e1f446bf1</test></entry></data> 2022-07-24 22:32:33 | 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-fcecdf84-c662-4ef1-bc18-db7e1f446bf1</value></item-id></result> 2022-07-24 22:32:33 | [Mutex] received everything. 2022-07-24 22:32:33 | [Mutex] isItemNotified: published:item:notifieditem-fcecdf84-c662-4ef1-bc18-db7e1f446bf1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2022-07-24 22:32:33 |
2022-07-24 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:33 | ------------------------------------ 2022-07-24 22:32:33 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686</node><item-id>item-fcecdf84-c662-4ef1-bc18-db7e1f446bf1</item-id></data> 2022-07-24 22:32:33 | 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-fcecdf84-c662-4ef1-bc18-db7e1f446bf1</value></item-id></result> 2022-07-24 22:32:33 | [Mutex] received everything. 2022-07-24 22:32:33 | [Mutex] isItemNotified: retracted:item:notifieditem-fcecdf84-c662-4ef1-bc18-db7e1f446bf1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.246s |
2022-07-24 22:32:33 |
2022-07-24 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:33 | ------------------------------------ 2022-07-24 22:32:33 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686</node><item-id>item-fcecdf84-c662-4ef1-bc18-db7e1f446bf1</item-id></data> 2022-07-24 22:32:33 | 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-e781a07c-c04d-4dd9-aec6-2ad2dadb6686</value></node><item-id type="text-single" label="Item ID"><value>item-fcecdf84-c662-4ef1-bc18-db7e1f446bf1</value></item-id><item type="text-multi" label="Item"><value><item id="item-fcecdf84-c662-4ef1-bc18-db7e1f446bf1"><test>item-fcecdf84-c662-4ef1-bc18-db7e1f446bf1</test></item></value></item></result> 2022-07-24 22:32:33 | [Mutex] notify: [retrieved:item:item-fcecdf84-c662-4ef1-bc18-db7e1f446bf1:payload-matches:true:localhost] 2022-07-24 22:32:33 | [Mutex] received everything. 2022-07-24 22:32:33 | [Mutex] isItemNotified: retrieved:item:item-fcecdf84-c662-4ef1-bc18-db7e1f446bf1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-24 22:32:33 |
2022-07-24 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:33 | ------------------------------------ 2022-07-24 22:32:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-24 22:32:33 | 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-1724ad57-39ab-4b49-ac98-2aaee74c912c</value><value>node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-24 22:32:33 |
2022-07-24 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:33 | ------------------------------------ 2022-07-24 22:32:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686)</node-pattern></data> 2022-07-24 22:32:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.112s |
2022-07-24 22:32:31 |
2022-07-24 22:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:31 | ------------------------------------ 2022-07-24 22:32:31 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-24 22:32:32 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.232s |
2022-07-24 22:32:33 |
2022-07-24 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 22:32:33 | ------------------------------------ 2022-07-24 22:32:33 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e781a07c-c04d-4dd9-aec6-2ad2dadb6686</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-24 22:32:34 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |