Generated by TestNG with ReportNG at 22:20 PDT on Sunday 03 October 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.402s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.122s
2021-10-03 22:33:49 |

2021-10-03 22:33:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:49 | ------------------------------------

2021-10-03 22:33:49 | [Mutex] waiting for: [configured:node:node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e:node-7308b6f1-8e64-495d-a59b-4d883afbf4d4]

2021-10-03 22:33:49 | [Mutex] received everything.

2021-10-03 22:33:49 | [Mutex] isItemNotified: configured:node:node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e:node-7308b6f1-8e64-495d-a59b-4d883afbf4d4 :: true

2021-10-03 22:33:50 | [Mutex] waiting for: [received:nodes:19d21480-74ca-4bac-b529-b6b01a9a7f63:localhost]

2021-10-03 22:33:50 | [Mutex] received everything.

2021-10-03 22:33:50 | [Mutex] isItemNotified: received:node:19d21480-74ca-4bac-b529-b6b01a9a7f63:localhost:node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e:Node b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e :: true

2021-10-03 22:33:50 | [Mutex] waiting for: [received:nodes:bf179858-c583-4533-a17a-e9ea4f4d2b81:localhost]

2021-10-03 22:33:50 | [Mutex] waiting for: [received:nodes:bf179858-c583-4533-a17a-e9ea4f4d2b81:localhost]

2021-10-03 22:33:50 | [Mutex] received everything.

2021-10-03 22:33:50 | [Mutex] isItemNotified: received:node:bf179858-c583-4533-a17a-e9ea4f4d2b81:localhost:node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e:Node b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e :: false

createNodes 1.548s
2021-10-03 22:33:47 |

2021-10-03 22:33:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:47 | ------------------------------------

2021-10-03 22:33:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e</title></pubsub></data>

2021-10-03 22:33:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-03 22:33:48 | [Mutex] waiting for: [received:nodes:b861e71b-7ba5-42f0-a336-365b4bcadbad:localhost]

2021-10-03 22:33:48 | [Mutex] received everything.

2021-10-03 22:33:48 | [Mutex] isItemNotified: received:node:b861e71b-7ba5-42f0-a336-365b4bcadbad:localhost:node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e:Node b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e :: true

createSubnodes 1.033s
2021-10-03 22:33:48 |

2021-10-03 22:33:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:48 | ------------------------------------

2021-10-03 22:33:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7308b6f1-8e64-495d-a59b-4d883afbf4d4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7308b6f1-8e64-495d-a59b-4d883afbf4d4</title></pubsub></data>

2021-10-03 22:33:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-03 22:33:49 | [Mutex] waiting for: [received:nodes:9776e136-0add-4aa9-bdcc-eb5c24467448:localhost]

2021-10-03 22:33:49 | [Mutex] received everything.

2021-10-03 22:33:49 | [Mutex] isItemNotified: received:node:9776e136-0add-4aa9-bdcc-eb5c24467448:localhost:node-7308b6f1-8e64-495d-a59b-4d883afbf4d4:Node 7308b6f1-8e64-495d-a59b-4d883afbf4d4 :: true

deleteNodes 1.021s
2021-10-03 22:33:55 |

2021-10-03 22:33:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:55 | ------------------------------------

2021-10-03 22:33:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7308b6f1-8e64-495d-a59b-4d883afbf4d4</node></data>

2021-10-03 22:33:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-03 22:33:56 | [Mutex] waiting for: [received:nodes:c9bec30a-39ef-4a4e-a774-0214dab79a54:localhost]

2021-10-03 22:33:56 | [Mutex] waiting for: [received:nodes:c9bec30a-39ef-4a4e-a774-0214dab79a54:localhost]

2021-10-03 22:33:56 | [Mutex] received everything.

2021-10-03 22:33:56 | [Mutex] isItemNotified: received:node:c9bec30a-39ef-4a4e-a774-0214dab79a54:localhost:node-7308b6f1-8e64-495d-a59b-4d883afbf4d4:Node 7308b6f1-8e64-495d-a59b-4d883afbf4d4 :: false

deleteSubnodes 1.158s
2021-10-03 22:33:54 |

2021-10-03 22:33:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:54 | ------------------------------------

2021-10-03 22:33:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e</node></data>

2021-10-03 22:33:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-03 22:33:55 | [Mutex] waiting for: [received:nodes:a33ad1d2-3fba-4dd4-93ca-7fe8c32b04c3:localhost]

2021-10-03 22:33:55 | [Mutex] received everything.

2021-10-03 22:33:55 | [Mutex] isItemNotified: received:node:a33ad1d2-3fba-4dd4-93ca-7fe8c32b04c3:localhost:node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e:Node b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e :: false

2021-10-03 22:33:55 | [Mutex] waiting for: [received:nodes:8c173143-7abe-424c-b0c5-ff82c5746bbd:localhost]

2021-10-03 22:33:55 | [Mutex] received everything.

2021-10-03 22:33:55 | [Mutex] isItemNotified: received:node:8c173143-7abe-424c-b0c5-ff82c5746bbd:localhost:node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e:Node b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e :: false

publishItemsToNodes 0.324s
2021-10-03 22:33:52 |

2021-10-03 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:52 | ------------------------------------

2021-10-03 22:33:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e</node><item-id>item-e978aeba-e296-4877-a350-9eaef4e68cbb</item-id><entry><test>item-e978aeba-e296-4877-a350-9eaef4e68cbb</test></entry></data>

2021-10-03 22:33:52 | 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-e978aeba-e296-4877-a350-9eaef4e68cbb</value></item-id></result>

2021-10-03 22:33:52 | [Mutex] waiting for: [published:item:notifieditem-e978aeba-e296-4877-a350-9eaef4e68cbb:admin@test-domain.com]

2021-10-03 22:33:52 | [Mutex] received everything.

2021-10-03 22:33:52 | [Mutex] isItemNotified: published:item:notifieditem-e978aeba-e296-4877-a350-9eaef4e68cbb:admin@test-domain.com :: true

retractItemsFromNodes 0.288s
2021-10-03 22:33:52 |

2021-10-03 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:52 | ------------------------------------

2021-10-03 22:33:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e</node><item-id>item-e978aeba-e296-4877-a350-9eaef4e68cbb</item-id></data>

2021-10-03 22:33:53 | 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-e978aeba-e296-4877-a350-9eaef4e68cbb</value></item-id></result>

2021-10-03 22:33:53 | [Mutex] waiting for: [retracted:item:notifieditem-e978aeba-e296-4877-a350-9eaef4e68cbb:admin@test-domain.com]

2021-10-03 22:33:53 | [Mutex] received everything.

2021-10-03 22:33:53 | [Mutex] isItemNotified: retracted:item:notifieditem-e978aeba-e296-4877-a350-9eaef4e68cbb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.283s
2021-10-03 22:33:52 |

2021-10-03 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:52 | ------------------------------------

2021-10-03 22:33:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e</node><item-id>item-e978aeba-e296-4877-a350-9eaef4e68cbb</item-id></data>

2021-10-03 22:33:52 | 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-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e</value></node><item-id type="text-single" label="Item ID"><value>item-e978aeba-e296-4877-a350-9eaef4e68cbb</value></item-id><item type="text-multi" label="Item"><value><item id="item-e978aeba-e296-4877-a350-9eaef4e68cbb"><test>item-e978aeba-e296-4877-a350-9eaef4e68cbb</test></item></value></item></result>

2021-10-03 22:33:52 | [Mutex] notify: [retrieved:item:item-e978aeba-e296-4877-a350-9eaef4e68cbb:payload-matches:true:localhost]

2021-10-03 22:33:52 | [Mutex] received everything.

2021-10-03 22:33:52 | [Mutex] isItemNotified: retrieved:item:item-e978aeba-e296-4877-a350-9eaef4e68cbb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2021-10-03 22:33:52 |

2021-10-03 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:52 | ------------------------------------

2021-10-03 22:33:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-10-03 22:33:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e</value><value>node-7308b6f1-8e64-495d-a59b-4d883afbf4d4</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-10-03 22:33:52 |

2021-10-03 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:52 | ------------------------------------

2021-10-03 22:33:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e)</node-pattern></data>

2021-10-03 22:33:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.140s
2021-10-03 22:33:50 |

2021-10-03 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:50 | ------------------------------------

2021-10-03 22:33:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-03 22:33:51 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.410s
2021-10-03 22:33:53 |

2021-10-03 22:33:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:33:53 | ------------------------------------

2021-10-03 22:33:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b40c5dc1-465d-4dd1-b9f3-c8a3bbab3e1e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-03 22:33:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>