Test duration : 10.244s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.162s |
2022-02-06 21:49:08 |
2022-02-06 21:49:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:08 | ------------------------------------ 2022-02-06 21:49:08 | [Mutex] waiting for: [configured:node:node-91d22628-0b66-41c9-9c61-d4b46c5d58fa:node-e1ac30ac-6e5f-46c1-8779-ba990cca61d3] 2022-02-06 21:49:08 | [Mutex] received everything. 2022-02-06 21:49:08 | [Mutex] isItemNotified: configured:node:node-91d22628-0b66-41c9-9c61-d4b46c5d58fa:node-e1ac30ac-6e5f-46c1-8779-ba990cca61d3 :: true 2022-02-06 21:49:09 | [Mutex] waiting for: [received:nodes:8284c520-d1bf-49b0-ace8-cbae477faa15:localhost] 2022-02-06 21:49:09 | [Mutex] received everything. 2022-02-06 21:49:09 | [Mutex] isItemNotified: received:node:8284c520-d1bf-49b0-ace8-cbae477faa15:localhost:node-91d22628-0b66-41c9-9c61-d4b46c5d58fa:Node 91d22628-0b66-41c9-9c61-d4b46c5d58fa :: true 2022-02-06 21:49:09 | [Mutex] waiting for: [received:nodes:d831a9c2-e392-421b-a7ea-5400d3766b51:localhost] 2022-02-06 21:49:09 | [Mutex] waiting for: [received:nodes:d831a9c2-e392-421b-a7ea-5400d3766b51:localhost] 2022-02-06 21:49:09 | [Mutex] received everything. 2022-02-06 21:49:09 | [Mutex] isItemNotified: received:node:d831a9c2-e392-421b-a7ea-5400d3766b51:localhost:node-91d22628-0b66-41c9-9c61-d4b46c5d58fa:Node 91d22628-0b66-41c9-9c61-d4b46c5d58fa :: false |
createNodes | 1.477s |
2022-02-06 21:49:06 |
2022-02-06 21:49:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:06 | ------------------------------------ 2022-02-06 21:49:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-91d22628-0b66-41c9-9c61-d4b46c5d58fa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 91d22628-0b66-41c9-9c61-d4b46c5d58fa</title></pubsub></data> 2022-02-06 21:49:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-06 21:49:07 | [Mutex] waiting for: [received:nodes:e0fd0166-55a4-4224-b44b-bf261da8c977:localhost] 2022-02-06 21:49:07 | [Mutex] received everything. 2022-02-06 21:49:07 | [Mutex] isItemNotified: received:node:e0fd0166-55a4-4224-b44b-bf261da8c977:localhost:node-91d22628-0b66-41c9-9c61-d4b46c5d58fa:Node 91d22628-0b66-41c9-9c61-d4b46c5d58fa :: true |
createSubnodes | 1.029s |
2022-02-06 21:49:07 |
2022-02-06 21:49:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:07 | ------------------------------------ 2022-02-06 21:49:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e1ac30ac-6e5f-46c1-8779-ba990cca61d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e1ac30ac-6e5f-46c1-8779-ba990cca61d3</title></pubsub></data> 2022-02-06 21:49:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-06 21:49:08 | [Mutex] waiting for: [received:nodes:a8f6cd08-e0d1-4d4c-9018-771ee2f4dea0:localhost] 2022-02-06 21:49:08 | [Mutex] received everything. 2022-02-06 21:49:08 | [Mutex] isItemNotified: received:node:a8f6cd08-e0d1-4d4c-9018-771ee2f4dea0:localhost:node-e1ac30ac-6e5f-46c1-8779-ba990cca61d3:Node e1ac30ac-6e5f-46c1-8779-ba990cca61d3 :: true |
deleteNodes | 1.023s |
2022-02-06 21:49:14 |
2022-02-06 21:49:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:14 | ------------------------------------ 2022-02-06 21:49:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e1ac30ac-6e5f-46c1-8779-ba990cca61d3</node></data> 2022-02-06 21:49:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-06 21:49:15 | [Mutex] waiting for: [received:nodes:991a5844-db13-4a5d-94af-172ddb89b8be:localhost] 2022-02-06 21:49:15 | [Mutex] waiting for: [received:nodes:991a5844-db13-4a5d-94af-172ddb89b8be:localhost] 2022-02-06 21:49:15 | [Mutex] received everything. 2022-02-06 21:49:15 | [Mutex] isItemNotified: received:node:991a5844-db13-4a5d-94af-172ddb89b8be:localhost:node-e1ac30ac-6e5f-46c1-8779-ba990cca61d3:Node e1ac30ac-6e5f-46c1-8779-ba990cca61d3 :: false |
deleteSubnodes | 1.157s |
2022-02-06 21:49:13 |
2022-02-06 21:49:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:13 | ------------------------------------ 2022-02-06 21:49:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-91d22628-0b66-41c9-9c61-d4b46c5d58fa</node></data> 2022-02-06 21:49:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-06 21:49:14 | [Mutex] waiting for: [received:nodes:90e5a465-246b-425d-a966-2a986ddfbb0c:localhost] 2022-02-06 21:49:14 | [Mutex] waiting for: [received:nodes:90e5a465-246b-425d-a966-2a986ddfbb0c:localhost] 2022-02-06 21:49:14 | [Mutex] received everything. 2022-02-06 21:49:14 | [Mutex] isItemNotified: received:node:90e5a465-246b-425d-a966-2a986ddfbb0c:localhost:node-91d22628-0b66-41c9-9c61-d4b46c5d58fa:Node 91d22628-0b66-41c9-9c61-d4b46c5d58fa :: false 2022-02-06 21:49:14 | [Mutex] waiting for: [received:nodes:187b845c-7f82-4478-a611-6a8490f42c75:localhost] 2022-02-06 21:49:14 | [Mutex] received everything. 2022-02-06 21:49:14 | [Mutex] isItemNotified: received:node:187b845c-7f82-4478-a611-6a8490f42c75:localhost:node-91d22628-0b66-41c9-9c61-d4b46c5d58fa:Node 91d22628-0b66-41c9-9c61-d4b46c5d58fa :: false |
publishItemsToNodes | 0.259s |
2022-02-06 21:49:11 |
2022-02-06 21:49:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:11 | ------------------------------------ 2022-02-06 21:49:11 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-91d22628-0b66-41c9-9c61-d4b46c5d58fa</node><item-id>item-3b3ffa4c-407e-4b5d-961c-a5e0c593736d</item-id><entry><test>item-3b3ffa4c-407e-4b5d-961c-a5e0c593736d</test></entry></data> 2022-02-06 21:49:11 | 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-3b3ffa4c-407e-4b5d-961c-a5e0c593736d</value></item-id></result> 2022-02-06 21:49:11 | [Mutex] received everything. 2022-02-06 21:49:11 | [Mutex] isItemNotified: published:item:notifieditem-3b3ffa4c-407e-4b5d-961c-a5e0c593736d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.455s |
2022-02-06 21:49:11 |
2022-02-06 21:49:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:11 | ------------------------------------ 2022-02-06 21:49:11 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-91d22628-0b66-41c9-9c61-d4b46c5d58fa</node><item-id>item-3b3ffa4c-407e-4b5d-961c-a5e0c593736d</item-id></data> 2022-02-06 21:49:12 | 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-3b3ffa4c-407e-4b5d-961c-a5e0c593736d</value></item-id></result> 2022-02-06 21:49:12 | [Mutex] received everything. 2022-02-06 21:49:12 | [Mutex] isItemNotified: retracted:item:notifieditem-3b3ffa4c-407e-4b5d-961c-a5e0c593736d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.266s |
2022-02-06 21:49:11 |
2022-02-06 21:49:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:11 | ------------------------------------ 2022-02-06 21:49:11 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-91d22628-0b66-41c9-9c61-d4b46c5d58fa</node><item-id>item-3b3ffa4c-407e-4b5d-961c-a5e0c593736d</item-id></data> 2022-02-06 21:49:11 | 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-91d22628-0b66-41c9-9c61-d4b46c5d58fa</value></node><item-id type="text-single" label="Item ID"><value>item-3b3ffa4c-407e-4b5d-961c-a5e0c593736d</value></item-id><item type="text-multi" label="Item"><value><item id="item-3b3ffa4c-407e-4b5d-961c-a5e0c593736d"><test>item-3b3ffa4c-407e-4b5d-961c-a5e0c593736d</test></item></value></item></result> 2022-02-06 21:49:11 | [Mutex] notify: [retrieved:item:item-3b3ffa4c-407e-4b5d-961c-a5e0c593736d:payload-matches:true:localhost] 2022-02-06 21:49:11 | [Mutex] received everything. 2022-02-06 21:49:11 | [Mutex] isItemNotified: retrieved:item:item-3b3ffa4c-407e-4b5d-961c-a5e0c593736d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.063s |
2022-02-06 21:49:11 |
2022-02-06 21:49:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:11 | ------------------------------------ 2022-02-06 21:49:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-06 21:49:11 | 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-91d22628-0b66-41c9-9c61-d4b46c5d58fa</value><value>node-e1ac30ac-6e5f-46c1-8779-ba990cca61d3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-02-06 21:49:11 |
2022-02-06 21:49:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:11 | ------------------------------------ 2022-02-06 21:49:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-91d22628-0b66-41c9-9c61-d4b46c5d58fa)</node-pattern></data> 2022-02-06 21:49:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.146s |
2022-02-06 21:49:09 |
2022-02-06 21:49:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:09 | ------------------------------------ 2022-02-06 21:49:09 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-91d22628-0b66-41c9-9c61-d4b46c5d58fa</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-06 21:49:10 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.311s |
2022-02-06 21:49:12 |
2022-02-06 21:49:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-06 21:49:12 | ------------------------------------ 2022-02-06 21:49:12 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-91d22628-0b66-41c9-9c61-d4b46c5d58fa</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-06 21:49:12 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |