Generated by TestNG with ReportNG at 22:23 PDT on Tuesday 17 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.481s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.088s
2022-05-17 22:38:50 |

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

2022-05-17 22:38:50 | ------------------------------------

2022-05-17 22:38:50 | [Mutex] waiting for: [configured:node:node-459eeb34-be66-4ea2-a870-66625c5d9dbb:node-c9857e8d-f4ad-4e87-a44c-92ed4a99cbda]

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

2022-05-17 22:38:50 | [Mutex] isItemNotified: configured:node:node-459eeb34-be66-4ea2-a870-66625c5d9dbb:node-c9857e8d-f4ad-4e87-a44c-92ed4a99cbda :: true

2022-05-17 22:38:51 | [Mutex] waiting for: [received:nodes:8e0b5059-da0f-4e9f-b9b5-c81b206bcfb7:localhost]

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

2022-05-17 22:38:51 | [Mutex] isItemNotified: received:node:8e0b5059-da0f-4e9f-b9b5-c81b206bcfb7:localhost:node-459eeb34-be66-4ea2-a870-66625c5d9dbb:Node 459eeb34-be66-4ea2-a870-66625c5d9dbb :: true

2022-05-17 22:38:51 | [Mutex] waiting for: [received:nodes:82a54c4b-17c9-4975-beb2-f3037aec032e:localhost]

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

2022-05-17 22:38:51 | [Mutex] isItemNotified: received:node:82a54c4b-17c9-4975-beb2-f3037aec032e:localhost:node-459eeb34-be66-4ea2-a870-66625c5d9dbb:Node 459eeb34-be66-4ea2-a870-66625c5d9dbb :: false

createNodes 1.459s
2022-05-17 22:38:47 |

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

2022-05-17 22:38:47 | ------------------------------------

2022-05-17 22:38:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-459eeb34-be66-4ea2-a870-66625c5d9dbb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 459eeb34-be66-4ea2-a870-66625c5d9dbb</title></pubsub></data>

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

2022-05-17 22:38:48 | [Mutex] waiting for: [received:nodes:9273b7b6-a3e9-496a-8eae-f202247a5ea2:localhost]

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

2022-05-17 22:38:49 | [Mutex] isItemNotified: received:node:9273b7b6-a3e9-496a-8eae-f202247a5ea2:localhost:node-459eeb34-be66-4ea2-a870-66625c5d9dbb:Node 459eeb34-be66-4ea2-a870-66625c5d9dbb :: true

createSubnodes 1.020s
2022-05-17 22:38:49 |

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

2022-05-17 22:38:49 | ------------------------------------

2022-05-17 22:38:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c9857e8d-f4ad-4e87-a44c-92ed4a99cbda</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c9857e8d-f4ad-4e87-a44c-92ed4a99cbda</title></pubsub></data>

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

2022-05-17 22:38:50 | [Mutex] waiting for: [received:nodes:dd997536-1c27-404c-a83a-fc458c2e079b:localhost]

2022-05-17 22:38:50 | [Mutex] waiting for: [received:nodes:dd997536-1c27-404c-a83a-fc458c2e079b:localhost]

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

2022-05-17 22:38:50 | [Mutex] isItemNotified: received:node:dd997536-1c27-404c-a83a-fc458c2e079b:localhost:node-c9857e8d-f4ad-4e87-a44c-92ed4a99cbda:Node c9857e8d-f4ad-4e87-a44c-92ed4a99cbda :: true

deleteNodes 1.017s
2022-05-17 22:38:55 |

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

2022-05-17 22:38:55 | ------------------------------------

2022-05-17 22:38:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c9857e8d-f4ad-4e87-a44c-92ed4a99cbda</node></data>

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

2022-05-17 22:38:56 | [Mutex] waiting for: [received:nodes:986a5dee-9127-4ff4-b072-9c2a2be971c5:localhost]

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

2022-05-17 22:38:56 | [Mutex] isItemNotified: received:node:986a5dee-9127-4ff4-b072-9c2a2be971c5:localhost:node-c9857e8d-f4ad-4e87-a44c-92ed4a99cbda:Node c9857e8d-f4ad-4e87-a44c-92ed4a99cbda :: false

deleteSubnodes 1.115s
2022-05-17 22:38:54 |

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

2022-05-17 22:38:54 | ------------------------------------

2022-05-17 22:38:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-459eeb34-be66-4ea2-a870-66625c5d9dbb</node></data>

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

2022-05-17 22:38:55 | [Mutex] waiting for: [received:nodes:490789ad-1835-48bc-8ae8-561eff285463:localhost]

2022-05-17 22:38:55 | [Mutex] waiting for: [received:nodes:490789ad-1835-48bc-8ae8-561eff285463:localhost]

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

2022-05-17 22:38:55 | [Mutex] isItemNotified: received:node:490789ad-1835-48bc-8ae8-561eff285463:localhost:node-459eeb34-be66-4ea2-a870-66625c5d9dbb:Node 459eeb34-be66-4ea2-a870-66625c5d9dbb :: false

2022-05-17 22:38:55 | [Mutex] waiting for: [received:nodes:2487347f-80bf-4d82-9f51-71767b67fd35:localhost]

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

2022-05-17 22:38:55 | [Mutex] isItemNotified: received:node:2487347f-80bf-4d82-9f51-71767b67fd35:localhost:node-459eeb34-be66-4ea2-a870-66625c5d9dbb:Node 459eeb34-be66-4ea2-a870-66625c5d9dbb :: false

publishItemsToNodes 0.236s
2022-05-17 22:38:52 |

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

2022-05-17 22:38:52 | ------------------------------------

2022-05-17 22:38:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-459eeb34-be66-4ea2-a870-66625c5d9dbb</node><item-id>item-1f05f9d1-0124-44c1-ba78-cc3167ef0086</item-id><entry><test>item-1f05f9d1-0124-44c1-ba78-cc3167ef0086</test></entry></data>

2022-05-17 22:38:52 | 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-1f05f9d1-0124-44c1-ba78-cc3167ef0086</value></item-id></result>

2022-05-17 22:38:52 | [Mutex] waiting for: [published:item:notifieditem-1f05f9d1-0124-44c1-ba78-cc3167ef0086:admin@test-domain.com]

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

2022-05-17 22:38:52 | [Mutex] isItemNotified: published:item:notifieditem-1f05f9d1-0124-44c1-ba78-cc3167ef0086:admin@test-domain.com :: true

retractItemsFromNodes 0.256s
2022-05-17 22:38:52 |

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

2022-05-17 22:38:52 | ------------------------------------

2022-05-17 22:38:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-459eeb34-be66-4ea2-a870-66625c5d9dbb</node><item-id>item-1f05f9d1-0124-44c1-ba78-cc3167ef0086</item-id></data>

2022-05-17 22:38:53 | 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-1f05f9d1-0124-44c1-ba78-cc3167ef0086</value></item-id></result>

2022-05-17 22:38:53 | [Mutex] waiting for: [retracted:item:notifieditem-1f05f9d1-0124-44c1-ba78-cc3167ef0086:admin@test-domain.com]

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

2022-05-17 22:38:53 | [Mutex] isItemNotified: retracted:item:notifieditem-1f05f9d1-0124-44c1-ba78-cc3167ef0086:admin@test-domain.com :: true

retrieveItemsFromNodes 0.214s
2022-05-17 22:38:52 |

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

2022-05-17 22:38:52 | ------------------------------------

2022-05-17 22:38:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-459eeb34-be66-4ea2-a870-66625c5d9dbb</node><item-id>item-1f05f9d1-0124-44c1-ba78-cc3167ef0086</item-id></data>

2022-05-17 22:38:52 | 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-459eeb34-be66-4ea2-a870-66625c5d9dbb</value></node><item-id label="Item ID" type="text-single"><value>item-1f05f9d1-0124-44c1-ba78-cc3167ef0086</value></item-id><item label="Item" type="text-multi"><value><item id="item-1f05f9d1-0124-44c1-ba78-cc3167ef0086"><test>item-1f05f9d1-0124-44c1-ba78-cc3167ef0086</test></item></value></item></result>

2022-05-17 22:38:52 | [Mutex] notify: [retrieved:item:item-1f05f9d1-0124-44c1-ba78-cc3167ef0086:payload-matches:true:localhost]

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

2022-05-17 22:38:52 | [Mutex] isItemNotified: retrieved:item:item-1f05f9d1-0124-44c1-ba78-cc3167ef0086:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-05-17 22:38:52 |

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

2022-05-17 22:38:52 | ------------------------------------

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

2022-05-17 22:38:52 | 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-459eeb34-be66-4ea2-a870-66625c5d9dbb</value><value>node-c9857e8d-f4ad-4e87-a44c-92ed4a99cbda</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-05-17 22:38:52 |

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

2022-05-17 22:38:52 | ------------------------------------

2022-05-17 22:38: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-459eeb34-be66-4ea2-a870-66625c5d9dbb)</node-pattern></data>

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

subscribeNodes 1.151s
2022-05-17 22:38:51 |

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

2022-05-17 22:38:51 | ------------------------------------

2022-05-17 22:38:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-459eeb34-be66-4ea2-a870-66625c5d9dbb</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-17 22:38: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.210s
2022-05-17 22:38:53 |

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

2022-05-17 22:38:53 | ------------------------------------

2022-05-17 22:38:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-459eeb34-be66-4ea2-a870-66625c5d9dbb</node><jids><value>admin@test-domain.com</value></jids></data>

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