Test duration : 9.534s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2022-12-30 07:59:46 |
2022-12-30 07:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:46 | ------------------------------------ 2022-12-30 07:59:46 | [Mutex] waiting for: [configured:node:node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30:node-a58846c2-235c-4762-8b3f-1c1f46957f59] 2022-12-30 07:59:46 | [Mutex] received everything. 2022-12-30 07:59:46 | [Mutex] isItemNotified: configured:node:node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30:node-a58846c2-235c-4762-8b3f-1c1f46957f59 :: true 2022-12-30 07:59:47 | [Mutex] waiting for: [received:nodes:2d3728b3-fd5b-48a7-9ac8-53d7a99c58bb:localhost] 2022-12-30 07:59:47 | [Mutex] received everything. 2022-12-30 07:59:47 | [Mutex] isItemNotified: received:node:2d3728b3-fd5b-48a7-9ac8-53d7a99c58bb:localhost:node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30:Node a540b3fe-776d-4b1b-ac68-c3d75a57dd30 :: true 2022-12-30 07:59:47 | [Mutex] waiting for: [received:nodes:b3991717-e041-460a-ab6a-5b560e67b98b:localhost] 2022-12-30 07:59:47 | [Mutex] waiting for: [received:nodes:b3991717-e041-460a-ab6a-5b560e67b98b:localhost] 2022-12-30 07:59:47 | [Mutex] waiting for: [received:nodes:b3991717-e041-460a-ab6a-5b560e67b98b:localhost] 2022-12-30 07:59:47 | [Mutex] waiting for: [received:nodes:b3991717-e041-460a-ab6a-5b560e67b98b:localhost] 2022-12-30 07:59:47 | [Mutex] received everything. 2022-12-30 07:59:47 | [Mutex] isItemNotified: received:node:b3991717-e041-460a-ab6a-5b560e67b98b:localhost:node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30:Node a540b3fe-776d-4b1b-ac68-c3d75a57dd30 :: false |
createNodes | 1.453s |
2022-12-30 07:59:43 |
2022-12-30 07:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:43 | ------------------------------------ 2022-12-30 07:59:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a540b3fe-776d-4b1b-ac68-c3d75a57dd30</title></pubsub></data> 2022-12-30 07:59:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 07:59:45 | [Mutex] waiting for: [received:nodes:7aa8f1fc-83b0-4e7e-acd5-e0dd03ee8c50:localhost] 2022-12-30 07:59:45 | [Mutex] waiting for: [received:nodes:7aa8f1fc-83b0-4e7e-acd5-e0dd03ee8c50:localhost] 2022-12-30 07:59:45 | [Mutex] waiting for: [received:nodes:7aa8f1fc-83b0-4e7e-acd5-e0dd03ee8c50:localhost] 2022-12-30 07:59:45 | [Mutex] waiting for: [received:nodes:7aa8f1fc-83b0-4e7e-acd5-e0dd03ee8c50:localhost] 2022-12-30 07:59:45 | [Mutex] received everything. 2022-12-30 07:59:45 | [Mutex] isItemNotified: received:node:7aa8f1fc-83b0-4e7e-acd5-e0dd03ee8c50:localhost:node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30:Node a540b3fe-776d-4b1b-ac68-c3d75a57dd30 :: true |
createSubnodes | 1.056s |
2022-12-30 07:59:45 |
2022-12-30 07:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:45 | ------------------------------------ 2022-12-30 07:59:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a58846c2-235c-4762-8b3f-1c1f46957f59</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a58846c2-235c-4762-8b3f-1c1f46957f59</title></pubsub></data> 2022-12-30 07:59:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 07:59:46 | [Mutex] waiting for: [received:nodes:21d20c1f-bf4e-48a7-91c3-1b42182cd4de:localhost] 2022-12-30 07:59:46 | [Mutex] waiting for: [received:nodes:21d20c1f-bf4e-48a7-91c3-1b42182cd4de:localhost] 2022-12-30 07:59:46 | [Mutex] waiting for: [received:nodes:21d20c1f-bf4e-48a7-91c3-1b42182cd4de:localhost] 2022-12-30 07:59:46 | [Mutex] waiting for: [received:nodes:21d20c1f-bf4e-48a7-91c3-1b42182cd4de:localhost] 2022-12-30 07:59:46 | [Mutex] received everything. 2022-12-30 07:59:46 | [Mutex] isItemNotified: received:node:21d20c1f-bf4e-48a7-91c3-1b42182cd4de:localhost:node-a58846c2-235c-4762-8b3f-1c1f46957f59:Node a58846c2-235c-4762-8b3f-1c1f46957f59 :: true |
deleteNodes | 1.021s |
2022-12-30 07:59:51 |
2022-12-30 07:59:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:51 | ------------------------------------ 2022-12-30 07:59:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a58846c2-235c-4762-8b3f-1c1f46957f59</node></data> 2022-12-30 07:59:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 07:59:52 | [Mutex] waiting for: [received:nodes:d261cff0-4188-45ef-bbe9-32fa45e83236:localhost] 2022-12-30 07:59:52 | [Mutex] waiting for: [received:nodes:d261cff0-4188-45ef-bbe9-32fa45e83236:localhost] 2022-12-30 07:59:52 | [Mutex] waiting for: [received:nodes:d261cff0-4188-45ef-bbe9-32fa45e83236:localhost] 2022-12-30 07:59:52 | [Mutex] received everything. 2022-12-30 07:59:52 | [Mutex] isItemNotified: received:node:d261cff0-4188-45ef-bbe9-32fa45e83236:localhost:node-a58846c2-235c-4762-8b3f-1c1f46957f59:Node a58846c2-235c-4762-8b3f-1c1f46957f59 :: false |
deleteSubnodes | 1.138s |
2022-12-30 07:59:50 |
2022-12-30 07:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:50 | ------------------------------------ 2022-12-30 07:59:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30</node></data> 2022-12-30 07:59:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 07:59:51 | [Mutex] waiting for: [received:nodes:6cf7d25f-99db-4369-99a1-c8484ae1ba03:localhost] 2022-12-30 07:59:51 | [Mutex] waiting for: [received:nodes:6cf7d25f-99db-4369-99a1-c8484ae1ba03:localhost] 2022-12-30 07:59:51 | [Mutex] waiting for: [received:nodes:6cf7d25f-99db-4369-99a1-c8484ae1ba03:localhost] 2022-12-30 07:59:51 | [Mutex] received everything. 2022-12-30 07:59:51 | [Mutex] isItemNotified: received:node:6cf7d25f-99db-4369-99a1-c8484ae1ba03:localhost:node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30:Node a540b3fe-776d-4b1b-ac68-c3d75a57dd30 :: false 2022-12-30 07:59:51 | [Mutex] waiting for: [received:nodes:e96b66b8-ae6f-4da4-b164-cc2cd3b9a2a8:localhost] 2022-12-30 07:59:51 | [Mutex] received everything. 2022-12-30 07:59:51 | [Mutex] isItemNotified: received:node:e96b66b8-ae6f-4da4-b164-cc2cd3b9a2a8:localhost:node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30:Node a540b3fe-776d-4b1b-ac68-c3d75a57dd30 :: false |
publishItemsToNodes | 0.221s |
2022-12-30 07:59:48 |
2022-12-30 07:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:48 | ------------------------------------ 2022-12-30 07:59:48 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30</node><item-id>item-5dc2185a-f00f-4987-9b42-c572dbe0d737</item-id><entry><test>item-5dc2185a-f00f-4987-9b42-c572dbe0d737</test></entry></data> 2022-12-30 07:59:48 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5dc2185a-f00f-4987-9b42-c572dbe0d737</value></item-id></result> 2022-12-30 07:59:48 | [Mutex] received everything. 2022-12-30 07:59:48 | [Mutex] isItemNotified: published:item:notifieditem-5dc2185a-f00f-4987-9b42-c572dbe0d737:admin@test-domain.com :: true |
retractItemsFromNodes | 0.331s |
2022-12-30 07:59:49 |
2022-12-30 07:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:49 | ------------------------------------ 2022-12-30 07:59:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30</node><item-id>item-5dc2185a-f00f-4987-9b42-c572dbe0d737</item-id></data> 2022-12-30 07:59:49 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5dc2185a-f00f-4987-9b42-c572dbe0d737</value></item-id></result> 2022-12-30 07:59:49 | [Mutex] received everything. 2022-12-30 07:59:49 | [Mutex] isItemNotified: retracted:item:notifieditem-5dc2185a-f00f-4987-9b42-c572dbe0d737:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.223s |
2022-12-30 07:59:48 |
2022-12-30 07:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:48 | ------------------------------------ 2022-12-30 07:59:48 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30</node><item-id>item-5dc2185a-f00f-4987-9b42-c572dbe0d737</item-id></data> 2022-12-30 07:59:49 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30</value></node><item-id label="Item ID" type="text-single"><value>item-5dc2185a-f00f-4987-9b42-c572dbe0d737</value></item-id><item label="Item" type="text-multi"><value><item id="item-5dc2185a-f00f-4987-9b42-c572dbe0d737"><test>item-5dc2185a-f00f-4987-9b42-c572dbe0d737</test></item></value></item></result> 2022-12-30 07:59:49 | [Mutex] notify: [retrieved:item:item-5dc2185a-f00f-4987-9b42-c572dbe0d737:payload-matches:true:localhost] 2022-12-30 07:59:49 | [Mutex] received everything. 2022-12-30 07:59:49 | [Mutex] isItemNotified: retrieved:item:item-5dc2185a-f00f-4987-9b42-c572dbe0d737:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-12-30 07:59:49 |
2022-12-30 07:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:49 | ------------------------------------ 2022-12-30 07:59:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-30 07:59:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30</value><value>node-a58846c2-235c-4762-8b3f-1c1f46957f59</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.050s |
2022-12-30 07:59:49 |
2022-12-30 07:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:49 | ------------------------------------ 2022-12-30 07:59:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30)</node-pattern></data> 2022-12-30 07:59:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.128s |
2022-12-30 07:59:47 |
2022-12-30 07:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:47 | ------------------------------------ 2022-12-30 07:59:47 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-30 07:59:47 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.179s |
2022-12-30 07:59:49 |
2022-12-30 07:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 07:59:49 | ------------------------------------ 2022-12-30 07:59:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a540b3fe-776d-4b1b-ac68-c3d75a57dd30</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-30 07:59:49 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |