Test duration : 9.575s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2022-07-20 23:03:41 |
2022-07-20 23:03:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:41 | ------------------------------------ 2022-07-20 23:03:41 | [Mutex] waiting for: [configured:node:node-268edbce-7b92-41cf-813d-9f41ea7256c8:node-a64d3a0b-efa8-4cb8-b7d9-ed1131551773] 2022-07-20 23:03:41 | [Mutex] received everything. 2022-07-20 23:03:41 | [Mutex] isItemNotified: configured:node:node-268edbce-7b92-41cf-813d-9f41ea7256c8:node-a64d3a0b-efa8-4cb8-b7d9-ed1131551773 :: true 2022-07-20 23:03:42 | [Mutex] waiting for: [received:nodes:427d7766-363f-49d3-b7f6-965b57a0bb3d:localhost] 2022-07-20 23:03:42 | [Mutex] received everything. 2022-07-20 23:03:42 | [Mutex] isItemNotified: received:node:427d7766-363f-49d3-b7f6-965b57a0bb3d:localhost:node-268edbce-7b92-41cf-813d-9f41ea7256c8:Node 268edbce-7b92-41cf-813d-9f41ea7256c8 :: true 2022-07-20 23:03:42 | [Mutex] waiting for: [received:nodes:62cbe81f-6a0d-4dd0-adce-514f18c65242:localhost] 2022-07-20 23:03:42 | [Mutex] waiting for: [received:nodes:62cbe81f-6a0d-4dd0-adce-514f18c65242:localhost] 2022-07-20 23:03:42 | [Mutex] received everything. 2022-07-20 23:03:42 | [Mutex] isItemNotified: received:node:62cbe81f-6a0d-4dd0-adce-514f18c65242:localhost:node-268edbce-7b92-41cf-813d-9f41ea7256c8:Node 268edbce-7b92-41cf-813d-9f41ea7256c8 :: false |
createNodes | 1.433s |
2022-07-20 23:03:38 |
2022-07-20 23:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:38 | ------------------------------------ 2022-07-20 23:03:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-268edbce-7b92-41cf-813d-9f41ea7256c8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 268edbce-7b92-41cf-813d-9f41ea7256c8</title></pubsub></data> 2022-07-20 23:03:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-20 23:03:40 | [Mutex] waiting for: [received:nodes:054e33b1-3dff-4a75-803a-0346441047ea:localhost] 2022-07-20 23:03:40 | [Mutex] received everything. 2022-07-20 23:03:40 | [Mutex] isItemNotified: received:node:054e33b1-3dff-4a75-803a-0346441047ea:localhost:node-268edbce-7b92-41cf-813d-9f41ea7256c8:Node 268edbce-7b92-41cf-813d-9f41ea7256c8 :: true |
createSubnodes | 1.028s |
2022-07-20 23:03:40 |
2022-07-20 23:03:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:40 | ------------------------------------ 2022-07-20 23:03:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a64d3a0b-efa8-4cb8-b7d9-ed1131551773</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a64d3a0b-efa8-4cb8-b7d9-ed1131551773</title></pubsub></data> 2022-07-20 23:03:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-20 23:03:41 | [Mutex] waiting for: [received:nodes:52502a7f-b099-4de0-9788-51ddd45251a1:localhost] 2022-07-20 23:03:41 | [Mutex] waiting for: [received:nodes:52502a7f-b099-4de0-9788-51ddd45251a1:localhost] 2022-07-20 23:03:41 | [Mutex] received everything. 2022-07-20 23:03:41 | [Mutex] isItemNotified: received:node:52502a7f-b099-4de0-9788-51ddd45251a1:localhost:node-a64d3a0b-efa8-4cb8-b7d9-ed1131551773:Node a64d3a0b-efa8-4cb8-b7d9-ed1131551773 :: true |
deleteNodes | 1.017s |
2022-07-20 23:03:46 |
2022-07-20 23:03:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:46 | ------------------------------------ 2022-07-20 23:03:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a64d3a0b-efa8-4cb8-b7d9-ed1131551773</node></data> 2022-07-20 23:03:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-20 23:03:47 | [Mutex] waiting for: [received:nodes:8d3a9fb8-ba30-4d71-a786-ded0ce8af1e9:localhost] 2022-07-20 23:03:47 | [Mutex] waiting for: [received:nodes:8d3a9fb8-ba30-4d71-a786-ded0ce8af1e9:localhost] 2022-07-20 23:03:47 | [Mutex] received everything. 2022-07-20 23:03:47 | [Mutex] isItemNotified: received:node:8d3a9fb8-ba30-4d71-a786-ded0ce8af1e9:localhost:node-a64d3a0b-efa8-4cb8-b7d9-ed1131551773:Node a64d3a0b-efa8-4cb8-b7d9-ed1131551773 :: false |
deleteSubnodes | 1.198s |
2022-07-20 23:03:45 |
2022-07-20 23:03:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:45 | ------------------------------------ 2022-07-20 23:03:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-268edbce-7b92-41cf-813d-9f41ea7256c8</node></data> 2022-07-20 23:03:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-20 23:03:46 | [Mutex] waiting for: [received:nodes:7b50fef3-f373-4e98-96a7-e80d40f18d39:localhost] 2022-07-20 23:03:46 | [Mutex] waiting for: [received:nodes:7b50fef3-f373-4e98-96a7-e80d40f18d39:localhost] 2022-07-20 23:03:46 | [Mutex] waiting for: [received:nodes:7b50fef3-f373-4e98-96a7-e80d40f18d39:localhost] 2022-07-20 23:03:46 | [Mutex] received everything. 2022-07-20 23:03:46 | [Mutex] isItemNotified: received:node:7b50fef3-f373-4e98-96a7-e80d40f18d39:localhost:node-268edbce-7b92-41cf-813d-9f41ea7256c8:Node 268edbce-7b92-41cf-813d-9f41ea7256c8 :: false 2022-07-20 23:03:46 | [Mutex] waiting for: [received:nodes:45dcdae4-23a9-4269-91fb-71c821579179:localhost] 2022-07-20 23:03:46 | [Mutex] received everything. 2022-07-20 23:03:46 | [Mutex] isItemNotified: received:node:45dcdae4-23a9-4269-91fb-71c821579179:localhost:node-268edbce-7b92-41cf-813d-9f41ea7256c8:Node 268edbce-7b92-41cf-813d-9f41ea7256c8 :: false |
publishItemsToNodes | 0.207s |
2022-07-20 23:03:43 |
2022-07-20 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:43 | ------------------------------------ 2022-07-20 23:03:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-268edbce-7b92-41cf-813d-9f41ea7256c8</node><item-id>item-6be3c426-5775-43f3-9b2b-ce13c2689b50</item-id><entry><test>item-6be3c426-5775-43f3-9b2b-ce13c2689b50</test></entry></data> 2022-07-20 23:03:43 | 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-6be3c426-5775-43f3-9b2b-ce13c2689b50</value></item-id></result> 2022-07-20 23:03:43 | [Mutex] received everything. 2022-07-20 23:03:43 | [Mutex] isItemNotified: published:item:notifieditem-6be3c426-5775-43f3-9b2b-ce13c2689b50:admin@test-domain.com :: true |
retractItemsFromNodes | 0.328s |
2022-07-20 23:03:44 |
2022-07-20 23:03:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:44 | ------------------------------------ 2022-07-20 23:03:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-268edbce-7b92-41cf-813d-9f41ea7256c8</node><item-id>item-6be3c426-5775-43f3-9b2b-ce13c2689b50</item-id></data> 2022-07-20 23:03:44 | 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-6be3c426-5775-43f3-9b2b-ce13c2689b50</value></item-id></result> 2022-07-20 23:03:44 | [Mutex] received everything. 2022-07-20 23:03:44 | [Mutex] isItemNotified: retracted:item:notifieditem-6be3c426-5775-43f3-9b2b-ce13c2689b50:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.186s |
2022-07-20 23:03:43 |
2022-07-20 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:43 | ------------------------------------ 2022-07-20 23:03:43 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-268edbce-7b92-41cf-813d-9f41ea7256c8</node><item-id>item-6be3c426-5775-43f3-9b2b-ce13c2689b50</item-id></data> 2022-07-20 23:03:44 | 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-268edbce-7b92-41cf-813d-9f41ea7256c8</value></node><item-id type="text-single" label="Item ID"><value>item-6be3c426-5775-43f3-9b2b-ce13c2689b50</value></item-id><item type="text-multi" label="Item"><value><item id="item-6be3c426-5775-43f3-9b2b-ce13c2689b50"><test>item-6be3c426-5775-43f3-9b2b-ce13c2689b50</test></item></value></item></result> 2022-07-20 23:03:44 | [Mutex] notify: [retrieved:item:item-6be3c426-5775-43f3-9b2b-ce13c2689b50:payload-matches:true:localhost] 2022-07-20 23:03:44 | [Mutex] received everything. 2022-07-20 23:03:44 | [Mutex] isItemNotified: retrieved:item:item-6be3c426-5775-43f3-9b2b-ce13c2689b50:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-20 23:03:44 |
2022-07-20 23:03:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:44 | ------------------------------------ 2022-07-20 23:03:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-20 23:03:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-a64d3a0b-efa8-4cb8-b7d9-ed1131551773</value><value>node-268edbce-7b92-41cf-813d-9f41ea7256c8</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-20 23:03:44 |
2022-07-20 23:03:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:44 | ------------------------------------ 2022-07-20 23:03:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-268edbce-7b92-41cf-813d-9f41ea7256c8)</node-pattern></data> 2022-07-20 23:03:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.132s |
2022-07-20 23:03:42 |
2022-07-20 23:03:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:42 | ------------------------------------ 2022-07-20 23:03:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-268edbce-7b92-41cf-813d-9f41ea7256c8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-20 23:03:42 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.214s |
2022-07-20 23:03:44 |
2022-07-20 23:03:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 23:03:44 | ------------------------------------ 2022-07-20 23:03:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-268edbce-7b92-41cf-813d-9f41ea7256c8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-20 23:03:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |