Test duration : 9.767s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2021-03-25 22:36:17 |
2021-03-25 22:36:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:17 | ------------------------------------ 2021-03-25 22:36:17 | [Mutex] waiting for: [configured:node:node-630dc1c4-0c8a-437a-a027-f7b624c8cba0:node-a767ee83-6b26-4791-9715-2ec1c56d0a90] 2021-03-25 22:36:17 | [Mutex] received everything. 2021-03-25 22:36:17 | [Mutex] isItemNotified: configured:node:node-630dc1c4-0c8a-437a-a027-f7b624c8cba0:node-a767ee83-6b26-4791-9715-2ec1c56d0a90 :: true 2021-03-25 22:36:18 | [Mutex] waiting for: [received:nodes:2f8e0781-acc7-4a1a-a876-ae5e4003205c:localhost] 2021-03-25 22:36:18 | [Mutex] received everything. 2021-03-25 22:36:18 | [Mutex] isItemNotified: received:node:2f8e0781-acc7-4a1a-a876-ae5e4003205c:localhost:node-630dc1c4-0c8a-437a-a027-f7b624c8cba0:Node 630dc1c4-0c8a-437a-a027-f7b624c8cba0 :: true 2021-03-25 22:36:18 | [Mutex] waiting for: [received:nodes:aeff2440-efa7-40ae-b718-9becc8ce6840:localhost] 2021-03-25 22:36:18 | [Mutex] received everything. 2021-03-25 22:36:18 | [Mutex] isItemNotified: received:node:aeff2440-efa7-40ae-b718-9becc8ce6840:localhost:node-630dc1c4-0c8a-437a-a027-f7b624c8cba0:Node 630dc1c4-0c8a-437a-a027-f7b624c8cba0 :: false |
createNodes | 1.462s |
2021-03-25 22:36:15 |
2021-03-25 22:36:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:15 | ------------------------------------ 2021-03-25 22:36:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-630dc1c4-0c8a-437a-a027-f7b624c8cba0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 630dc1c4-0c8a-437a-a027-f7b624c8cba0</title></pubsub></data> 2021-03-25 22:36:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-25 22:36:16 | [Mutex] waiting for: [received:nodes:8c14afe6-c0be-4683-9487-fe9ef0bcc773:localhost] 2021-03-25 22:36:16 | [Mutex] waiting for: [received:nodes:8c14afe6-c0be-4683-9487-fe9ef0bcc773:localhost] 2021-03-25 22:36:16 | [Mutex] received everything. 2021-03-25 22:36:16 | [Mutex] isItemNotified: received:node:8c14afe6-c0be-4683-9487-fe9ef0bcc773:localhost:node-630dc1c4-0c8a-437a-a027-f7b624c8cba0:Node 630dc1c4-0c8a-437a-a027-f7b624c8cba0 :: true |
createSubnodes | 1.022s |
2021-03-25 22:36:16 |
2021-03-25 22:36:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:16 | ------------------------------------ 2021-03-25 22:36:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a767ee83-6b26-4791-9715-2ec1c56d0a90</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a767ee83-6b26-4791-9715-2ec1c56d0a90</title></pubsub></data> 2021-03-25 22:36:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-25 22:36:17 | [Mutex] waiting for: [received:nodes:0ca2a072-afda-41ae-ae01-385bcecc293c:localhost] 2021-03-25 22:36:17 | [Mutex] received everything. 2021-03-25 22:36:17 | [Mutex] isItemNotified: received:node:0ca2a072-afda-41ae-ae01-385bcecc293c:localhost:node-a767ee83-6b26-4791-9715-2ec1c56d0a90:Node a767ee83-6b26-4791-9715-2ec1c56d0a90 :: true |
deleteNodes | 1.020s |
2021-03-25 22:36:22 |
2021-03-25 22:36:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:22 | ------------------------------------ 2021-03-25 22:36:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a767ee83-6b26-4791-9715-2ec1c56d0a90</node></data> 2021-03-25 22:36:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-25 22:36:23 | [Mutex] waiting for: [received:nodes:3aa85a05-5c2c-466d-bbc4-90fc1adfed3b:localhost] 2021-03-25 22:36:24 | [Mutex] waiting for: [received:nodes:3aa85a05-5c2c-466d-bbc4-90fc1adfed3b:localhost] 2021-03-25 22:36:24 | [Mutex] received everything. 2021-03-25 22:36:24 | [Mutex] isItemNotified: received:node:3aa85a05-5c2c-466d-bbc4-90fc1adfed3b:localhost:node-a767ee83-6b26-4791-9715-2ec1c56d0a90:Node a767ee83-6b26-4791-9715-2ec1c56d0a90 :: false |
deleteSubnodes | 1.132s |
2021-03-25 22:36:21 |
2021-03-25 22:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:21 | ------------------------------------ 2021-03-25 22:36:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-630dc1c4-0c8a-437a-a027-f7b624c8cba0</node></data> 2021-03-25 22:36:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-25 22:36:22 | [Mutex] waiting for: [received:nodes:dd5c9a47-1e68-4bb1-9a15-30029cdd9507:localhost] 2021-03-25 22:36:22 | [Mutex] waiting for: [received:nodes:dd5c9a47-1e68-4bb1-9a15-30029cdd9507:localhost] 2021-03-25 22:36:22 | [Mutex] waiting for: [received:nodes:dd5c9a47-1e68-4bb1-9a15-30029cdd9507:localhost] 2021-03-25 22:36:22 | [Mutex] received everything. 2021-03-25 22:36:22 | [Mutex] isItemNotified: received:node:dd5c9a47-1e68-4bb1-9a15-30029cdd9507:localhost:node-630dc1c4-0c8a-437a-a027-f7b624c8cba0:Node 630dc1c4-0c8a-437a-a027-f7b624c8cba0 :: false 2021-03-25 22:36:22 | [Mutex] waiting for: [received:nodes:92711c51-c6ed-4b3a-99b7-3b8d1e000437:localhost] 2021-03-25 22:36:22 | [Mutex] received everything. 2021-03-25 22:36:22 | [Mutex] isItemNotified: received:node:92711c51-c6ed-4b3a-99b7-3b8d1e000437:localhost:node-630dc1c4-0c8a-437a-a027-f7b624c8cba0:Node 630dc1c4-0c8a-437a-a027-f7b624c8cba0 :: false |
publishItemsToNodes | 0.188s |
2021-03-25 22:36:19 |
2021-03-25 22:36:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:19 | ------------------------------------ 2021-03-25 22:36:19 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-630dc1c4-0c8a-437a-a027-f7b624c8cba0</node><item-id>item-f32ed217-a79a-4232-a215-16b695eaef3c</item-id><entry><test>item-f32ed217-a79a-4232-a215-16b695eaef3c</test></entry></data> 2021-03-25 22:36:20 | 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-f32ed217-a79a-4232-a215-16b695eaef3c</value></item-id></result> 2021-03-25 22:36:20 | [Mutex] received everything. 2021-03-25 22:36:20 | [Mutex] isItemNotified: published:item:notifieditem-f32ed217-a79a-4232-a215-16b695eaef3c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.152s |
2021-03-25 22:36:20 |
2021-03-25 22:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:20 | ------------------------------------ 2021-03-25 22:36:20 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-630dc1c4-0c8a-437a-a027-f7b624c8cba0</node><item-id>item-f32ed217-a79a-4232-a215-16b695eaef3c</item-id></data> 2021-03-25 22:36:20 | 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-f32ed217-a79a-4232-a215-16b695eaef3c</value></item-id></result> 2021-03-25 22:36:20 | [Mutex] received everything. 2021-03-25 22:36:20 | [Mutex] isItemNotified: retracted:item:notifieditem-f32ed217-a79a-4232-a215-16b695eaef3c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.251s |
2021-03-25 22:36:20 |
2021-03-25 22:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:20 | ------------------------------------ 2021-03-25 22:36:20 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-630dc1c4-0c8a-437a-a027-f7b624c8cba0</node><item-id>item-f32ed217-a79a-4232-a215-16b695eaef3c</item-id></data> 2021-03-25 22:36:20 | 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-630dc1c4-0c8a-437a-a027-f7b624c8cba0</value></node><item-id type="text-single" label="Item ID"><value>item-f32ed217-a79a-4232-a215-16b695eaef3c</value></item-id><item type="text-multi" label="Item"><value><item id="item-f32ed217-a79a-4232-a215-16b695eaef3c"><test>item-f32ed217-a79a-4232-a215-16b695eaef3c</test></item></value></item></result> 2021-03-25 22:36:20 | [Mutex] notify: [retrieved:item:item-f32ed217-a79a-4232-a215-16b695eaef3c:payload-matches:true:localhost] 2021-03-25 22:36:20 | [Mutex] received everything. 2021-03-25 22:36:20 | [Mutex] isItemNotified: retrieved:item:item-f32ed217-a79a-4232-a215-16b695eaef3c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-25 22:36:20 |
2021-03-25 22:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:20 | ------------------------------------ 2021-03-25 22:36:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-25 22:36:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-630dc1c4-0c8a-437a-a027-f7b624c8cba0</value><value>test</value><value>node-a767ee83-6b26-4791-9715-2ec1c56d0a90</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.063s |
2021-03-25 22:36:20 |
2021-03-25 22:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:20 | ------------------------------------ 2021-03-25 22:36:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-630dc1c4-0c8a-437a-a027-f7b624c8cba0)</node-pattern></data> 2021-03-25 22:36:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.151s |
2021-03-25 22:36:18 |
2021-03-25 22:36:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:18 | ------------------------------------ 2021-03-25 22:36:18 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-630dc1c4-0c8a-437a-a027-f7b624c8cba0</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-25 22:36:18 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.256s |
2021-03-25 22:36:20 |
2021-03-25 22:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 22:36:20 | ------------------------------------ 2021-03-25 22:36:20 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-630dc1c4-0c8a-437a-a027-f7b624c8cba0</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-25 22:36:20 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |