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

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-05-10 22:36:54 |

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

2022-05-10 22:36:54 | ------------------------------------

2022-05-10 22:36:54 | [Mutex] waiting for: [configured:node:node-ddd95748-4eba-458b-8b0a-2f7910a2ead2:node-d180c3af-718b-4af6-8414-ddeb90f8d956]

2022-05-10 22:36:54 | [Mutex] received everything.

2022-05-10 22:36:54 | [Mutex] isItemNotified: configured:node:node-ddd95748-4eba-458b-8b0a-2f7910a2ead2:node-d180c3af-718b-4af6-8414-ddeb90f8d956 :: true

2022-05-10 22:36:55 | [Mutex] waiting for: [received:nodes:19c9191a-bd18-4c30-a949-e086d3cc5f4d:localhost]

2022-05-10 22:36:55 | [Mutex] received everything.

2022-05-10 22:36:55 | [Mutex] isItemNotified: received:node:19c9191a-bd18-4c30-a949-e086d3cc5f4d:localhost:node-ddd95748-4eba-458b-8b0a-2f7910a2ead2:Node ddd95748-4eba-458b-8b0a-2f7910a2ead2 :: true

2022-05-10 22:36:55 | [Mutex] waiting for: [received:nodes:5851b824-e167-4a6c-a671-b602b5a73101:localhost]

2022-05-10 22:36:55 | [Mutex] received everything.

2022-05-10 22:36:55 | [Mutex] isItemNotified: received:node:5851b824-e167-4a6c-a671-b602b5a73101:localhost:node-ddd95748-4eba-458b-8b0a-2f7910a2ead2:Node ddd95748-4eba-458b-8b0a-2f7910a2ead2 :: false

createNodes 1.369s
2022-05-10 22:36:51 |

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

2022-05-10 22:36:51 | ------------------------------------

2022-05-10 22:36:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ddd95748-4eba-458b-8b0a-2f7910a2ead2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ddd95748-4eba-458b-8b0a-2f7910a2ead2</title></pubsub></data>

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

2022-05-10 22:36:53 | [Mutex] waiting for: [received:nodes:3b4640a1-dce4-41ed-b59f-2b97ae57f119:localhost]

2022-05-10 22:36:53 | [Mutex] waiting for: [received:nodes:3b4640a1-dce4-41ed-b59f-2b97ae57f119:localhost]

2022-05-10 22:36:53 | [Mutex] received everything.

2022-05-10 22:36:53 | [Mutex] isItemNotified: received:node:3b4640a1-dce4-41ed-b59f-2b97ae57f119:localhost:node-ddd95748-4eba-458b-8b0a-2f7910a2ead2:Node ddd95748-4eba-458b-8b0a-2f7910a2ead2 :: true

createSubnodes 1.023s
2022-05-10 22:36:53 |

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

2022-05-10 22:36:53 | ------------------------------------

2022-05-10 22:36:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d180c3af-718b-4af6-8414-ddeb90f8d956</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d180c3af-718b-4af6-8414-ddeb90f8d956</title></pubsub></data>

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

2022-05-10 22:36:54 | [Mutex] waiting for: [received:nodes:7b61e94f-2eca-45e3-a6ad-c826ba09227f:localhost]

2022-05-10 22:36:54 | [Mutex] received everything.

2022-05-10 22:36:54 | [Mutex] isItemNotified: received:node:7b61e94f-2eca-45e3-a6ad-c826ba09227f:localhost:node-d180c3af-718b-4af6-8414-ddeb90f8d956:Node d180c3af-718b-4af6-8414-ddeb90f8d956 :: true

deleteNodes 1.017s
2022-05-10 22:36:59 |

2022-05-10 22:36:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:36:59 | ------------------------------------

2022-05-10 22:36:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d180c3af-718b-4af6-8414-ddeb90f8d956</node></data>

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

2022-05-10 22:37:00 | [Mutex] waiting for: [received:nodes:63ea2d38-fb14-475e-925c-d865e54ff51e:localhost]

2022-05-10 22:37:00 | [Mutex] received everything.

2022-05-10 22:37:00 | [Mutex] isItemNotified: received:node:63ea2d38-fb14-475e-925c-d865e54ff51e:localhost:node-d180c3af-718b-4af6-8414-ddeb90f8d956:Node d180c3af-718b-4af6-8414-ddeb90f8d956 :: false

deleteSubnodes 1.149s
2022-05-10 22:36:58 |

2022-05-10 22:36:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:36:58 | ------------------------------------

2022-05-10 22:36:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ddd95748-4eba-458b-8b0a-2f7910a2ead2</node></data>

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

2022-05-10 22:36:59 | [Mutex] waiting for: [received:nodes:bf8ff57a-775f-4fe7-b9a0-238075c6df76:localhost]

2022-05-10 22:36:59 | [Mutex] received everything.

2022-05-10 22:36:59 | [Mutex] isItemNotified: received:node:bf8ff57a-775f-4fe7-b9a0-238075c6df76:localhost:node-ddd95748-4eba-458b-8b0a-2f7910a2ead2:Node ddd95748-4eba-458b-8b0a-2f7910a2ead2 :: false

2022-05-10 22:36:59 | [Mutex] waiting for: [received:nodes:206f0370-b1d0-48a8-aa8b-75b04cc228d1:localhost]

2022-05-10 22:36:59 | [Mutex] received everything.

2022-05-10 22:36:59 | [Mutex] isItemNotified: received:node:206f0370-b1d0-48a8-aa8b-75b04cc228d1:localhost:node-ddd95748-4eba-458b-8b0a-2f7910a2ead2:Node ddd95748-4eba-458b-8b0a-2f7910a2ead2 :: false

publishItemsToNodes 0.231s
2022-05-10 22:36:56 |

2022-05-10 22:36:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:36:56 | ------------------------------------

2022-05-10 22:36:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ddd95748-4eba-458b-8b0a-2f7910a2ead2</node><item-id>item-9340e6d4-1677-42ab-b5b8-9a8283f0851a</item-id><entry><test>item-9340e6d4-1677-42ab-b5b8-9a8283f0851a</test></entry></data>

2022-05-10 22:36:56 | 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-9340e6d4-1677-42ab-b5b8-9a8283f0851a</value></item-id></result>

2022-05-10 22:36:56 | [Mutex] waiting for: [published:item:notifieditem-9340e6d4-1677-42ab-b5b8-9a8283f0851a:admin@test-domain.com]

2022-05-10 22:36:56 | [Mutex] received everything.

2022-05-10 22:36:56 | [Mutex] isItemNotified: published:item:notifieditem-9340e6d4-1677-42ab-b5b8-9a8283f0851a:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2022-05-10 22:36:56 |

2022-05-10 22:36:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:36:56 | ------------------------------------

2022-05-10 22:36:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ddd95748-4eba-458b-8b0a-2f7910a2ead2</node><item-id>item-9340e6d4-1677-42ab-b5b8-9a8283f0851a</item-id></data>

2022-05-10 22:36:57 | 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-9340e6d4-1677-42ab-b5b8-9a8283f0851a</value></item-id></result>

2022-05-10 22:36:57 | [Mutex] received everything.

2022-05-10 22:36:57 | [Mutex] isItemNotified: retracted:item:notifieditem-9340e6d4-1677-42ab-b5b8-9a8283f0851a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.258s
2022-05-10 22:36:56 |

2022-05-10 22:36:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:36:56 | ------------------------------------

2022-05-10 22:36:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ddd95748-4eba-458b-8b0a-2f7910a2ead2</node><item-id>item-9340e6d4-1677-42ab-b5b8-9a8283f0851a</item-id></data>

2022-05-10 22:36:56 | 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-ddd95748-4eba-458b-8b0a-2f7910a2ead2</value></node><item-id type="text-single" label="Item ID"><value>item-9340e6d4-1677-42ab-b5b8-9a8283f0851a</value></item-id><item type="text-multi" label="Item"><value><item id="item-9340e6d4-1677-42ab-b5b8-9a8283f0851a"><test>item-9340e6d4-1677-42ab-b5b8-9a8283f0851a</test></item></value></item></result>

2022-05-10 22:36:56 | [Mutex] notify: [retrieved:item:item-9340e6d4-1677-42ab-b5b8-9a8283f0851a:payload-matches:true:localhost]

2022-05-10 22:36:56 | [Mutex] received everything.

2022-05-10 22:36:56 | [Mutex] isItemNotified: retrieved:item:item-9340e6d4-1677-42ab-b5b8-9a8283f0851a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-10 22:36:56 |

2022-05-10 22:36:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:36:56 | ------------------------------------

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

2022-05-10 22:36:56 | 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-d180c3af-718b-4af6-8414-ddeb90f8d956</value><value>node-ddd95748-4eba-458b-8b0a-2f7910a2ead2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-10 22:36:56 |

2022-05-10 22:36:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:36:56 | ------------------------------------

2022-05-10 22:36:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ddd95748-4eba-458b-8b0a-2f7910a2ead2)</node-pattern></data>

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

subscribeNodes 1.153s
2022-05-10 22:36:55 |

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

2022-05-10 22:36:55 | ------------------------------------

2022-05-10 22:36:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ddd95748-4eba-458b-8b0a-2f7910a2ead2</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-10 22:36:55 | 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-10 22:36:57 |

2022-05-10 22:36:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:36:57 | ------------------------------------

2022-05-10 22:36:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ddd95748-4eba-458b-8b0a-2f7910a2ead2</node><jids><value>admin@test-domain.com</value></jids></data>

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