Test duration : 9.522s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2023-06-20 22:45:03 |
2023-06-20 22:45:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:03 | ------------------------------------ 2023-06-20 22:45:03 | [Mutex] waiting for: [configured:node:node-79b601a3-9d88-4c46-8c39-fb5562be4331:node-833a4cf4-2916-4aab-82f1-6c93342d0f5a] 2023-06-20 22:45:03 | [Mutex] received everything. 2023-06-20 22:45:03 | [Mutex] isItemNotified: configured:node:node-79b601a3-9d88-4c46-8c39-fb5562be4331:node-833a4cf4-2916-4aab-82f1-6c93342d0f5a :: true 2023-06-20 22:45:04 | [Mutex] waiting for: [received:nodes:4cefe6e1-c0f9-40d0-9411-63adc792a124:localhost] 2023-06-20 22:45:04 | [Mutex] received everything. 2023-06-20 22:45:04 | [Mutex] isItemNotified: received:node:4cefe6e1-c0f9-40d0-9411-63adc792a124:localhost:node-79b601a3-9d88-4c46-8c39-fb5562be4331:Node 79b601a3-9d88-4c46-8c39-fb5562be4331 :: true 2023-06-20 22:45:04 | [Mutex] waiting for: [received:nodes:7da56206-817d-4593-8799-9800fb4ae70e:localhost] 2023-06-20 22:45:04 | [Mutex] waiting for: [received:nodes:7da56206-817d-4593-8799-9800fb4ae70e:localhost] 2023-06-20 22:45:04 | [Mutex] waiting for: [received:nodes:7da56206-817d-4593-8799-9800fb4ae70e:localhost] 2023-06-20 22:45:04 | [Mutex] waiting for: [received:nodes:7da56206-817d-4593-8799-9800fb4ae70e:localhost] 2023-06-20 22:45:04 | [Mutex] received everything. 2023-06-20 22:45:04 | [Mutex] isItemNotified: received:node:7da56206-817d-4593-8799-9800fb4ae70e:localhost:node-79b601a3-9d88-4c46-8c39-fb5562be4331:Node 79b601a3-9d88-4c46-8c39-fb5562be4331 :: false |
createNodes | 1.385s |
2023-06-20 22:45:00 |
2023-06-20 22:45:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:00 | ------------------------------------ 2023-06-20 22:45:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-79b601a3-9d88-4c46-8c39-fb5562be4331</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 79b601a3-9d88-4c46-8c39-fb5562be4331</title></pubsub></data> 2023-06-20 22:45:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:45:02 | [Mutex] waiting for: [received:nodes:dc53ed77-6af4-40c2-8a29-33d09ecc215f:localhost] 2023-06-20 22:45:02 | [Mutex] received everything. 2023-06-20 22:45:02 | [Mutex] isItemNotified: received:node:dc53ed77-6af4-40c2-8a29-33d09ecc215f:localhost:node-79b601a3-9d88-4c46-8c39-fb5562be4331:Node 79b601a3-9d88-4c46-8c39-fb5562be4331 :: true |
createSubnodes | 1.030s |
2023-06-20 22:45:02 |
2023-06-20 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:02 | ------------------------------------ 2023-06-20 22:45:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-833a4cf4-2916-4aab-82f1-6c93342d0f5a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 833a4cf4-2916-4aab-82f1-6c93342d0f5a</title></pubsub></data> 2023-06-20 22:45:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:45:03 | [Mutex] waiting for: [received:nodes:0f753ed1-5b40-4939-839e-9b5d44919ccc:localhost] 2023-06-20 22:45:03 | [Mutex] waiting for: [received:nodes:0f753ed1-5b40-4939-839e-9b5d44919ccc:localhost] 2023-06-20 22:45:03 | [Mutex] waiting for: [received:nodes:0f753ed1-5b40-4939-839e-9b5d44919ccc:localhost] 2023-06-20 22:45:03 | [Mutex] waiting for: [received:nodes:0f753ed1-5b40-4939-839e-9b5d44919ccc:localhost] 2023-06-20 22:45:03 | [Mutex] received everything. 2023-06-20 22:45:03 | [Mutex] isItemNotified: received:node:0f753ed1-5b40-4939-839e-9b5d44919ccc:localhost:node-833a4cf4-2916-4aab-82f1-6c93342d0f5a:Node 833a4cf4-2916-4aab-82f1-6c93342d0f5a :: true |
deleteNodes | 1.025s |
2023-06-20 22:45:08 |
2023-06-20 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:08 | ------------------------------------ 2023-06-20 22:45:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-833a4cf4-2916-4aab-82f1-6c93342d0f5a</node></data> 2023-06-20 22:45:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:45:09 | [Mutex] waiting for: [received:nodes:515236c3-0591-4ea5-be4b-4969eda1443e:localhost] 2023-06-20 22:45:09 | [Mutex] waiting for: [received:nodes:515236c3-0591-4ea5-be4b-4969eda1443e:localhost] 2023-06-20 22:45:09 | [Mutex] waiting for: [received:nodes:515236c3-0591-4ea5-be4b-4969eda1443e:localhost] 2023-06-20 22:45:09 | [Mutex] received everything. 2023-06-20 22:45:09 | [Mutex] isItemNotified: received:node:515236c3-0591-4ea5-be4b-4969eda1443e:localhost:node-833a4cf4-2916-4aab-82f1-6c93342d0f5a:Node 833a4cf4-2916-4aab-82f1-6c93342d0f5a :: false |
deleteSubnodes | 1.115s |
2023-06-20 22:45:07 |
2023-06-20 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:07 | ------------------------------------ 2023-06-20 22:45:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-79b601a3-9d88-4c46-8c39-fb5562be4331</node></data> 2023-06-20 22:45:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:45:08 | [Mutex] waiting for: [received:nodes:92976804-0f91-4866-aa6f-21cce78eb167:localhost] 2023-06-20 22:45:08 | [Mutex] waiting for: [received:nodes:92976804-0f91-4866-aa6f-21cce78eb167:localhost] 2023-06-20 22:45:08 | [Mutex] waiting for: [received:nodes:92976804-0f91-4866-aa6f-21cce78eb167:localhost] 2023-06-20 22:45:08 | [Mutex] received everything. 2023-06-20 22:45:08 | [Mutex] isItemNotified: received:node:92976804-0f91-4866-aa6f-21cce78eb167:localhost:node-79b601a3-9d88-4c46-8c39-fb5562be4331:Node 79b601a3-9d88-4c46-8c39-fb5562be4331 :: false 2023-06-20 22:45:08 | [Mutex] waiting for: [received:nodes:e84df3df-df35-46b7-9382-a956c0601300:localhost] 2023-06-20 22:45:08 | [Mutex] received everything. 2023-06-20 22:45:08 | [Mutex] isItemNotified: received:node:e84df3df-df35-46b7-9382-a956c0601300:localhost:node-79b601a3-9d88-4c46-8c39-fb5562be4331:Node 79b601a3-9d88-4c46-8c39-fb5562be4331 :: false |
publishItemsToNodes | 0.218s |
2023-06-20 22:45:05 |
2023-06-20 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:05 | ------------------------------------ 2023-06-20 22:45:05 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-79b601a3-9d88-4c46-8c39-fb5562be4331</node><item-id>item-2de2bfd4-413e-4cd2-a359-492946130b07</item-id><entry><test>item-2de2bfd4-413e-4cd2-a359-492946130b07</test></entry></data> 2023-06-20 22:45:05 | 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-2de2bfd4-413e-4cd2-a359-492946130b07</value></item-id></result> 2023-06-20 22:45:05 | [Mutex] waiting for: [published:item:notifieditem-2de2bfd4-413e-4cd2-a359-492946130b07:admin@test-domain.com] 2023-06-20 22:45:05 | [Mutex] received everything. 2023-06-20 22:45:05 | [Mutex] isItemNotified: published:item:notifieditem-2de2bfd4-413e-4cd2-a359-492946130b07:admin@test-domain.com :: true |
retractItemsFromNodes | 0.349s |
2023-06-20 22:45:06 |
2023-06-20 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:06 | ------------------------------------ 2023-06-20 22:45:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-79b601a3-9d88-4c46-8c39-fb5562be4331</node><item-id>item-2de2bfd4-413e-4cd2-a359-492946130b07</item-id></data> 2023-06-20 22:45:06 | 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-2de2bfd4-413e-4cd2-a359-492946130b07</value></item-id></result> 2023-06-20 22:45:06 | [Mutex] received everything. 2023-06-20 22:45:06 | [Mutex] isItemNotified: retracted:item:notifieditem-2de2bfd4-413e-4cd2-a359-492946130b07:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.283s |
2023-06-20 22:45:05 |
2023-06-20 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:05 | ------------------------------------ 2023-06-20 22:45:05 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-79b601a3-9d88-4c46-8c39-fb5562be4331</node><item-id>item-2de2bfd4-413e-4cd2-a359-492946130b07</item-id></data> 2023-06-20 22:45:05 | 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-79b601a3-9d88-4c46-8c39-fb5562be4331</value></node><item-id type="text-single" label="Item ID"><value>item-2de2bfd4-413e-4cd2-a359-492946130b07</value></item-id><item type="text-multi" label="Item"><value><item id="item-2de2bfd4-413e-4cd2-a359-492946130b07"><test>item-2de2bfd4-413e-4cd2-a359-492946130b07</test></item></value></item></result> 2023-06-20 22:45:05 | [Mutex] notify: [retrieved:item:item-2de2bfd4-413e-4cd2-a359-492946130b07:payload-matches:true:localhost] 2023-06-20 22:45:05 | [Mutex] received everything. 2023-06-20 22:45:05 | [Mutex] isItemNotified: retrieved:item:item-2de2bfd4-413e-4cd2-a359-492946130b07:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-06-20 22:45:05 |
2023-06-20 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:05 | ------------------------------------ 2023-06-20 22:45:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-06-20 22:45:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-79b601a3-9d88-4c46-8c39-fb5562be4331</value><value>node-833a4cf4-2916-4aab-82f1-6c93342d0f5a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.064s |
2023-06-20 22:45:05 |
2023-06-20 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:05 | ------------------------------------ 2023-06-20 22:45:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-79b601a3-9d88-4c46-8c39-fb5562be4331)</node-pattern></data> 2023-06-20 22:45:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.112s |
2023-06-20 22:45:04 |
2023-06-20 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:04 | ------------------------------------ 2023-06-20 22:45:04 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-79b601a3-9d88-4c46-8c39-fb5562be4331</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-20 22:45:04 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.128s |
2023-06-20 22:45:06 |
2023-06-20 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:45:06 | ------------------------------------ 2023-06-20 22:45:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-79b601a3-9d88-4c46-8c39-fb5562be4331</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-20 22:45:06 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |