Test duration : 10.396s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2021-05-27 10:28:28 |
2021-05-27 10:28:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:28 | ------------------------------------ 2021-05-27 10:28:28 | [Mutex] waiting for: [configured:node:node-607844b7-e2f2-4c75-820d-38e59a61dd9c:node-0fdd7ded-2812-47f3-8716-b297922bfe81] 2021-05-27 10:28:28 | [Mutex] received everything. 2021-05-27 10:28:28 | [Mutex] isItemNotified: configured:node:node-607844b7-e2f2-4c75-820d-38e59a61dd9c:node-0fdd7ded-2812-47f3-8716-b297922bfe81 :: true 2021-05-27 10:28:29 | [Mutex] waiting for: [received:nodes:a357bdf4-1df7-4913-9a4d-dae043275229:localhost] 2021-05-27 10:28:29 | [Mutex] received everything. 2021-05-27 10:28:29 | [Mutex] isItemNotified: received:node:a357bdf4-1df7-4913-9a4d-dae043275229:localhost:node-607844b7-e2f2-4c75-820d-38e59a61dd9c:Node 607844b7-e2f2-4c75-820d-38e59a61dd9c :: true 2021-05-27 10:28:29 | [Mutex] waiting for: [received:nodes:8baf9c57-e2b8-405f-a59c-54651e764ccd:localhost] 2021-05-27 10:28:29 | [Mutex] waiting for: [received:nodes:8baf9c57-e2b8-405f-a59c-54651e764ccd:localhost] 2021-05-27 10:28:29 | [Mutex] waiting for: [received:nodes:8baf9c57-e2b8-405f-a59c-54651e764ccd:localhost] 2021-05-27 10:28:29 | [Mutex] waiting for: [received:nodes:8baf9c57-e2b8-405f-a59c-54651e764ccd:localhost] 2021-05-27 10:28:29 | [Mutex] received everything. 2021-05-27 10:28:29 | [Mutex] isItemNotified: received:node:8baf9c57-e2b8-405f-a59c-54651e764ccd:localhost:node-607844b7-e2f2-4c75-820d-38e59a61dd9c:Node 607844b7-e2f2-4c75-820d-38e59a61dd9c :: false |
createNodes | 1.535s |
2021-05-27 10:28:25 |
2021-05-27 10:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:25 | ------------------------------------ 2021-05-27 10:28:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-607844b7-e2f2-4c75-820d-38e59a61dd9c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 607844b7-e2f2-4c75-820d-38e59a61dd9c</title></pubsub></data> 2021-05-27 10:28:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 10:28:27 | [Mutex] waiting for: [received:nodes:d32bfe2a-acaa-4f2f-b6bf-278a63d36ae4:localhost] 2021-05-27 10:28:27 | [Mutex] received everything. 2021-05-27 10:28:27 | [Mutex] isItemNotified: received:node:d32bfe2a-acaa-4f2f-b6bf-278a63d36ae4:localhost:node-607844b7-e2f2-4c75-820d-38e59a61dd9c:Node 607844b7-e2f2-4c75-820d-38e59a61dd9c :: true |
createSubnodes | 1.026s |
2021-05-27 10:28:27 |
2021-05-27 10:28:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:27 | ------------------------------------ 2021-05-27 10:28:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0fdd7ded-2812-47f3-8716-b297922bfe81</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0fdd7ded-2812-47f3-8716-b297922bfe81</title></pubsub></data> 2021-05-27 10:28:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 10:28:28 | [Mutex] waiting for: [received:nodes:b436d3c7-a8a3-4ab4-a66b-7716c9ca31fe:localhost] 2021-05-27 10:28:28 | [Mutex] received everything. 2021-05-27 10:28:28 | [Mutex] isItemNotified: received:node:b436d3c7-a8a3-4ab4-a66b-7716c9ca31fe:localhost:node-0fdd7ded-2812-47f3-8716-b297922bfe81:Node 0fdd7ded-2812-47f3-8716-b297922bfe81 :: true |
deleteNodes | 1.018s |
2021-05-27 10:28:34 |
2021-05-27 10:28:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:34 | ------------------------------------ 2021-05-27 10:28:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0fdd7ded-2812-47f3-8716-b297922bfe81</node></data> 2021-05-27 10:28:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 10:28:35 | [Mutex] waiting for: [received:nodes:127a48e4-5797-4751-8484-456f4ce84530:localhost] 2021-05-27 10:28:35 | [Mutex] received everything. 2021-05-27 10:28:35 | [Mutex] isItemNotified: received:node:127a48e4-5797-4751-8484-456f4ce84530:localhost:node-0fdd7ded-2812-47f3-8716-b297922bfe81:Node 0fdd7ded-2812-47f3-8716-b297922bfe81 :: false |
deleteSubnodes | 1.191s |
2021-05-27 10:28:33 |
2021-05-27 10:28:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:33 | ------------------------------------ 2021-05-27 10:28:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-607844b7-e2f2-4c75-820d-38e59a61dd9c</node></data> 2021-05-27 10:28:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 10:28:34 | [Mutex] waiting for: [received:nodes:06ba9ec7-4668-404a-9b27-b3b67840ad82:localhost] 2021-05-27 10:28:34 | [Mutex] received everything. 2021-05-27 10:28:34 | [Mutex] isItemNotified: received:node:06ba9ec7-4668-404a-9b27-b3b67840ad82:localhost:node-607844b7-e2f2-4c75-820d-38e59a61dd9c:Node 607844b7-e2f2-4c75-820d-38e59a61dd9c :: false 2021-05-27 10:28:34 | [Mutex] waiting for: [received:nodes:585e6568-bb19-4c39-8a4d-a24bbb8faf07:localhost] 2021-05-27 10:28:34 | [Mutex] received everything. 2021-05-27 10:28:34 | [Mutex] isItemNotified: received:node:585e6568-bb19-4c39-8a4d-a24bbb8faf07:localhost:node-607844b7-e2f2-4c75-820d-38e59a61dd9c:Node 607844b7-e2f2-4c75-820d-38e59a61dd9c :: false |
publishItemsToNodes | 0.247s |
2021-05-27 10:28:30 |
2021-05-27 10:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:30 | ------------------------------------ 2021-05-27 10:28:30 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-607844b7-e2f2-4c75-820d-38e59a61dd9c</node><item-id>item-e9e42f98-ddb8-43ed-a182-df549647b479</item-id><entry><test>item-e9e42f98-ddb8-43ed-a182-df549647b479</test></entry></data> 2021-05-27 10:28:30 | 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-e9e42f98-ddb8-43ed-a182-df549647b479</value></item-id></result> 2021-05-27 10:28:30 | [Mutex] received everything. 2021-05-27 10:28:30 | [Mutex] isItemNotified: published:item:notifieditem-e9e42f98-ddb8-43ed-a182-df549647b479:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2021-05-27 10:28:31 |
2021-05-27 10:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:31 | ------------------------------------ 2021-05-27 10:28:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-607844b7-e2f2-4c75-820d-38e59a61dd9c</node><item-id>item-e9e42f98-ddb8-43ed-a182-df549647b479</item-id></data> 2021-05-27 10:28:31 | 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-e9e42f98-ddb8-43ed-a182-df549647b479</value></item-id></result> 2021-05-27 10:28:31 | [Mutex] waiting for: [retracted:item:notifieditem-e9e42f98-ddb8-43ed-a182-df549647b479:admin@test-domain.com] 2021-05-27 10:28:31 | [Mutex] received everything. 2021-05-27 10:28:31 | [Mutex] isItemNotified: retracted:item:notifieditem-e9e42f98-ddb8-43ed-a182-df549647b479:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.407s |
2021-05-27 10:28:30 |
2021-05-27 10:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:30 | ------------------------------------ 2021-05-27 10:28:30 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-607844b7-e2f2-4c75-820d-38e59a61dd9c</node><item-id>item-e9e42f98-ddb8-43ed-a182-df549647b479</item-id></data> 2021-05-27 10:28:31 | 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-607844b7-e2f2-4c75-820d-38e59a61dd9c</value></node><item-id type="text-single" label="Item ID"><value>item-e9e42f98-ddb8-43ed-a182-df549647b479</value></item-id><item type="text-multi" label="Item"><value><item id="item-e9e42f98-ddb8-43ed-a182-df549647b479"><test>item-e9e42f98-ddb8-43ed-a182-df549647b479</test></item></value></item></result> 2021-05-27 10:28:31 | [Mutex] notify: [retrieved:item:item-e9e42f98-ddb8-43ed-a182-df549647b479:payload-matches:true:localhost] 2021-05-27 10:28:31 | [Mutex] received everything. 2021-05-27 10:28:31 | [Mutex] isItemNotified: retrieved:item:item-e9e42f98-ddb8-43ed-a182-df549647b479:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-05-27 10:28:31 |
2021-05-27 10:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:31 | ------------------------------------ 2021-05-27 10:28:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-27 10:28:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-0fdd7ded-2812-47f3-8716-b297922bfe81</value><value>test</value><value>node-607844b7-e2f2-4c75-820d-38e59a61dd9c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.056s |
2021-05-27 10:28:31 |
2021-05-27 10:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:31 | ------------------------------------ 2021-05-27 10:28:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-607844b7-e2f2-4c75-820d-38e59a61dd9c)</node-pattern></data> 2021-05-27 10:28:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.148s |
2021-05-27 10:28:29 |
2021-05-27 10:28:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:29 | ------------------------------------ 2021-05-27 10:28:29 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-607844b7-e2f2-4c75-820d-38e59a61dd9c</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-27 10:28:29 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.307s |
2021-05-27 10:28:31 |
2021-05-27 10:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 10:28:31 | ------------------------------------ 2021-05-27 10:28:31 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-607844b7-e2f2-4c75-820d-38e59a61dd9c</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-27 10:28:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |