Generated by TestNG with ReportNG at 22:23 PDT on Sunday 29 May 2022
root@61c39d2ed70d / 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.733s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2022-05-29 22:37:47 |

2022-05-29 22:37:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:47 | ------------------------------------

2022-05-29 22:37:47 | [Mutex] waiting for: [configured:node:node-1045606c-f604-4de8-af34-0d9a2aef9a95:node-22e02eea-6996-43ee-b40f-4d434fdc3122]

2022-05-29 22:37:47 | [Mutex] received everything.

2022-05-29 22:37:47 | [Mutex] isItemNotified: configured:node:node-1045606c-f604-4de8-af34-0d9a2aef9a95:node-22e02eea-6996-43ee-b40f-4d434fdc3122 :: true

2022-05-29 22:37:48 | [Mutex] waiting for: [received:nodes:fcab9f60-2ab0-4790-a1c9-65a651875156:localhost]

2022-05-29 22:37:48 | [Mutex] received everything.

2022-05-29 22:37:48 | [Mutex] isItemNotified: received:node:fcab9f60-2ab0-4790-a1c9-65a651875156:localhost:node-1045606c-f604-4de8-af34-0d9a2aef9a95:Node 1045606c-f604-4de8-af34-0d9a2aef9a95 :: true

2022-05-29 22:37:48 | [Mutex] waiting for: [received:nodes:ec774e12-1f25-4296-9845-d136772d59b4:localhost]

2022-05-29 22:37:48 | [Mutex] received everything.

2022-05-29 22:37:48 | [Mutex] isItemNotified: received:node:ec774e12-1f25-4296-9845-d136772d59b4:localhost:node-1045606c-f604-4de8-af34-0d9a2aef9a95:Node 1045606c-f604-4de8-af34-0d9a2aef9a95 :: false

createNodes 1.513s
2022-05-29 22:37:44 |

2022-05-29 22:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:44 | ------------------------------------

2022-05-29 22:37:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1045606c-f604-4de8-af34-0d9a2aef9a95</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1045606c-f604-4de8-af34-0d9a2aef9a95</title></pubsub></data>

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

2022-05-29 22:37:46 | [Mutex] waiting for: [received:nodes:bd86764e-e165-4676-96fb-76774dceb827:localhost]

2022-05-29 22:37:46 | [Mutex] waiting for: [received:nodes:bd86764e-e165-4676-96fb-76774dceb827:localhost]

2022-05-29 22:37:46 | [Mutex] received everything.

2022-05-29 22:37:46 | [Mutex] isItemNotified: received:node:bd86764e-e165-4676-96fb-76774dceb827:localhost:node-1045606c-f604-4de8-af34-0d9a2aef9a95:Node 1045606c-f604-4de8-af34-0d9a2aef9a95 :: true

createSubnodes 1.047s
2022-05-29 22:37:46 |

2022-05-29 22:37:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:46 | ------------------------------------

2022-05-29 22:37:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-22e02eea-6996-43ee-b40f-4d434fdc3122</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 22e02eea-6996-43ee-b40f-4d434fdc3122</title></pubsub></data>

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

2022-05-29 22:37:47 | [Mutex] waiting for: [received:nodes:2b56aaba-9427-4ebe-b1e6-3425a2dedb18:localhost]

2022-05-29 22:37:47 | [Mutex] waiting for: [received:nodes:2b56aaba-9427-4ebe-b1e6-3425a2dedb18:localhost]

2022-05-29 22:37:47 | [Mutex] received everything.

2022-05-29 22:37:47 | [Mutex] isItemNotified: received:node:2b56aaba-9427-4ebe-b1e6-3425a2dedb18:localhost:node-22e02eea-6996-43ee-b40f-4d434fdc3122:Node 22e02eea-6996-43ee-b40f-4d434fdc3122 :: true

deleteNodes 1.022s
2022-05-29 22:37:52 |

2022-05-29 22:37:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:52 | ------------------------------------

2022-05-29 22:37:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-22e02eea-6996-43ee-b40f-4d434fdc3122</node></data>

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

2022-05-29 22:37:53 | [Mutex] waiting for: [received:nodes:e3e59d3e-def8-4e36-89a2-79a6f047f36a:localhost]

2022-05-29 22:37:53 | [Mutex] waiting for: [received:nodes:e3e59d3e-def8-4e36-89a2-79a6f047f36a:localhost]

2022-05-29 22:37:53 | [Mutex] received everything.

2022-05-29 22:37:53 | [Mutex] isItemNotified: received:node:e3e59d3e-def8-4e36-89a2-79a6f047f36a:localhost:node-22e02eea-6996-43ee-b40f-4d434fdc3122:Node 22e02eea-6996-43ee-b40f-4d434fdc3122 :: false

deleteSubnodes 1.129s
2022-05-29 22:37:51 |

2022-05-29 22:37:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:51 | ------------------------------------

2022-05-29 22:37:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1045606c-f604-4de8-af34-0d9a2aef9a95</node></data>

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

2022-05-29 22:37:52 | [Mutex] waiting for: [received:nodes:bacd6dfe-c880-413d-b378-50a347e7a292:localhost]

2022-05-29 22:37:52 | [Mutex] waiting for: [received:nodes:bacd6dfe-c880-413d-b378-50a347e7a292:localhost]

2022-05-29 22:37:52 | [Mutex] waiting for: [received:nodes:bacd6dfe-c880-413d-b378-50a347e7a292:localhost]

2022-05-29 22:37:52 | [Mutex] received everything.

2022-05-29 22:37:52 | [Mutex] isItemNotified: received:node:bacd6dfe-c880-413d-b378-50a347e7a292:localhost:node-1045606c-f604-4de8-af34-0d9a2aef9a95:Node 1045606c-f604-4de8-af34-0d9a2aef9a95 :: false

2022-05-29 22:37:52 | [Mutex] waiting for: [received:nodes:e0443494-04fa-4b3c-ae2b-e1bbebc246d6:localhost]

2022-05-29 22:37:52 | [Mutex] received everything.

2022-05-29 22:37:52 | [Mutex] isItemNotified: received:node:e0443494-04fa-4b3c-ae2b-e1bbebc246d6:localhost:node-1045606c-f604-4de8-af34-0d9a2aef9a95:Node 1045606c-f604-4de8-af34-0d9a2aef9a95 :: false

publishItemsToNodes 0.281s
2022-05-29 22:37:49 |

2022-05-29 22:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:49 | ------------------------------------

2022-05-29 22:37:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1045606c-f604-4de8-af34-0d9a2aef9a95</node><item-id>item-cd671627-7fae-4bc0-b6ed-f34534fab487</item-id><entry><test>item-cd671627-7fae-4bc0-b6ed-f34534fab487</test></entry></data>

2022-05-29 22:37:49 | 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-cd671627-7fae-4bc0-b6ed-f34534fab487</value></item-id></result>

2022-05-29 22:37:49 | [Mutex] received everything.

2022-05-29 22:37:49 | [Mutex] isItemNotified: published:item:notifieditem-cd671627-7fae-4bc0-b6ed-f34534fab487:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2022-05-29 22:37:50 |

2022-05-29 22:37:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:50 | ------------------------------------

2022-05-29 22:37:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1045606c-f604-4de8-af34-0d9a2aef9a95</node><item-id>item-cd671627-7fae-4bc0-b6ed-f34534fab487</item-id></data>

2022-05-29 22:37:50 | 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-cd671627-7fae-4bc0-b6ed-f34534fab487</value></item-id></result>

2022-05-29 22:37:50 | [Mutex] received everything.

2022-05-29 22:37:50 | [Mutex] isItemNotified: retracted:item:notifieditem-cd671627-7fae-4bc0-b6ed-f34534fab487:admin@test-domain.com :: true

retrieveItemsFromNodes 0.228s
2022-05-29 22:37:49 |

2022-05-29 22:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:49 | ------------------------------------

2022-05-29 22:37:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1045606c-f604-4de8-af34-0d9a2aef9a95</node><item-id>item-cd671627-7fae-4bc0-b6ed-f34534fab487</item-id></data>

2022-05-29 22:37:50 | 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-1045606c-f604-4de8-af34-0d9a2aef9a95</value></node><item-id type="text-single" label="Item ID"><value>item-cd671627-7fae-4bc0-b6ed-f34534fab487</value></item-id><item type="text-multi" label="Item"><value><item id="item-cd671627-7fae-4bc0-b6ed-f34534fab487"><test>item-cd671627-7fae-4bc0-b6ed-f34534fab487</test></item></value></item></result>

2022-05-29 22:37:50 | [Mutex] notify: [retrieved:item:item-cd671627-7fae-4bc0-b6ed-f34534fab487:payload-matches:true:localhost]

2022-05-29 22:37:50 | [Mutex] received everything.

2022-05-29 22:37:50 | [Mutex] isItemNotified: retrieved:item:item-cd671627-7fae-4bc0-b6ed-f34534fab487:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2022-05-29 22:37:50 |

2022-05-29 22:37:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:50 | ------------------------------------

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

2022-05-29 22:37:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-1045606c-f604-4de8-af34-0d9a2aef9a95</value><value>node-22e02eea-6996-43ee-b40f-4d434fdc3122</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2022-05-29 22:37:50 |

2022-05-29 22:37:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:50 | ------------------------------------

2022-05-29 22:37:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1045606c-f604-4de8-af34-0d9a2aef9a95)</node-pattern></data>

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

subscribeNodes 1.104s
2022-05-29 22:37:48 |

2022-05-29 22:37:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:48 | ------------------------------------

2022-05-29 22:37:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1045606c-f604-4de8-af34-0d9a2aef9a95</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.263s
2022-05-29 22:37:50 |

2022-05-29 22:37:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:37:50 | ------------------------------------

2022-05-29 22:37:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1045606c-f604-4de8-af34-0d9a2aef9a95</node><jids><value>admin@test-domain.com</value></jids></data>

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