Generated by TestNG with ReportNG at 07:34 PDT on Friday 25 June 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / 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 : 10.267s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2021-06-25 07:48:18 |

2021-06-25 07:48:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:18 | ------------------------------------

2021-06-25 07:48:18 | [Mutex] waiting for: [configured:node:node-9ec74f00-5f3d-462d-af66-e513655cb3c5:node-c9535cd5-58a7-49a3-8d87-9acff912d875]

2021-06-25 07:48:18 | [Mutex] received everything.

2021-06-25 07:48:18 | [Mutex] isItemNotified: configured:node:node-9ec74f00-5f3d-462d-af66-e513655cb3c5:node-c9535cd5-58a7-49a3-8d87-9acff912d875 :: true

2021-06-25 07:48:19 | [Mutex] waiting for: [received:nodes:62978941-c74f-48e8-8038-f823a882683e:localhost]

2021-06-25 07:48:19 | [Mutex] received everything.

2021-06-25 07:48:19 | [Mutex] isItemNotified: received:node:62978941-c74f-48e8-8038-f823a882683e:localhost:node-9ec74f00-5f3d-462d-af66-e513655cb3c5:Node 9ec74f00-5f3d-462d-af66-e513655cb3c5 :: true

2021-06-25 07:48:19 | [Mutex] waiting for: [received:nodes:ab954c07-ab32-4404-ad0b-e6d3a95299b8:localhost]

2021-06-25 07:48:19 | [Mutex] received everything.

2021-06-25 07:48:19 | [Mutex] isItemNotified: received:node:ab954c07-ab32-4404-ad0b-e6d3a95299b8:localhost:node-9ec74f00-5f3d-462d-af66-e513655cb3c5:Node 9ec74f00-5f3d-462d-af66-e513655cb3c5 :: false

createNodes 1.573s
2021-06-25 07:48:16 |

2021-06-25 07:48:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:16 | ------------------------------------

2021-06-25 07:48:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9ec74f00-5f3d-462d-af66-e513655cb3c5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9ec74f00-5f3d-462d-af66-e513655cb3c5</title></pubsub></data>

2021-06-25 07:48:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 07:48:17 | [Mutex] waiting for: [received:nodes:f53d2c01-258f-4cbe-bbf7-e12ad7b43621:localhost]

2021-06-25 07:48:17 | [Mutex] received everything.

2021-06-25 07:48:17 | [Mutex] isItemNotified: received:node:f53d2c01-258f-4cbe-bbf7-e12ad7b43621:localhost:node-9ec74f00-5f3d-462d-af66-e513655cb3c5:Node 9ec74f00-5f3d-462d-af66-e513655cb3c5 :: true

createSubnodes 1.049s
2021-06-25 07:48:17 |

2021-06-25 07:48:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:17 | ------------------------------------

2021-06-25 07:48:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c9535cd5-58a7-49a3-8d87-9acff912d875</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c9535cd5-58a7-49a3-8d87-9acff912d875</title></pubsub></data>

2021-06-25 07:48:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 07:48:18 | [Mutex] waiting for: [received:nodes:27ed1f4d-5ba7-4d8a-8c5c-1e3e85bfd9da:localhost]

2021-06-25 07:48:18 | [Mutex] received everything.

2021-06-25 07:48:18 | [Mutex] isItemNotified: received:node:27ed1f4d-5ba7-4d8a-8c5c-1e3e85bfd9da:localhost:node-c9535cd5-58a7-49a3-8d87-9acff912d875:Node c9535cd5-58a7-49a3-8d87-9acff912d875 :: true

deleteNodes 1.027s
2021-06-25 07:48:24 |

2021-06-25 07:48:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:24 | ------------------------------------

2021-06-25 07:48:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c9535cd5-58a7-49a3-8d87-9acff912d875</node></data>

2021-06-25 07:48:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 07:48:25 | [Mutex] waiting for: [received:nodes:ec058b32-918b-435a-84c1-ac5342e4e1c4:localhost]

2021-06-25 07:48:25 | [Mutex] received everything.

2021-06-25 07:48:25 | [Mutex] isItemNotified: received:node:ec058b32-918b-435a-84c1-ac5342e4e1c4:localhost:node-c9535cd5-58a7-49a3-8d87-9acff912d875:Node c9535cd5-58a7-49a3-8d87-9acff912d875 :: false

deleteSubnodes 1.147s
2021-06-25 07:48:23 |

2021-06-25 07:48:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:23 | ------------------------------------

2021-06-25 07:48:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9ec74f00-5f3d-462d-af66-e513655cb3c5</node></data>

2021-06-25 07:48:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 07:48:24 | [Mutex] waiting for: [received:nodes:acd3c4b7-d208-482c-a822-543ff9cede36:localhost]

2021-06-25 07:48:24 | [Mutex] received everything.

2021-06-25 07:48:24 | [Mutex] isItemNotified: received:node:acd3c4b7-d208-482c-a822-543ff9cede36:localhost:node-9ec74f00-5f3d-462d-af66-e513655cb3c5:Node 9ec74f00-5f3d-462d-af66-e513655cb3c5 :: false

2021-06-25 07:48:24 | [Mutex] waiting for: [received:nodes:5ce8c540-a586-440e-80f7-af74b8973b7f:localhost]

2021-06-25 07:48:24 | [Mutex] received everything.

2021-06-25 07:48:24 | [Mutex] isItemNotified: received:node:5ce8c540-a586-440e-80f7-af74b8973b7f:localhost:node-9ec74f00-5f3d-462d-af66-e513655cb3c5:Node 9ec74f00-5f3d-462d-af66-e513655cb3c5 :: false

publishItemsToNodes 0.238s
2021-06-25 07:48:20 |

2021-06-25 07:48:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:20 | ------------------------------------

2021-06-25 07:48:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9ec74f00-5f3d-462d-af66-e513655cb3c5</node><item-id>item-0ecba3f4-e67e-4db0-bcbd-227eb800a719</item-id><entry><test>item-0ecba3f4-e67e-4db0-bcbd-227eb800a719</test></entry></data>

2021-06-25 07:48:21 | 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-0ecba3f4-e67e-4db0-bcbd-227eb800a719</value></item-id></result>

2021-06-25 07:48:21 | [Mutex] waiting for: [published:item:notifieditem-0ecba3f4-e67e-4db0-bcbd-227eb800a719:admin@test-domain.com]

2021-06-25 07:48:21 | [Mutex] received everything.

2021-06-25 07:48:21 | [Mutex] isItemNotified: published:item:notifieditem-0ecba3f4-e67e-4db0-bcbd-227eb800a719:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2021-06-25 07:48:21 |

2021-06-25 07:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:21 | ------------------------------------

2021-06-25 07:48:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9ec74f00-5f3d-462d-af66-e513655cb3c5</node><item-id>item-0ecba3f4-e67e-4db0-bcbd-227eb800a719</item-id></data>

2021-06-25 07:48:21 | 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-0ecba3f4-e67e-4db0-bcbd-227eb800a719</value></item-id></result>

2021-06-25 07:48:21 | [Mutex] received everything.

2021-06-25 07:48:21 | [Mutex] isItemNotified: retracted:item:notifieditem-0ecba3f4-e67e-4db0-bcbd-227eb800a719:admin@test-domain.com :: true

retrieveItemsFromNodes 0.343s
2021-06-25 07:48:21 |

2021-06-25 07:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:21 | ------------------------------------

2021-06-25 07:48:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9ec74f00-5f3d-462d-af66-e513655cb3c5</node><item-id>item-0ecba3f4-e67e-4db0-bcbd-227eb800a719</item-id></data>

2021-06-25 07:48:21 | 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-9ec74f00-5f3d-462d-af66-e513655cb3c5</value></node><item-id label="Item ID" type="text-single"><value>item-0ecba3f4-e67e-4db0-bcbd-227eb800a719</value></item-id><item label="Item" type="text-multi"><value><item id="item-0ecba3f4-e67e-4db0-bcbd-227eb800a719"><test>item-0ecba3f4-e67e-4db0-bcbd-227eb800a719</test></item></value></item></result>

2021-06-25 07:48:21 | [Mutex] notify: [retrieved:item:item-0ecba3f4-e67e-4db0-bcbd-227eb800a719:payload-matches:true:localhost]

2021-06-25 07:48:21 | [Mutex] received everything.

2021-06-25 07:48:21 | [Mutex] isItemNotified: retrieved:item:item-0ecba3f4-e67e-4db0-bcbd-227eb800a719:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-06-25 07:48:21 |

2021-06-25 07:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:21 | ------------------------------------

2021-06-25 07:48:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-25 07:48:21 | 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-9ec74f00-5f3d-462d-af66-e513655cb3c5</value><value>node-c9535cd5-58a7-49a3-8d87-9acff912d875</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-06-25 07:48:21 |

2021-06-25 07:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:21 | ------------------------------------

2021-06-25 07:48:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9ec74f00-5f3d-462d-af66-e513655cb3c5)</node-pattern></data>

2021-06-25 07:48:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.208s
2021-06-25 07:48:19 |

2021-06-25 07:48:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:19 | ------------------------------------

2021-06-25 07:48:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9ec74f00-5f3d-462d-af66-e513655cb3c5</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-25 07:48:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2021-06-25 07:48:21 |

2021-06-25 07:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 07:48:21 | ------------------------------------

2021-06-25 07:48:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9ec74f00-5f3d-462d-af66-e513655cb3c5</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-25 07:48:22 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>