Generated by TestNG with ReportNG at 22:48 PDT on Thursday 18 August 2022
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.546s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2022-08-18 23:03:06 |

2022-08-18 23:03:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:06 | ------------------------------------

2022-08-18 23:03:06 | [Mutex] waiting for: [configured:node:node-4e38a76b-c692-4cca-bd87-3f0db17a9d69:node-d447817f-38f7-41e3-b817-d42b7542cf49]

2022-08-18 23:03:06 | [Mutex] received everything.

2022-08-18 23:03:06 | [Mutex] isItemNotified: configured:node:node-4e38a76b-c692-4cca-bd87-3f0db17a9d69:node-d447817f-38f7-41e3-b817-d42b7542cf49 :: true

2022-08-18 23:03:07 | [Mutex] waiting for: [received:nodes:180c1b11-34a6-4a43-9279-26eeeefe18b7:localhost]

2022-08-18 23:03:07 | [Mutex] received everything.

2022-08-18 23:03:07 | [Mutex] isItemNotified: received:node:180c1b11-34a6-4a43-9279-26eeeefe18b7:localhost:node-4e38a76b-c692-4cca-bd87-3f0db17a9d69:Node 4e38a76b-c692-4cca-bd87-3f0db17a9d69 :: true

2022-08-18 23:03:07 | [Mutex] waiting for: [received:nodes:071a9270-c0af-410d-81cd-f1b42d5be58d:localhost]

2022-08-18 23:03:07 | [Mutex] received everything.

2022-08-18 23:03:07 | [Mutex] isItemNotified: received:node:071a9270-c0af-410d-81cd-f1b42d5be58d:localhost:node-4e38a76b-c692-4cca-bd87-3f0db17a9d69:Node 4e38a76b-c692-4cca-bd87-3f0db17a9d69 :: false

createNodes 1.445s
2022-08-18 23:03:04 |

2022-08-18 23:03:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:04 | ------------------------------------

2022-08-18 23:03:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4e38a76b-c692-4cca-bd87-3f0db17a9d69</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4e38a76b-c692-4cca-bd87-3f0db17a9d69</title></pubsub></data>

2022-08-18 23:03:04 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 23:03:05 | [Mutex] waiting for: [received:nodes:e9d6d1f6-7a4f-43bb-8047-fed4cd1824bc:localhost]

2022-08-18 23:03:05 | [Mutex] waiting for: [received:nodes:e9d6d1f6-7a4f-43bb-8047-fed4cd1824bc:localhost]

2022-08-18 23:03:05 | [Mutex] received everything.

2022-08-18 23:03:05 | [Mutex] isItemNotified: received:node:e9d6d1f6-7a4f-43bb-8047-fed4cd1824bc:localhost:node-4e38a76b-c692-4cca-bd87-3f0db17a9d69:Node 4e38a76b-c692-4cca-bd87-3f0db17a9d69 :: true

createSubnodes 1.020s
2022-08-18 23:03:05 |

2022-08-18 23:03:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:05 | ------------------------------------

2022-08-18 23:03:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d447817f-38f7-41e3-b817-d42b7542cf49</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d447817f-38f7-41e3-b817-d42b7542cf49</title></pubsub></data>

2022-08-18 23:03:05 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 23:03:06 | [Mutex] waiting for: [received:nodes:915fc447-4c2f-468e-adc4-0cb6cfa16f45:localhost]

2022-08-18 23:03:06 | [Mutex] received everything.

2022-08-18 23:03:06 | [Mutex] isItemNotified: received:node:915fc447-4c2f-468e-adc4-0cb6cfa16f45:localhost:node-d447817f-38f7-41e3-b817-d42b7542cf49:Node d447817f-38f7-41e3-b817-d42b7542cf49 :: true

deleteNodes 1.018s
2022-08-18 23:03:12 |

2022-08-18 23:03:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:12 | ------------------------------------

2022-08-18 23:03:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d447817f-38f7-41e3-b817-d42b7542cf49</node></data>

2022-08-18 23:03:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 23:03:13 | [Mutex] waiting for: [received:nodes:50c68060-ca80-4c83-983f-f2411edf7052:localhost]

2022-08-18 23:03:13 | [Mutex] waiting for: [received:nodes:50c68060-ca80-4c83-983f-f2411edf7052:localhost]

2022-08-18 23:03:13 | [Mutex] received everything.

2022-08-18 23:03:13 | [Mutex] isItemNotified: received:node:50c68060-ca80-4c83-983f-f2411edf7052:localhost:node-d447817f-38f7-41e3-b817-d42b7542cf49:Node d447817f-38f7-41e3-b817-d42b7542cf49 :: false

deleteSubnodes 1.219s
2022-08-18 23:03:11 |

2022-08-18 23:03:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:11 | ------------------------------------

2022-08-18 23:03:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4e38a76b-c692-4cca-bd87-3f0db17a9d69</node></data>

2022-08-18 23:03:11 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 23:03:12 | [Mutex] waiting for: [received:nodes:1845867d-d5ab-4e16-8b6d-6e32354474ff:localhost]

2022-08-18 23:03:12 | [Mutex] received everything.

2022-08-18 23:03:12 | [Mutex] isItemNotified: received:node:1845867d-d5ab-4e16-8b6d-6e32354474ff:localhost:node-4e38a76b-c692-4cca-bd87-3f0db17a9d69:Node 4e38a76b-c692-4cca-bd87-3f0db17a9d69 :: false

2022-08-18 23:03:12 | [Mutex] waiting for: [received:nodes:9fd455cc-a654-4adf-9619-60ac18d6a2de:localhost]

2022-08-18 23:03:12 | [Mutex] received everything.

2022-08-18 23:03:12 | [Mutex] isItemNotified: received:node:9fd455cc-a654-4adf-9619-60ac18d6a2de:localhost:node-4e38a76b-c692-4cca-bd87-3f0db17a9d69:Node 4e38a76b-c692-4cca-bd87-3f0db17a9d69 :: false

publishItemsToNodes 0.180s
2022-08-18 23:03:09 |

2022-08-18 23:03:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:09 | ------------------------------------

2022-08-18 23:03:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4e38a76b-c692-4cca-bd87-3f0db17a9d69</node><item-id>item-95f0308c-7444-4b83-83b9-ad7bccfa3b56</item-id><entry><test>item-95f0308c-7444-4b83-83b9-ad7bccfa3b56</test></entry></data>

2022-08-18 23:03:09 | 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-95f0308c-7444-4b83-83b9-ad7bccfa3b56</value></item-id></result>

2022-08-18 23:03:09 | [Mutex] waiting for: [published:item:notifieditem-95f0308c-7444-4b83-83b9-ad7bccfa3b56:admin@test-domain.com]

2022-08-18 23:03:09 | [Mutex] received everything.

2022-08-18 23:03:09 | [Mutex] isItemNotified: published:item:notifieditem-95f0308c-7444-4b83-83b9-ad7bccfa3b56:admin@test-domain.com :: true

retractItemsFromNodes 0.227s
2022-08-18 23:03:09 |

2022-08-18 23:03:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:09 | ------------------------------------

2022-08-18 23:03:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4e38a76b-c692-4cca-bd87-3f0db17a9d69</node><item-id>item-95f0308c-7444-4b83-83b9-ad7bccfa3b56</item-id></data>

2022-08-18 23:03:09 | 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-95f0308c-7444-4b83-83b9-ad7bccfa3b56</value></item-id></result>

2022-08-18 23:03:09 | [Mutex] received everything.

2022-08-18 23:03:09 | [Mutex] isItemNotified: retracted:item:notifieditem-95f0308c-7444-4b83-83b9-ad7bccfa3b56:admin@test-domain.com :: true

retrieveItemsFromNodes 0.250s
2022-08-18 23:03:09 |

2022-08-18 23:03:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:09 | ------------------------------------

2022-08-18 23:03:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4e38a76b-c692-4cca-bd87-3f0db17a9d69</node><item-id>item-95f0308c-7444-4b83-83b9-ad7bccfa3b56</item-id></data>

2022-08-18 23:03:09 | 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-4e38a76b-c692-4cca-bd87-3f0db17a9d69</value></node><item-id type="text-single" label="Item ID"><value>item-95f0308c-7444-4b83-83b9-ad7bccfa3b56</value></item-id><item type="text-multi" label="Item"><value><item id="item-95f0308c-7444-4b83-83b9-ad7bccfa3b56"><test>item-95f0308c-7444-4b83-83b9-ad7bccfa3b56</test></item></value></item></result>

2022-08-18 23:03:09 | [Mutex] notify: [retrieved:item:item-95f0308c-7444-4b83-83b9-ad7bccfa3b56:payload-matches:true:localhost]

2022-08-18 23:03:09 | [Mutex] received everything.

2022-08-18 23:03:09 | [Mutex] isItemNotified: retrieved:item:item-95f0308c-7444-4b83-83b9-ad7bccfa3b56:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.059s
2022-08-18 23:03:09 |

2022-08-18 23:03:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:09 | ------------------------------------

2022-08-18 23:03:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-18 23:03:09 | 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-4e38a76b-c692-4cca-bd87-3f0db17a9d69</value><value>node-d447817f-38f7-41e3-b817-d42b7542cf49</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-08-18 23:03:09 |

2022-08-18 23:03:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:09 | ------------------------------------

2022-08-18 23:03:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4e38a76b-c692-4cca-bd87-3f0db17a9d69)</node-pattern></data>

2022-08-18 23:03:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.115s
2022-08-18 23:03:07 |

2022-08-18 23:03:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:07 | ------------------------------------

2022-08-18 23:03:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4e38a76b-c692-4cca-bd87-3f0db17a9d69</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-18 23:03:08 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.251s
2022-08-18 23:03:09 |

2022-08-18 23:03:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:03:09 | ------------------------------------

2022-08-18 23:03:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4e38a76b-c692-4cca-bd87-3f0db17a9d69</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-18 23:03:10 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>