Test duration : 9.512s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2023-10-28 00:29:41 |
2023-10-28 00:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:41 | ------------------------------------ 2023-10-28 00:29:41 | [Mutex] waiting for: [configured:node:node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95:node-4f3080e1-684d-41bc-9228-f7148b9477a8] 2023-10-28 00:29:41 | [Mutex] received everything. 2023-10-28 00:29:41 | [Mutex] isItemNotified: configured:node:node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95:node-4f3080e1-684d-41bc-9228-f7148b9477a8 :: true 2023-10-28 00:29:42 | [Mutex] waiting for: [received:nodes:a8bd5e0c-964e-40f6-9266-b0e48973b378:localhost] 2023-10-28 00:29:42 | [Mutex] received everything. 2023-10-28 00:29:42 | [Mutex] isItemNotified: received:node:a8bd5e0c-964e-40f6-9266-b0e48973b378:localhost:node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95:Node 6cbcb4c1-7664-4928-87e0-4b9e8687ca95 :: true 2023-10-28 00:29:42 | [Mutex] waiting for: [received:nodes:2a0423de-9025-4a78-b851-236b043b3f27:localhost] 2023-10-28 00:29:42 | [Mutex] waiting for: [received:nodes:2a0423de-9025-4a78-b851-236b043b3f27:localhost] 2023-10-28 00:29:42 | [Mutex] waiting for: [received:nodes:2a0423de-9025-4a78-b851-236b043b3f27:localhost] 2023-10-28 00:29:42 | [Mutex] waiting for: [received:nodes:2a0423de-9025-4a78-b851-236b043b3f27:localhost] 2023-10-28 00:29:42 | [Mutex] received everything. 2023-10-28 00:29:42 | [Mutex] isItemNotified: received:node:2a0423de-9025-4a78-b851-236b043b3f27:localhost:node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95:Node 6cbcb4c1-7664-4928-87e0-4b9e8687ca95 :: false |
createNodes | 1.432s |
2023-10-28 00:29:38 |
2023-10-28 00:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:38 | ------------------------------------ 2023-10-28 00:29:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6cbcb4c1-7664-4928-87e0-4b9e8687ca95</title></pubsub></data> 2023-10-28 00:29:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-28 00:29:40 | [Mutex] waiting for: [received:nodes:e20f1e55-6b32-48be-a39b-8789e03d34a5:localhost] 2023-10-28 00:29:40 | [Mutex] received everything. 2023-10-28 00:29:40 | [Mutex] isItemNotified: received:node:e20f1e55-6b32-48be-a39b-8789e03d34a5:localhost:node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95:Node 6cbcb4c1-7664-4928-87e0-4b9e8687ca95 :: true |
createSubnodes | 1.021s |
2023-10-28 00:29:40 |
2023-10-28 00:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:40 | ------------------------------------ 2023-10-28 00:29:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4f3080e1-684d-41bc-9228-f7148b9477a8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4f3080e1-684d-41bc-9228-f7148b9477a8</title></pubsub></data> 2023-10-28 00:29:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-28 00:29:41 | [Mutex] waiting for: [received:nodes:c0ac264e-bd92-418f-9040-8fa7e5595923:localhost] 2023-10-28 00:29:41 | [Mutex] waiting for: [received:nodes:c0ac264e-bd92-418f-9040-8fa7e5595923:localhost] 2023-10-28 00:29:41 | [Mutex] waiting for: [received:nodes:c0ac264e-bd92-418f-9040-8fa7e5595923:localhost] 2023-10-28 00:29:41 | [Mutex] waiting for: [received:nodes:c0ac264e-bd92-418f-9040-8fa7e5595923:localhost] 2023-10-28 00:29:41 | [Mutex] waiting for: [received:nodes:c0ac264e-bd92-418f-9040-8fa7e5595923:localhost] 2023-10-28 00:29:41 | [Mutex] received everything. 2023-10-28 00:29:41 | [Mutex] isItemNotified: received:node:c0ac264e-bd92-418f-9040-8fa7e5595923:localhost:node-4f3080e1-684d-41bc-9228-f7148b9477a8:Node 4f3080e1-684d-41bc-9228-f7148b9477a8 :: true |
deleteNodes | 1.017s |
2023-10-28 00:29:46 |
2023-10-28 00:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:46 | ------------------------------------ 2023-10-28 00:29:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4f3080e1-684d-41bc-9228-f7148b9477a8</node></data> 2023-10-28 00:29:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-28 00:29:47 | [Mutex] waiting for: [received:nodes:fb5186ba-e1a8-466f-ae41-ae9a4e6a9094:localhost] 2023-10-28 00:29:47 | [Mutex] waiting for: [received:nodes:fb5186ba-e1a8-466f-ae41-ae9a4e6a9094:localhost] 2023-10-28 00:29:47 | [Mutex] waiting for: [received:nodes:fb5186ba-e1a8-466f-ae41-ae9a4e6a9094:localhost] 2023-10-28 00:29:47 | [Mutex] received everything. 2023-10-28 00:29:47 | [Mutex] isItemNotified: received:node:fb5186ba-e1a8-466f-ae41-ae9a4e6a9094:localhost:node-4f3080e1-684d-41bc-9228-f7148b9477a8:Node 4f3080e1-684d-41bc-9228-f7148b9477a8 :: false |
deleteSubnodes | 1.104s |
2023-10-28 00:29:45 |
2023-10-28 00:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:45 | ------------------------------------ 2023-10-28 00:29:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95</node></data> 2023-10-28 00:29:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-28 00:29:46 | [Mutex] waiting for: [received:nodes:01d5d3cb-470d-4c4e-b77a-cc5fa09d303d:localhost] 2023-10-28 00:29:46 | [Mutex] waiting for: [received:nodes:01d5d3cb-470d-4c4e-b77a-cc5fa09d303d:localhost] 2023-10-28 00:29:46 | [Mutex] waiting for: [received:nodes:01d5d3cb-470d-4c4e-b77a-cc5fa09d303d:localhost] 2023-10-28 00:29:46 | [Mutex] waiting for: [received:nodes:01d5d3cb-470d-4c4e-b77a-cc5fa09d303d:localhost] 2023-10-28 00:29:46 | [Mutex] received everything. 2023-10-28 00:29:46 | [Mutex] isItemNotified: received:node:01d5d3cb-470d-4c4e-b77a-cc5fa09d303d:localhost:node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95:Node 6cbcb4c1-7664-4928-87e0-4b9e8687ca95 :: false 2023-10-28 00:29:46 | [Mutex] waiting for: [received:nodes:2e8311c5-2a4d-4b5e-9a61-b3f89925524f:localhost] 2023-10-28 00:29:46 | [Mutex] received everything. 2023-10-28 00:29:46 | [Mutex] isItemNotified: received:node:2e8311c5-2a4d-4b5e-9a61-b3f89925524f:localhost:node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95:Node 6cbcb4c1-7664-4928-87e0-4b9e8687ca95 :: false |
publishItemsToNodes | 0.217s |
2023-10-28 00:29:43 |
2023-10-28 00:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:43 | ------------------------------------ 2023-10-28 00:29:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95</node><item-id>item-c45a0add-8024-475f-b427-af7349e70c24</item-id><entry><test>item-c45a0add-8024-475f-b427-af7349e70c24</test></entry></data> 2023-10-28 00:29: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-c45a0add-8024-475f-b427-af7349e70c24</value></item-id></result> 2023-10-28 00:29:43 | [Mutex] waiting for: [published:item:notifieditem-c45a0add-8024-475f-b427-af7349e70c24:admin@test-domain.com] 2023-10-28 00:29:43 | [Mutex] received everything. 2023-10-28 00:29:43 | [Mutex] isItemNotified: published:item:notifieditem-c45a0add-8024-475f-b427-af7349e70c24:admin@test-domain.com :: true |
retractItemsFromNodes | 0.274s |
2023-10-28 00:29:44 |
2023-10-28 00:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:44 | ------------------------------------ 2023-10-28 00:29:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95</node><item-id>item-c45a0add-8024-475f-b427-af7349e70c24</item-id></data> 2023-10-28 00:29: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-c45a0add-8024-475f-b427-af7349e70c24</value></item-id></result> 2023-10-28 00:29:44 | [Mutex] received everything. 2023-10-28 00:29:44 | [Mutex] isItemNotified: retracted:item:notifieditem-c45a0add-8024-475f-b427-af7349e70c24:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.262s |
2023-10-28 00:29:43 |
2023-10-28 00:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:43 | ------------------------------------ 2023-10-28 00:29:43 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95</node><item-id>item-c45a0add-8024-475f-b427-af7349e70c24</item-id></data> 2023-10-28 00:29:43 | 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-6cbcb4c1-7664-4928-87e0-4b9e8687ca95</value></node><item-id type="text-single" label="Item ID"><value>item-c45a0add-8024-475f-b427-af7349e70c24</value></item-id><item type="text-multi" label="Item"><value><item id="item-c45a0add-8024-475f-b427-af7349e70c24"><test>item-c45a0add-8024-475f-b427-af7349e70c24</test></item></value></item></result> 2023-10-28 00:29:43 | [Mutex] notify: [retrieved:item:item-c45a0add-8024-475f-b427-af7349e70c24:payload-matches:true:localhost] 2023-10-28 00:29:43 | [Mutex] received everything. 2023-10-28 00:29:43 | [Mutex] isItemNotified: retrieved:item:item-c45a0add-8024-475f-b427-af7349e70c24:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2023-10-28 00:29:43 |
2023-10-28 00:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:43 | ------------------------------------ 2023-10-28 00:29:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-10-28 00:29:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-4f3080e1-684d-41bc-9228-f7148b9477a8</value><value>test</value><value>node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-10-28 00:29:44 |
2023-10-28 00:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:44 | ------------------------------------ 2023-10-28 00:29: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-6cbcb4c1-7664-4928-87e0-4b9e8687ca95)</node-pattern></data> 2023-10-28 00:29:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.109s |
2023-10-28 00:29:42 |
2023-10-28 00:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:42 | ------------------------------------ 2023-10-28 00:29:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95</node><jids><value>admin@test-domain.com</value></jids></data> 2023-10-28 00:29: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.204s |
2023-10-28 00:29:44 |
2023-10-28 00:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-28 00:29:44 | ------------------------------------ 2023-10-28 00:29:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-6cbcb4c1-7664-4928-87e0-4b9e8687ca95</node><jids><value>admin@test-domain.com</value></jids></data> 2023-10-28 00:29:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |