Generated by TestNG with ReportNG at 22:01 PST on Sunday 06 February 2022
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.799s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.139s
2022-02-06 22:18:45 |

2022-02-06 22:18:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:45 | ------------------------------------

2022-02-06 22:18:45 | [Mutex] waiting for: [configured:node:node-891974ef-ffcf-447d-8b36-d87648563ba4:node-f1157e9d-99b9-4c06-ad67-6fc80d58be57]

2022-02-06 22:18:45 | [Mutex] received everything.

2022-02-06 22:18:45 | [Mutex] isItemNotified: configured:node:node-891974ef-ffcf-447d-8b36-d87648563ba4:node-f1157e9d-99b9-4c06-ad67-6fc80d58be57 :: true

2022-02-06 22:18:46 | [Mutex] waiting for: [received:nodes:2125d8f9-8979-466a-9a0e-6a8899798e8c:localhost]

2022-02-06 22:18:46 | [Mutex] received everything.

2022-02-06 22:18:46 | [Mutex] isItemNotified: received:node:2125d8f9-8979-466a-9a0e-6a8899798e8c:localhost:node-891974ef-ffcf-447d-8b36-d87648563ba4:Node 891974ef-ffcf-447d-8b36-d87648563ba4 :: true

2022-02-06 22:18:46 | [Mutex] waiting for: [received:nodes:dc22de2e-0876-4670-b2ab-34ed7cd641e3:localhost]

2022-02-06 22:18:46 | [Mutex] waiting for: [received:nodes:dc22de2e-0876-4670-b2ab-34ed7cd641e3:localhost]

2022-02-06 22:18:46 | [Mutex] received everything.

2022-02-06 22:18:46 | [Mutex] isItemNotified: received:node:dc22de2e-0876-4670-b2ab-34ed7cd641e3:localhost:node-891974ef-ffcf-447d-8b36-d87648563ba4:Node 891974ef-ffcf-447d-8b36-d87648563ba4 :: false

createNodes 1.663s
2022-02-06 22:18:43 |

2022-02-06 22:18:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:43 | ------------------------------------

2022-02-06 22:18:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-891974ef-ffcf-447d-8b36-d87648563ba4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 891974ef-ffcf-447d-8b36-d87648563ba4</title></pubsub></data>

2022-02-06 22:18:43 | 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 22:18:44 | [Mutex] waiting for: [received:nodes:92425a47-b3fd-4e02-96d0-e6e0f2bbe427:localhost]

2022-02-06 22:18:44 | [Mutex] received everything.

2022-02-06 22:18:44 | [Mutex] isItemNotified: received:node:92425a47-b3fd-4e02-96d0-e6e0f2bbe427:localhost:node-891974ef-ffcf-447d-8b36-d87648563ba4:Node 891974ef-ffcf-447d-8b36-d87648563ba4 :: true

createSubnodes 1.030s
2022-02-06 22:18:44 |

2022-02-06 22:18:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:44 | ------------------------------------

2022-02-06 22:18:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f1157e9d-99b9-4c06-ad67-6fc80d58be57</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f1157e9d-99b9-4c06-ad67-6fc80d58be57</title></pubsub></data>

2022-02-06 22:18:44 | 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 22:18:45 | [Mutex] waiting for: [received:nodes:bdc65aa9-3798-40a9-b06d-b0d313664b8e:localhost]

2022-02-06 22:18:45 | [Mutex] received everything.

2022-02-06 22:18:45 | [Mutex] isItemNotified: received:node:bdc65aa9-3798-40a9-b06d-b0d313664b8e:localhost:node-f1157e9d-99b9-4c06-ad67-6fc80d58be57:Node f1157e9d-99b9-4c06-ad67-6fc80d58be57 :: true

deleteNodes 1.021s
2022-02-06 22:18:51 |

2022-02-06 22:18:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:51 | ------------------------------------

2022-02-06 22:18:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f1157e9d-99b9-4c06-ad67-6fc80d58be57</node></data>

2022-02-06 22:18:51 | 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 22:18:52 | [Mutex] waiting for: [received:nodes:8e7aac84-3a72-4921-995e-07d9750cbc8b:localhost]

2022-02-06 22:18:52 | [Mutex] waiting for: [received:nodes:8e7aac84-3a72-4921-995e-07d9750cbc8b:localhost]

2022-02-06 22:18:52 | [Mutex] received everything.

2022-02-06 22:18:52 | [Mutex] isItemNotified: received:node:8e7aac84-3a72-4921-995e-07d9750cbc8b:localhost:node-f1157e9d-99b9-4c06-ad67-6fc80d58be57:Node f1157e9d-99b9-4c06-ad67-6fc80d58be57 :: false

deleteSubnodes 1.209s
2022-02-06 22:18:50 |

2022-02-06 22:18:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:50 | ------------------------------------

2022-02-06 22:18:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-891974ef-ffcf-447d-8b36-d87648563ba4</node></data>

2022-02-06 22:18:50 | 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 22:18:51 | [Mutex] waiting for: [received:nodes:f0ee5589-f7e8-4f26-aaa9-e18f5665393b:localhost]

2022-02-06 22:18:51 | [Mutex] received everything.

2022-02-06 22:18:51 | [Mutex] isItemNotified: received:node:f0ee5589-f7e8-4f26-aaa9-e18f5665393b:localhost:node-891974ef-ffcf-447d-8b36-d87648563ba4:Node 891974ef-ffcf-447d-8b36-d87648563ba4 :: false

2022-02-06 22:18:51 | [Mutex] waiting for: [received:nodes:7f6872cb-339a-4149-82f7-5093f11a1eeb:localhost]

2022-02-06 22:18:51 | [Mutex] received everything.

2022-02-06 22:18:51 | [Mutex] isItemNotified: received:node:7f6872cb-339a-4149-82f7-5093f11a1eeb:localhost:node-891974ef-ffcf-447d-8b36-d87648563ba4:Node 891974ef-ffcf-447d-8b36-d87648563ba4 :: false

publishItemsToNodes 0.313s
2022-02-06 22:18:48 |

2022-02-06 22:18:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:48 | ------------------------------------

2022-02-06 22:18:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-891974ef-ffcf-447d-8b36-d87648563ba4</node><item-id>item-0631f775-a357-4013-afa2-67c8edfbfeb1</item-id><entry><test>item-0631f775-a357-4013-afa2-67c8edfbfeb1</test></entry></data>

2022-02-06 22:18:48 | 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-0631f775-a357-4013-afa2-67c8edfbfeb1</value></item-id></result>

2022-02-06 22:18:48 | [Mutex] received everything.

2022-02-06 22:18:48 | [Mutex] isItemNotified: published:item:notifieditem-0631f775-a357-4013-afa2-67c8edfbfeb1:admin@test-domain.com :: true

retractItemsFromNodes 0.331s
2022-02-06 22:18:48 |

2022-02-06 22:18:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:48 | ------------------------------------

2022-02-06 22:18:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-891974ef-ffcf-447d-8b36-d87648563ba4</node><item-id>item-0631f775-a357-4013-afa2-67c8edfbfeb1</item-id></data>

2022-02-06 22:18:49 | 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-0631f775-a357-4013-afa2-67c8edfbfeb1</value></item-id></result>

2022-02-06 22:18:49 | [Mutex] received everything.

2022-02-06 22:18:49 | [Mutex] isItemNotified: retracted:item:notifieditem-0631f775-a357-4013-afa2-67c8edfbfeb1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.359s
2022-02-06 22:18:48 |

2022-02-06 22:18:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:48 | ------------------------------------

2022-02-06 22:18:48 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-891974ef-ffcf-447d-8b36-d87648563ba4</node><item-id>item-0631f775-a357-4013-afa2-67c8edfbfeb1</item-id></data>

2022-02-06 22:18:48 | 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-891974ef-ffcf-447d-8b36-d87648563ba4</value></node><item-id label="Item ID" type="text-single"><value>item-0631f775-a357-4013-afa2-67c8edfbfeb1</value></item-id><item label="Item" type="text-multi"><value><item id="item-0631f775-a357-4013-afa2-67c8edfbfeb1"><test>item-0631f775-a357-4013-afa2-67c8edfbfeb1</test></item></value></item></result>

2022-02-06 22:18:48 | [Mutex] notify: [retrieved:item:item-0631f775-a357-4013-afa2-67c8edfbfeb1:payload-matches:true:localhost]

2022-02-06 22:18:48 | [Mutex] received everything.

2022-02-06 22:18:48 | [Mutex] isItemNotified: retrieved:item:item-0631f775-a357-4013-afa2-67c8edfbfeb1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2022-02-06 22:18:48 |

2022-02-06 22:18:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:48 | ------------------------------------

2022-02-06 22:18:48 | 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 22:18:48 | 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-f1157e9d-99b9-4c06-ad67-6fc80d58be57</value><value>node-891974ef-ffcf-447d-8b36-d87648563ba4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2022-02-06 22:18:48 |

2022-02-06 22:18:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:48 | ------------------------------------

2022-02-06 22:18:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-891974ef-ffcf-447d-8b36-d87648563ba4)</node-pattern></data>

2022-02-06 22:18:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.221s
2022-02-06 22:18:46 |

2022-02-06 22:18:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:46 | ------------------------------------

2022-02-06 22:18:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-891974ef-ffcf-447d-8b36-d87648563ba4</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-06 22:18:47 | 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 22:18:49 |

2022-02-06 22:18:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 22:18:49 | ------------------------------------

2022-02-06 22:18:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-891974ef-ffcf-447d-8b36-d87648563ba4</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-06 22:18:49 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>