Test duration : 9.455s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2022-06-20 22:35:26 |
2022-06-20 22:35:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:26 | ------------------------------------ 2022-06-20 22:35:26 | [Mutex] waiting for: [configured:node:node-1dd8eadf-8356-489d-8d08-d1b958c0317a:node-24a53c71-79df-4514-9dbd-57abaa6dc59a] 2022-06-20 22:35:26 | [Mutex] received everything. 2022-06-20 22:35:26 | [Mutex] isItemNotified: configured:node:node-1dd8eadf-8356-489d-8d08-d1b958c0317a:node-24a53c71-79df-4514-9dbd-57abaa6dc59a :: true 2022-06-20 22:35:27 | [Mutex] waiting for: [received:nodes:f55d7c93-b7fb-4012-8e78-d033eab2052f:localhost] 2022-06-20 22:35:27 | [Mutex] received everything. 2022-06-20 22:35:27 | [Mutex] isItemNotified: received:node:f55d7c93-b7fb-4012-8e78-d033eab2052f:localhost:node-1dd8eadf-8356-489d-8d08-d1b958c0317a:Node 1dd8eadf-8356-489d-8d08-d1b958c0317a :: true 2022-06-20 22:35:27 | [Mutex] waiting for: [received:nodes:16ac9ec5-f3eb-44cb-8b2f-bd7930039238:localhost] 2022-06-20 22:35:27 | [Mutex] waiting for: [received:nodes:16ac9ec5-f3eb-44cb-8b2f-bd7930039238:localhost] 2022-06-20 22:35:27 | [Mutex] received everything. 2022-06-20 22:35:27 | [Mutex] isItemNotified: received:node:16ac9ec5-f3eb-44cb-8b2f-bd7930039238:localhost:node-1dd8eadf-8356-489d-8d08-d1b958c0317a:Node 1dd8eadf-8356-489d-8d08-d1b958c0317a :: false |
createNodes | 1.464s |
2022-06-20 22:35:23 |
2022-06-20 22:35:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:23 | ------------------------------------ 2022-06-20 22:35:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1dd8eadf-8356-489d-8d08-d1b958c0317a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1dd8eadf-8356-489d-8d08-d1b958c0317a</title></pubsub></data> 2022-06-20 22:35:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-20 22:35:25 | [Mutex] waiting for: [received:nodes:9bb1f253-c297-4bf2-bbe9-cf498b614db4:localhost] 2022-06-20 22:35:25 | [Mutex] received everything. 2022-06-20 22:35:25 | [Mutex] isItemNotified: received:node:9bb1f253-c297-4bf2-bbe9-cf498b614db4:localhost:node-1dd8eadf-8356-489d-8d08-d1b958c0317a:Node 1dd8eadf-8356-489d-8d08-d1b958c0317a :: true |
createSubnodes | 1.025s |
2022-06-20 22:35:25 |
2022-06-20 22:35:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:25 | ------------------------------------ 2022-06-20 22:35:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-24a53c71-79df-4514-9dbd-57abaa6dc59a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 24a53c71-79df-4514-9dbd-57abaa6dc59a</title></pubsub></data> 2022-06-20 22:35:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-20 22:35:26 | [Mutex] waiting for: [received:nodes:9cbffc45-f71a-4759-a080-9e8a0140da8c:localhost] 2022-06-20 22:35:26 | [Mutex] received everything. 2022-06-20 22:35:26 | [Mutex] isItemNotified: received:node:9cbffc45-f71a-4759-a080-9e8a0140da8c:localhost:node-24a53c71-79df-4514-9dbd-57abaa6dc59a:Node 24a53c71-79df-4514-9dbd-57abaa6dc59a :: true |
deleteNodes | 1.018s |
2022-06-20 22:35:31 |
2022-06-20 22:35:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:31 | ------------------------------------ 2022-06-20 22:35:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-24a53c71-79df-4514-9dbd-57abaa6dc59a</node></data> 2022-06-20 22:35:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-20 22:35:32 | [Mutex] waiting for: [received:nodes:dc246aaa-80fa-43f0-89dc-596f8da1990e:localhost] 2022-06-20 22:35:32 | [Mutex] received everything. 2022-06-20 22:35:32 | [Mutex] isItemNotified: received:node:dc246aaa-80fa-43f0-89dc-596f8da1990e:localhost:node-24a53c71-79df-4514-9dbd-57abaa6dc59a:Node 24a53c71-79df-4514-9dbd-57abaa6dc59a :: false |
deleteSubnodes | 1.130s |
2022-06-20 22:35:30 |
2022-06-20 22:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:30 | ------------------------------------ 2022-06-20 22:35:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1dd8eadf-8356-489d-8d08-d1b958c0317a</node></data> 2022-06-20 22:35:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-20 22:35:31 | [Mutex] waiting for: [received:nodes:82da1eff-9306-4d47-a6f1-eddef1110c11:localhost] 2022-06-20 22:35:31 | [Mutex] waiting for: [received:nodes:82da1eff-9306-4d47-a6f1-eddef1110c11:localhost] 2022-06-20 22:35:31 | [Mutex] waiting for: [received:nodes:82da1eff-9306-4d47-a6f1-eddef1110c11:localhost] 2022-06-20 22:35:31 | [Mutex] received everything. 2022-06-20 22:35:31 | [Mutex] isItemNotified: received:node:82da1eff-9306-4d47-a6f1-eddef1110c11:localhost:node-1dd8eadf-8356-489d-8d08-d1b958c0317a:Node 1dd8eadf-8356-489d-8d08-d1b958c0317a :: false 2022-06-20 22:35:31 | [Mutex] waiting for: [received:nodes:325597fe-6dbf-42c4-8eec-b14b3fe41b5d:localhost] 2022-06-20 22:35:31 | [Mutex] received everything. 2022-06-20 22:35:31 | [Mutex] isItemNotified: received:node:325597fe-6dbf-42c4-8eec-b14b3fe41b5d:localhost:node-1dd8eadf-8356-489d-8d08-d1b958c0317a:Node 1dd8eadf-8356-489d-8d08-d1b958c0317a :: false |
publishItemsToNodes | 0.249s |
2022-06-20 22:35:28 |
2022-06-20 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:28 | ------------------------------------ 2022-06-20 22:35:28 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1dd8eadf-8356-489d-8d08-d1b958c0317a</node><item-id>item-325ec602-df16-4f32-b19e-2bc6ea63e1eb</item-id><entry><test>item-325ec602-df16-4f32-b19e-2bc6ea63e1eb</test></entry></data> 2022-06-20 22:35:28 | 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-325ec602-df16-4f32-b19e-2bc6ea63e1eb</value></item-id></result> 2022-06-20 22:35:28 | [Mutex] waiting for: [published:item:notifieditem-325ec602-df16-4f32-b19e-2bc6ea63e1eb:admin@test-domain.com] 2022-06-20 22:35:28 | [Mutex] received everything. 2022-06-20 22:35:28 | [Mutex] isItemNotified: published:item:notifieditem-325ec602-df16-4f32-b19e-2bc6ea63e1eb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2022-06-20 22:35:28 |
2022-06-20 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:28 | ------------------------------------ 2022-06-20 22:35:28 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1dd8eadf-8356-489d-8d08-d1b958c0317a</node><item-id>item-325ec602-df16-4f32-b19e-2bc6ea63e1eb</item-id></data> 2022-06-20 22:35:29 | 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-325ec602-df16-4f32-b19e-2bc6ea63e1eb</value></item-id></result> 2022-06-20 22:35:29 | [Mutex] waiting for: [retracted:item:notifieditem-325ec602-df16-4f32-b19e-2bc6ea63e1eb:admin@test-domain.com] 2022-06-20 22:35:29 | [Mutex] received everything. 2022-06-20 22:35:29 | [Mutex] isItemNotified: retracted:item:notifieditem-325ec602-df16-4f32-b19e-2bc6ea63e1eb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.121s |
2022-06-20 22:35:28 |
2022-06-20 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:28 | ------------------------------------ 2022-06-20 22:35:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1dd8eadf-8356-489d-8d08-d1b958c0317a</node><item-id>item-325ec602-df16-4f32-b19e-2bc6ea63e1eb</item-id></data> 2022-06-20 22:35:28 | 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-1dd8eadf-8356-489d-8d08-d1b958c0317a</value></node><item-id type="text-single" label="Item ID"><value>item-325ec602-df16-4f32-b19e-2bc6ea63e1eb</value></item-id><item type="text-multi" label="Item"><value><item id="item-325ec602-df16-4f32-b19e-2bc6ea63e1eb"><test>item-325ec602-df16-4f32-b19e-2bc6ea63e1eb</test></item></value></item></result> 2022-06-20 22:35:28 | [Mutex] notify: [retrieved:item:item-325ec602-df16-4f32-b19e-2bc6ea63e1eb:payload-matches:true:localhost] 2022-06-20 22:35:28 | [Mutex] received everything. 2022-06-20 22:35:28 | [Mutex] isItemNotified: retrieved:item:item-325ec602-df16-4f32-b19e-2bc6ea63e1eb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-06-20 22:35:28 |
2022-06-20 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:28 | ------------------------------------ 2022-06-20 22:35:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-20 22:35:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-24a53c71-79df-4514-9dbd-57abaa6dc59a</value><value>test</value><value>node-1dd8eadf-8356-489d-8d08-d1b958c0317a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-20 22:35:28 |
2022-06-20 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:28 | ------------------------------------ 2022-06-20 22:35:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1dd8eadf-8356-489d-8d08-d1b958c0317a)</node-pattern></data> 2022-06-20 22:35:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2022-06-20 22:35:27 |
2022-06-20 22:35:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:27 | ------------------------------------ 2022-06-20 22:35:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1dd8eadf-8356-489d-8d08-d1b958c0317a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-20 22:35:27 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.176s |
2022-06-20 22:35:29 |
2022-06-20 22:35:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-20 22:35:29 | ------------------------------------ 2022-06-20 22:35:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1dd8eadf-8356-489d-8d08-d1b958c0317a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-20 22:35:29 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |