Generated by TestNG with ReportNG at 22:23 PDT on Thursday 26 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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 : 9.618s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-05-26 22:38:22 |

2022-05-26 22:38:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:22 | ------------------------------------

2022-05-26 22:38:22 | [Mutex] waiting for: [configured:node:node-5fdc02ad-73c2-43d4-8822-778ef902ae4e:node-65f83807-400e-4545-be75-d2082f1874ea]

2022-05-26 22:38:22 | [Mutex] received everything.

2022-05-26 22:38:22 | [Mutex] isItemNotified: configured:node:node-5fdc02ad-73c2-43d4-8822-778ef902ae4e:node-65f83807-400e-4545-be75-d2082f1874ea :: true

2022-05-26 22:38:23 | [Mutex] waiting for: [received:nodes:97fdb1d5-b4b1-465e-96af-99504efa3c7a:localhost]

2022-05-26 22:38:23 | [Mutex] received everything.

2022-05-26 22:38:23 | [Mutex] isItemNotified: received:node:97fdb1d5-b4b1-465e-96af-99504efa3c7a:localhost:node-5fdc02ad-73c2-43d4-8822-778ef902ae4e:Node 5fdc02ad-73c2-43d4-8822-778ef902ae4e :: true

2022-05-26 22:38:23 | [Mutex] waiting for: [received:nodes:b3be7a46-8ffe-4ff7-a41d-91fa1c7b2952:localhost]

2022-05-26 22:38:23 | [Mutex] waiting for: [received:nodes:b3be7a46-8ffe-4ff7-a41d-91fa1c7b2952:localhost]

2022-05-26 22:38:23 | [Mutex] received everything.

2022-05-26 22:38:23 | [Mutex] isItemNotified: received:node:b3be7a46-8ffe-4ff7-a41d-91fa1c7b2952:localhost:node-5fdc02ad-73c2-43d4-8822-778ef902ae4e:Node 5fdc02ad-73c2-43d4-8822-778ef902ae4e :: false

createNodes 1.495s
2022-05-26 22:38:20 |

2022-05-26 22:38:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:20 | ------------------------------------

2022-05-26 22:38:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5fdc02ad-73c2-43d4-8822-778ef902ae4e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5fdc02ad-73c2-43d4-8822-778ef902ae4e</title></pubsub></data>

2022-05-26 22:38:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-26 22:38:21 | [Mutex] waiting for: [received:nodes:d65f6136-1aeb-4a6c-a082-938b6fd5d34f:localhost]

2022-05-26 22:38:21 | [Mutex] received everything.

2022-05-26 22:38:21 | [Mutex] isItemNotified: received:node:d65f6136-1aeb-4a6c-a082-938b6fd5d34f:localhost:node-5fdc02ad-73c2-43d4-8822-778ef902ae4e:Node 5fdc02ad-73c2-43d4-8822-778ef902ae4e :: true

createSubnodes 1.025s
2022-05-26 22:38:21 |

2022-05-26 22:38:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:21 | ------------------------------------

2022-05-26 22:38:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-65f83807-400e-4545-be75-d2082f1874ea</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 65f83807-400e-4545-be75-d2082f1874ea</title></pubsub></data>

2022-05-26 22:38:21 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-26 22:38:22 | [Mutex] waiting for: [received:nodes:e80e7c70-4679-4af5-ad30-96217ba43690:localhost]

2022-05-26 22:38:22 | [Mutex] waiting for: [received:nodes:e80e7c70-4679-4af5-ad30-96217ba43690:localhost]

2022-05-26 22:38:22 | [Mutex] received everything.

2022-05-26 22:38:22 | [Mutex] isItemNotified: received:node:e80e7c70-4679-4af5-ad30-96217ba43690:localhost:node-65f83807-400e-4545-be75-d2082f1874ea:Node 65f83807-400e-4545-be75-d2082f1874ea :: true

deleteNodes 1.017s
2022-05-26 22:38:28 |

2022-05-26 22:38:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:28 | ------------------------------------

2022-05-26 22:38:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-65f83807-400e-4545-be75-d2082f1874ea</node></data>

2022-05-26 22:38:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-26 22:38:29 | [Mutex] waiting for: [received:nodes:46a67edf-4a80-4333-8f90-1cbdb3df5b9c:localhost]

2022-05-26 22:38:29 | [Mutex] waiting for: [received:nodes:46a67edf-4a80-4333-8f90-1cbdb3df5b9c:localhost]

2022-05-26 22:38:29 | [Mutex] received everything.

2022-05-26 22:38:29 | [Mutex] isItemNotified: received:node:46a67edf-4a80-4333-8f90-1cbdb3df5b9c:localhost:node-65f83807-400e-4545-be75-d2082f1874ea:Node 65f83807-400e-4545-be75-d2082f1874ea :: false

deleteSubnodes 1.123s
2022-05-26 22:38:27 |

2022-05-26 22:38:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:27 | ------------------------------------

2022-05-26 22:38:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5fdc02ad-73c2-43d4-8822-778ef902ae4e</node></data>

2022-05-26 22:38:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-26 22:38:28 | [Mutex] waiting for: [received:nodes:facad571-a849-4569-ac66-a1b258d7fc89:localhost]

2022-05-26 22:38:28 | [Mutex] received everything.

2022-05-26 22:38:28 | [Mutex] isItemNotified: received:node:facad571-a849-4569-ac66-a1b258d7fc89:localhost:node-5fdc02ad-73c2-43d4-8822-778ef902ae4e:Node 5fdc02ad-73c2-43d4-8822-778ef902ae4e :: false

2022-05-26 22:38:28 | [Mutex] waiting for: [received:nodes:2b26ac3f-6294-4f77-92c0-14e543326289:localhost]

2022-05-26 22:38:28 | [Mutex] received everything.

2022-05-26 22:38:28 | [Mutex] isItemNotified: received:node:2b26ac3f-6294-4f77-92c0-14e543326289:localhost:node-5fdc02ad-73c2-43d4-8822-778ef902ae4e:Node 5fdc02ad-73c2-43d4-8822-778ef902ae4e :: false

publishItemsToNodes 0.299s
2022-05-26 22:38:25 |

2022-05-26 22:38:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:25 | ------------------------------------

2022-05-26 22:38:25 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5fdc02ad-73c2-43d4-8822-778ef902ae4e</node><item-id>item-3f15786c-eef3-4906-9002-fcaa0de510b2</item-id><entry><test>item-3f15786c-eef3-4906-9002-fcaa0de510b2</test></entry></data>

2022-05-26 22:38:25 | 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-3f15786c-eef3-4906-9002-fcaa0de510b2</value></item-id></result>

2022-05-26 22:38:25 | [Mutex] waiting for: [published:item:notifieditem-3f15786c-eef3-4906-9002-fcaa0de510b2:admin@test-domain.com]

2022-05-26 22:38:25 | [Mutex] received everything.

2022-05-26 22:38:25 | [Mutex] isItemNotified: published:item:notifieditem-3f15786c-eef3-4906-9002-fcaa0de510b2:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-05-26 22:38:25 |

2022-05-26 22:38:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:25 | ------------------------------------

2022-05-26 22:38:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5fdc02ad-73c2-43d4-8822-778ef902ae4e</node><item-id>item-3f15786c-eef3-4906-9002-fcaa0de510b2</item-id></data>

2022-05-26 22:38:25 | 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-3f15786c-eef3-4906-9002-fcaa0de510b2</value></item-id></result>

2022-05-26 22:38:25 | [Mutex] received everything.

2022-05-26 22:38:25 | [Mutex] isItemNotified: retracted:item:notifieditem-3f15786c-eef3-4906-9002-fcaa0de510b2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.220s
2022-05-26 22:38:25 |

2022-05-26 22:38:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:25 | ------------------------------------

2022-05-26 22:38:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5fdc02ad-73c2-43d4-8822-778ef902ae4e</node><item-id>item-3f15786c-eef3-4906-9002-fcaa0de510b2</item-id></data>

2022-05-26 22:38:25 | 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-5fdc02ad-73c2-43d4-8822-778ef902ae4e</value></node><item-id label="Item ID" type="text-single"><value>item-3f15786c-eef3-4906-9002-fcaa0de510b2</value></item-id><item label="Item" type="text-multi"><value><item id="item-3f15786c-eef3-4906-9002-fcaa0de510b2"><test>item-3f15786c-eef3-4906-9002-fcaa0de510b2</test></item></value></item></result>

2022-05-26 22:38:25 | [Mutex] notify: [retrieved:item:item-3f15786c-eef3-4906-9002-fcaa0de510b2:payload-matches:true:localhost]

2022-05-26 22:38:25 | [Mutex] received everything.

2022-05-26 22:38:25 | [Mutex] isItemNotified: retrieved:item:item-3f15786c-eef3-4906-9002-fcaa0de510b2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-26 22:38:25 |

2022-05-26 22:38:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:25 | ------------------------------------

2022-05-26 22:38:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-26 22:38:25 | 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-5fdc02ad-73c2-43d4-8822-778ef902ae4e</value><value>node-65f83807-400e-4545-be75-d2082f1874ea</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-26 22:38:25 |

2022-05-26 22:38:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:25 | ------------------------------------

2022-05-26 22:38:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5fdc02ad-73c2-43d4-8822-778ef902ae4e)</node-pattern></data>

2022-05-26 22:38:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.111s
2022-05-26 22:38:23 |

2022-05-26 22:38:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:23 | ------------------------------------

2022-05-26 22:38:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5fdc02ad-73c2-43d4-8822-778ef902ae4e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-26 22:38:24 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.179s
2022-05-26 22:38:25 |

2022-05-26 22:38:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:38:25 | ------------------------------------

2022-05-26 22:38:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5fdc02ad-73c2-43d4-8822-778ef902ae4e</node><jids><value>admin@test-domain.com</value></jids></data>

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