Test duration : 10.573s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.116s |
2022-02-03 03:03:50 |
2022-02-03 03:03:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:50 | ------------------------------------ 2022-02-03 03:03:50 | [Mutex] waiting for: [configured:node:node-ff639369-a6f3-461e-832a-b1dbc8979088:node-568e26af-8974-43c3-b1c4-4d4bf44d3a1e] 2022-02-03 03:03:50 | [Mutex] received everything. 2022-02-03 03:03:50 | [Mutex] isItemNotified: configured:node:node-ff639369-a6f3-461e-832a-b1dbc8979088:node-568e26af-8974-43c3-b1c4-4d4bf44d3a1e :: true 2022-02-03 03:03:51 | [Mutex] waiting for: [received:nodes:64406a8b-bb03-404f-a370-7743b9ab3e65:localhost] 2022-02-03 03:03:51 | [Mutex] received everything. 2022-02-03 03:03:51 | [Mutex] isItemNotified: received:node:64406a8b-bb03-404f-a370-7743b9ab3e65:localhost:node-ff639369-a6f3-461e-832a-b1dbc8979088:Node ff639369-a6f3-461e-832a-b1dbc8979088 :: true 2022-02-03 03:03:51 | [Mutex] waiting for: [received:nodes:3beac946-ec20-4aa3-8ee6-79e1945cc2f7:localhost] 2022-02-03 03:03:51 | [Mutex] waiting for: [received:nodes:3beac946-ec20-4aa3-8ee6-79e1945cc2f7:localhost] 2022-02-03 03:03:51 | [Mutex] received everything. 2022-02-03 03:03:51 | [Mutex] isItemNotified: received:node:3beac946-ec20-4aa3-8ee6-79e1945cc2f7:localhost:node-ff639369-a6f3-461e-832a-b1dbc8979088:Node ff639369-a6f3-461e-832a-b1dbc8979088 :: false |
createNodes | 1.648s |
2022-02-03 03:03:47 |
2022-02-03 03:03:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:47 | ------------------------------------ 2022-02-03 03:03:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ff639369-a6f3-461e-832a-b1dbc8979088</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ff639369-a6f3-461e-832a-b1dbc8979088</title></pubsub></data> 2022-02-03 03:03:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 03:03:49 | [Mutex] waiting for: [received:nodes:d32f2358-908d-4f41-bfd3-7c1882bf3cf2:localhost] 2022-02-03 03:03:49 | [Mutex] waiting for: [received:nodes:d32f2358-908d-4f41-bfd3-7c1882bf3cf2:localhost] 2022-02-03 03:03:49 | [Mutex] received everything. 2022-02-03 03:03:49 | [Mutex] isItemNotified: received:node:d32f2358-908d-4f41-bfd3-7c1882bf3cf2:localhost:node-ff639369-a6f3-461e-832a-b1dbc8979088:Node ff639369-a6f3-461e-832a-b1dbc8979088 :: true |
createSubnodes | 1.035s |
2022-02-03 03:03:49 |
2022-02-03 03:03:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:49 | ------------------------------------ 2022-02-03 03:03:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-568e26af-8974-43c3-b1c4-4d4bf44d3a1e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 568e26af-8974-43c3-b1c4-4d4bf44d3a1e</title></pubsub></data> 2022-02-03 03:03:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 03:03:50 | [Mutex] waiting for: [received:nodes:f08ce2bd-26b7-4810-b3ef-b310a03f2856:localhost] 2022-02-03 03:03:50 | [Mutex] received everything. 2022-02-03 03:03:50 | [Mutex] isItemNotified: received:node:f08ce2bd-26b7-4810-b3ef-b310a03f2856:localhost:node-568e26af-8974-43c3-b1c4-4d4bf44d3a1e:Node 568e26af-8974-43c3-b1c4-4d4bf44d3a1e :: true |
deleteNodes | 1.021s |
2022-02-03 03:03:55 |
2022-02-03 03:03:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:55 | ------------------------------------ 2022-02-03 03:03:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-568e26af-8974-43c3-b1c4-4d4bf44d3a1e</node></data> 2022-02-03 03:03:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 03:03:56 | [Mutex] waiting for: [received:nodes:616787ed-5646-4322-9ada-4dcb160fe238:localhost] 2022-02-03 03:03:56 | [Mutex] received everything. 2022-02-03 03:03:56 | [Mutex] isItemNotified: received:node:616787ed-5646-4322-9ada-4dcb160fe238:localhost:node-568e26af-8974-43c3-b1c4-4d4bf44d3a1e:Node 568e26af-8974-43c3-b1c4-4d4bf44d3a1e :: false |
deleteSubnodes | 1.149s |
2022-02-03 03:03:54 |
2022-02-03 03:03:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:54 | ------------------------------------ 2022-02-03 03:03:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ff639369-a6f3-461e-832a-b1dbc8979088</node></data> 2022-02-03 03:03:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 03:03:55 | [Mutex] waiting for: [received:nodes:2e44837c-ec6f-4cc3-b016-fe117e7e1d84:localhost] 2022-02-03 03:03:55 | [Mutex] received everything. 2022-02-03 03:03:55 | [Mutex] isItemNotified: received:node:2e44837c-ec6f-4cc3-b016-fe117e7e1d84:localhost:node-ff639369-a6f3-461e-832a-b1dbc8979088:Node ff639369-a6f3-461e-832a-b1dbc8979088 :: false 2022-02-03 03:03:55 | [Mutex] waiting for: [received:nodes:767eb90f-f8b9-45a6-90b2-2c9bc0e0b8a3:localhost] 2022-02-03 03:03:55 | [Mutex] received everything. 2022-02-03 03:03:55 | [Mutex] isItemNotified: received:node:767eb90f-f8b9-45a6-90b2-2c9bc0e0b8a3:localhost:node-ff639369-a6f3-461e-832a-b1dbc8979088:Node ff639369-a6f3-461e-832a-b1dbc8979088 :: false |
publishItemsToNodes | 0.254s |
2022-02-03 03:03:52 |
2022-02-03 03:03:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:52 | ------------------------------------ 2022-02-03 03:03:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ff639369-a6f3-461e-832a-b1dbc8979088</node><item-id>item-218212bc-33b9-4bbd-a9aa-66c7bc63c026</item-id><entry><test>item-218212bc-33b9-4bbd-a9aa-66c7bc63c026</test></entry></data> 2022-02-03 03:03:52 | 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-218212bc-33b9-4bbd-a9aa-66c7bc63c026</value></item-id></result> 2022-02-03 03:03:52 | [Mutex] waiting for: [published:item:notifieditem-218212bc-33b9-4bbd-a9aa-66c7bc63c026:admin@test-domain.com] 2022-02-03 03:03:52 | [Mutex] received everything. 2022-02-03 03:03:52 | [Mutex] isItemNotified: published:item:notifieditem-218212bc-33b9-4bbd-a9aa-66c7bc63c026:admin@test-domain.com :: true |
retractItemsFromNodes | 0.282s |
2022-02-03 03:03:53 |
2022-02-03 03:03:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:53 | ------------------------------------ 2022-02-03 03:03:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ff639369-a6f3-461e-832a-b1dbc8979088</node><item-id>item-218212bc-33b9-4bbd-a9aa-66c7bc63c026</item-id></data> 2022-02-03 03:03:53 | 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-218212bc-33b9-4bbd-a9aa-66c7bc63c026</value></item-id></result> 2022-02-03 03:03:53 | [Mutex] waiting for: [retracted:item:notifieditem-218212bc-33b9-4bbd-a9aa-66c7bc63c026:admin@test-domain.com] 2022-02-03 03:03:53 | [Mutex] received everything. 2022-02-03 03:03:53 | [Mutex] isItemNotified: retracted:item:notifieditem-218212bc-33b9-4bbd-a9aa-66c7bc63c026:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.369s |
2022-02-03 03:03:52 |
2022-02-03 03:03:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:52 | ------------------------------------ 2022-02-03 03:03:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ff639369-a6f3-461e-832a-b1dbc8979088</node><item-id>item-218212bc-33b9-4bbd-a9aa-66c7bc63c026</item-id></data> 2022-02-03 03:03:52 | 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-ff639369-a6f3-461e-832a-b1dbc8979088</value></node><item-id type="text-single" label="Item ID"><value>item-218212bc-33b9-4bbd-a9aa-66c7bc63c026</value></item-id><item type="text-multi" label="Item"><value><item id="item-218212bc-33b9-4bbd-a9aa-66c7bc63c026"><test>item-218212bc-33b9-4bbd-a9aa-66c7bc63c026</test></item></value></item></result> 2022-02-03 03:03:52 | [Mutex] notify: [retrieved:item:item-218212bc-33b9-4bbd-a9aa-66c7bc63c026:payload-matches:true:localhost] 2022-02-03 03:03:52 | [Mutex] received everything. 2022-02-03 03:03:52 | [Mutex] isItemNotified: retrieved:item:item-218212bc-33b9-4bbd-a9aa-66c7bc63c026:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-02-03 03:03:52 |
2022-02-03 03:03:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:52 | ------------------------------------ 2022-02-03 03:03:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-03 03:03:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-568e26af-8974-43c3-b1c4-4d4bf44d3a1e</value><value>test</value><value>node-ff639369-a6f3-461e-832a-b1dbc8979088</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.146s |
2022-02-03 03:03:53 |
2022-02-03 03:03:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:53 | ------------------------------------ 2022-02-03 03:03:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ff639369-a6f3-461e-832a-b1dbc8979088)</node-pattern></data> 2022-02-03 03:03:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.198s |
2022-02-03 03:03:51 |
2022-02-03 03:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:51 | ------------------------------------ 2022-02-03 03:03:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ff639369-a6f3-461e-832a-b1dbc8979088</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-03 03:03:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.344s |
2022-02-03 03:03:53 |
2022-02-03 03:03:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 03:03:53 | ------------------------------------ 2022-02-03 03:03:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ff639369-a6f3-461e-832a-b1dbc8979088</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-03 03:03:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |