Test duration : 9.336s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2023-07-05 21:13:30 |
2023-07-05 21:13:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:30 | ------------------------------------ 2023-07-05 21:13:30 | [Mutex] waiting for: [configured:node:node-0ed80d69-07a6-44db-b472-a46261624f7d:node-40328135-61cc-437e-8e0e-93233a27b244] 2023-07-05 21:13:30 | [Mutex] received everything. 2023-07-05 21:13:30 | [Mutex] isItemNotified: configured:node:node-0ed80d69-07a6-44db-b472-a46261624f7d:node-40328135-61cc-437e-8e0e-93233a27b244 :: true 2023-07-05 21:13:31 | [Mutex] waiting for: [received:nodes:15b5ad17-56d9-4f9b-b27a-da6426ccad3e:localhost] 2023-07-05 21:13:31 | [Mutex] received everything. 2023-07-05 21:13:31 | [Mutex] isItemNotified: received:node:15b5ad17-56d9-4f9b-b27a-da6426ccad3e:localhost:node-0ed80d69-07a6-44db-b472-a46261624f7d:Node 0ed80d69-07a6-44db-b472-a46261624f7d :: true 2023-07-05 21:13:31 | [Mutex] waiting for: [received:nodes:f32b16f0-4268-45e9-accc-53dcb895a4c9:localhost] 2023-07-05 21:13:31 | [Mutex] waiting for: [received:nodes:f32b16f0-4268-45e9-accc-53dcb895a4c9:localhost] 2023-07-05 21:13:31 | [Mutex] waiting for: [received:nodes:f32b16f0-4268-45e9-accc-53dcb895a4c9:localhost] 2023-07-05 21:13:31 | [Mutex] waiting for: [received:nodes:f32b16f0-4268-45e9-accc-53dcb895a4c9:localhost] 2023-07-05 21:13:31 | [Mutex] received everything. 2023-07-05 21:13:31 | [Mutex] isItemNotified: received:node:f32b16f0-4268-45e9-accc-53dcb895a4c9:localhost:node-0ed80d69-07a6-44db-b472-a46261624f7d:Node 0ed80d69-07a6-44db-b472-a46261624f7d :: false |
createNodes | 1.352s |
2023-07-05 21:13:27 |
2023-07-05 21:13:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:27 | ------------------------------------ 2023-07-05 21:13:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0ed80d69-07a6-44db-b472-a46261624f7d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0ed80d69-07a6-44db-b472-a46261624f7d</title></pubsub></data> 2023-07-05 21:13:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 21:13:29 | [Mutex] waiting for: [received:nodes:71d0546e-3700-40bf-b06c-cc9d013aa139:localhost] 2023-07-05 21:13:29 | [Mutex] received everything. 2023-07-05 21:13:29 | [Mutex] isItemNotified: received:node:71d0546e-3700-40bf-b06c-cc9d013aa139:localhost:node-0ed80d69-07a6-44db-b472-a46261624f7d:Node 0ed80d69-07a6-44db-b472-a46261624f7d :: true |
createSubnodes | 1.023s |
2023-07-05 21:13:29 |
2023-07-05 21:13:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:29 | ------------------------------------ 2023-07-05 21:13:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-40328135-61cc-437e-8e0e-93233a27b244</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 40328135-61cc-437e-8e0e-93233a27b244</title></pubsub></data> 2023-07-05 21:13:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 21:13:30 | [Mutex] waiting for: [received:nodes:fe443b73-4923-4f5c-ade0-55177010e038:localhost] 2023-07-05 21:13:30 | [Mutex] waiting for: [received:nodes:fe443b73-4923-4f5c-ade0-55177010e038:localhost] 2023-07-05 21:13:30 | [Mutex] waiting for: [received:nodes:fe443b73-4923-4f5c-ade0-55177010e038:localhost] 2023-07-05 21:13:30 | [Mutex] received everything. 2023-07-05 21:13:30 | [Mutex] isItemNotified: received:node:fe443b73-4923-4f5c-ade0-55177010e038:localhost:node-40328135-61cc-437e-8e0e-93233a27b244:Node 40328135-61cc-437e-8e0e-93233a27b244 :: true |
deleteNodes | 1.017s |
2023-07-05 21:13:35 |
2023-07-05 21:13:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:35 | ------------------------------------ 2023-07-05 21:13:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-40328135-61cc-437e-8e0e-93233a27b244</node></data> 2023-07-05 21:13:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 21:13:36 | [Mutex] waiting for: [received:nodes:5b913777-d563-47af-a177-86fe0c52981c:localhost] 2023-07-05 21:13:36 | [Mutex] waiting for: [received:nodes:5b913777-d563-47af-a177-86fe0c52981c:localhost] 2023-07-05 21:13:36 | [Mutex] waiting for: [received:nodes:5b913777-d563-47af-a177-86fe0c52981c:localhost] 2023-07-05 21:13:36 | [Mutex] received everything. 2023-07-05 21:13:36 | [Mutex] isItemNotified: received:node:5b913777-d563-47af-a177-86fe0c52981c:localhost:node-40328135-61cc-437e-8e0e-93233a27b244:Node 40328135-61cc-437e-8e0e-93233a27b244 :: false |
deleteSubnodes | 1.100s |
2023-07-05 21:13:34 |
2023-07-05 21:13:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:34 | ------------------------------------ 2023-07-05 21:13:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0ed80d69-07a6-44db-b472-a46261624f7d</node></data> 2023-07-05 21:13:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 21:13:35 | [Mutex] waiting for: [received:nodes:b1bbd3a3-4908-4784-948e-27d7836df6c6:localhost] 2023-07-05 21:13:35 | [Mutex] waiting for: [received:nodes:b1bbd3a3-4908-4784-948e-27d7836df6c6:localhost] 2023-07-05 21:13:35 | [Mutex] waiting for: [received:nodes:b1bbd3a3-4908-4784-948e-27d7836df6c6:localhost] 2023-07-05 21:13:35 | [Mutex] received everything. 2023-07-05 21:13:35 | [Mutex] isItemNotified: received:node:b1bbd3a3-4908-4784-948e-27d7836df6c6:localhost:node-0ed80d69-07a6-44db-b472-a46261624f7d:Node 0ed80d69-07a6-44db-b472-a46261624f7d :: false 2023-07-05 21:13:35 | [Mutex] waiting for: [received:nodes:3290d19b-b493-4cbd-8942-b10495d8d9dd:localhost] 2023-07-05 21:13:35 | [Mutex] received everything. 2023-07-05 21:13:35 | [Mutex] isItemNotified: received:node:3290d19b-b493-4cbd-8942-b10495d8d9dd:localhost:node-0ed80d69-07a6-44db-b472-a46261624f7d:Node 0ed80d69-07a6-44db-b472-a46261624f7d :: false |
publishItemsToNodes | 0.244s |
2023-07-05 21:13:32 |
2023-07-05 21:13:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:32 | ------------------------------------ 2023-07-05 21:13:32 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0ed80d69-07a6-44db-b472-a46261624f7d</node><item-id>item-e47d7daf-76bc-47e7-ab4d-4c758609730d</item-id><entry><test>item-e47d7daf-76bc-47e7-ab4d-4c758609730d</test></entry></data> 2023-07-05 21:13:32 | 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-e47d7daf-76bc-47e7-ab4d-4c758609730d</value></item-id></result> 2023-07-05 21:13:32 | [Mutex] received everything. 2023-07-05 21:13:32 | [Mutex] isItemNotified: published:item:notifieditem-e47d7daf-76bc-47e7-ab4d-4c758609730d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2023-07-05 21:13:32 |
2023-07-05 21:13:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:32 | ------------------------------------ 2023-07-05 21:13:32 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0ed80d69-07a6-44db-b472-a46261624f7d</node><item-id>item-e47d7daf-76bc-47e7-ab4d-4c758609730d</item-id></data> 2023-07-05 21:13:33 | 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-e47d7daf-76bc-47e7-ab4d-4c758609730d</value></item-id></result> 2023-07-05 21:13:33 | [Mutex] received everything. 2023-07-05 21:13:33 | [Mutex] isItemNotified: retracted:item:notifieditem-e47d7daf-76bc-47e7-ab4d-4c758609730d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.229s |
2023-07-05 21:13:32 |
2023-07-05 21:13:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:32 | ------------------------------------ 2023-07-05 21:13:32 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0ed80d69-07a6-44db-b472-a46261624f7d</node><item-id>item-e47d7daf-76bc-47e7-ab4d-4c758609730d</item-id></data> 2023-07-05 21:13:32 | 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-0ed80d69-07a6-44db-b472-a46261624f7d</value></node><item-id label="Item ID" type="text-single"><value>item-e47d7daf-76bc-47e7-ab4d-4c758609730d</value></item-id><item label="Item" type="text-multi"><value><item id="item-e47d7daf-76bc-47e7-ab4d-4c758609730d"><test>item-e47d7daf-76bc-47e7-ab4d-4c758609730d</test></item></value></item></result> 2023-07-05 21:13:32 | [Mutex] notify: [retrieved:item:item-e47d7daf-76bc-47e7-ab4d-4c758609730d:payload-matches:true:localhost] 2023-07-05 21:13:32 | [Mutex] received everything. 2023-07-05 21:13:32 | [Mutex] isItemNotified: retrieved:item:item-e47d7daf-76bc-47e7-ab4d-4c758609730d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-05 21:13:32 |
2023-07-05 21:13:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:32 | ------------------------------------ 2023-07-05 21:13:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-05 21:13:32 | 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-0ed80d69-07a6-44db-b472-a46261624f7d</value><value>node-40328135-61cc-437e-8e0e-93233a27b244</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-07-05 21:13:32 |
2023-07-05 21:13:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:32 | ------------------------------------ 2023-07-05 21:13:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0ed80d69-07a6-44db-b472-a46261624f7d)</node-pattern></data> 2023-07-05 21:13:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.113s |
2023-07-05 21:13:31 |
2023-07-05 21:13:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:31 | ------------------------------------ 2023-07-05 21:13:31 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0ed80d69-07a6-44db-b472-a46261624f7d</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-05 21:13:31 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.143s |
2023-07-05 21:13:33 |
2023-07-05 21:13:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:13:33 | ------------------------------------ 2023-07-05 21:13:33 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0ed80d69-07a6-44db-b472-a46261624f7d</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-05 21:13:33 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |