Generated by TestNG with ReportNG at 08:08 PST on Wednesday 16 February 2022
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.054s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.146s
2022-02-16 08:21:33 |

2022-02-16 08:21:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:33 | ------------------------------------

2022-02-16 08:21:33 | [Mutex] waiting for: [configured:node:node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31:node-0ad29e65-cd53-4de0-8015-82e04014c94b]

2022-02-16 08:21:33 | [Mutex] received everything.

2022-02-16 08:21:33 | [Mutex] isItemNotified: configured:node:node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31:node-0ad29e65-cd53-4de0-8015-82e04014c94b :: true

2022-02-16 08:21:34 | [Mutex] waiting for: [received:nodes:be3f53f1-528a-481d-830d-d999d9864303:localhost]

2022-02-16 08:21:34 | [Mutex] received everything.

2022-02-16 08:21:34 | [Mutex] isItemNotified: received:node:be3f53f1-528a-481d-830d-d999d9864303:localhost:node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31:Node b8bd8db8-56da-4d2b-8c07-22c0bbf64f31 :: true

2022-02-16 08:21:34 | [Mutex] waiting for: [received:nodes:4f4efd8b-e5a1-4c29-a3b5-b885a2f34b6b:localhost]

2022-02-16 08:21:34 | [Mutex] received everything.

2022-02-16 08:21:34 | [Mutex] isItemNotified: received:node:4f4efd8b-e5a1-4c29-a3b5-b885a2f34b6b:localhost:node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31:Node b8bd8db8-56da-4d2b-8c07-22c0bbf64f31 :: false

createNodes 1.472s
2022-02-16 08:21:30 |

2022-02-16 08:21:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:30 | ------------------------------------

2022-02-16 08:21:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b8bd8db8-56da-4d2b-8c07-22c0bbf64f31</title></pubsub></data>

2022-02-16 08:21:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 08:21:32 | [Mutex] waiting for: [received:nodes:303e5b9f-ec03-41d5-bd2a-360f1b86c65c:localhost]

2022-02-16 08:21:32 | [Mutex] received everything.

2022-02-16 08:21:32 | [Mutex] isItemNotified: received:node:303e5b9f-ec03-41d5-bd2a-360f1b86c65c:localhost:node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31:Node b8bd8db8-56da-4d2b-8c07-22c0bbf64f31 :: true

createSubnodes 1.039s
2022-02-16 08:21:32 |

2022-02-16 08:21:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:32 | ------------------------------------

2022-02-16 08:21:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0ad29e65-cd53-4de0-8015-82e04014c94b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0ad29e65-cd53-4de0-8015-82e04014c94b</title></pubsub></data>

2022-02-16 08:21:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 08:21:33 | [Mutex] waiting for: [received:nodes:2345d984-38a4-42d9-9bcb-405380bfe63f:localhost]

2022-02-16 08:21:33 | [Mutex] received everything.

2022-02-16 08:21:33 | [Mutex] isItemNotified: received:node:2345d984-38a4-42d9-9bcb-405380bfe63f:localhost:node-0ad29e65-cd53-4de0-8015-82e04014c94b:Node 0ad29e65-cd53-4de0-8015-82e04014c94b :: true

deleteNodes 1.023s
2022-02-16 08:21:38 |

2022-02-16 08:21:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:38 | ------------------------------------

2022-02-16 08:21:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0ad29e65-cd53-4de0-8015-82e04014c94b</node></data>

2022-02-16 08:21:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 08:21:40 | [Mutex] waiting for: [received:nodes:eaeb40d4-0bcc-4763-94bf-041c1ec4759d:localhost]

2022-02-16 08:21:40 | [Mutex] waiting for: [received:nodes:eaeb40d4-0bcc-4763-94bf-041c1ec4759d:localhost]

2022-02-16 08:21:40 | [Mutex] waiting for: [received:nodes:eaeb40d4-0bcc-4763-94bf-041c1ec4759d:localhost]

2022-02-16 08:21:40 | [Mutex] received everything.

2022-02-16 08:21:40 | [Mutex] isItemNotified: received:node:eaeb40d4-0bcc-4763-94bf-041c1ec4759d:localhost:node-0ad29e65-cd53-4de0-8015-82e04014c94b:Node 0ad29e65-cd53-4de0-8015-82e04014c94b :: false

deleteSubnodes 1.164s
2022-02-16 08:21:37 |

2022-02-16 08:21:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:37 | ------------------------------------

2022-02-16 08:21:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31</node></data>

2022-02-16 08:21:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 08:21:38 | [Mutex] waiting for: [received:nodes:b8854f10-6ee3-464f-bcff-841e8db654b6:localhost]

2022-02-16 08:21:38 | [Mutex] waiting for: [received:nodes:b8854f10-6ee3-464f-bcff-841e8db654b6:localhost]

2022-02-16 08:21:38 | [Mutex] received everything.

2022-02-16 08:21:38 | [Mutex] isItemNotified: received:node:b8854f10-6ee3-464f-bcff-841e8db654b6:localhost:node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31:Node b8bd8db8-56da-4d2b-8c07-22c0bbf64f31 :: false

2022-02-16 08:21:38 | [Mutex] waiting for: [received:nodes:88982b45-c56a-4dbe-817e-4348b8acce67:localhost]

2022-02-16 08:21:38 | [Mutex] received everything.

2022-02-16 08:21:38 | [Mutex] isItemNotified: received:node:88982b45-c56a-4dbe-817e-4348b8acce67:localhost:node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31:Node b8bd8db8-56da-4d2b-8c07-22c0bbf64f31 :: false

publishItemsToNodes 0.287s
2022-02-16 08:21:35 |

2022-02-16 08:21:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:35 | ------------------------------------

2022-02-16 08:21:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31</node><item-id>item-7616cfba-86f8-41e8-8ee5-b28475155235</item-id><entry><test>item-7616cfba-86f8-41e8-8ee5-b28475155235</test></entry></data>

2022-02-16 08:21:35 | 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-7616cfba-86f8-41e8-8ee5-b28475155235</value></item-id></result>

2022-02-16 08:21:35 | [Mutex] waiting for: [published:item:notifieditem-7616cfba-86f8-41e8-8ee5-b28475155235:admin@test-domain.com]

2022-02-16 08:21:35 | [Mutex] received everything.

2022-02-16 08:21:35 | [Mutex] isItemNotified: published:item:notifieditem-7616cfba-86f8-41e8-8ee5-b28475155235:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2022-02-16 08:21:36 |

2022-02-16 08:21:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:36 | ------------------------------------

2022-02-16 08:21:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31</node><item-id>item-7616cfba-86f8-41e8-8ee5-b28475155235</item-id></data>

2022-02-16 08:21:36 | 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-7616cfba-86f8-41e8-8ee5-b28475155235</value></item-id></result>

2022-02-16 08:21:36 | [Mutex] received everything.

2022-02-16 08:21:36 | [Mutex] isItemNotified: retracted:item:notifieditem-7616cfba-86f8-41e8-8ee5-b28475155235:admin@test-domain.com :: true

retrieveItemsFromNodes 0.181s
2022-02-16 08:21:35 |

2022-02-16 08:21:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:35 | ------------------------------------

2022-02-16 08:21:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31</node><item-id>item-7616cfba-86f8-41e8-8ee5-b28475155235</item-id></data>

2022-02-16 08:21:36 | 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-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31</value></node><item-id label="Item ID" type="text-single"><value>item-7616cfba-86f8-41e8-8ee5-b28475155235</value></item-id><item label="Item" type="text-multi"><value><item id="item-7616cfba-86f8-41e8-8ee5-b28475155235"><test>item-7616cfba-86f8-41e8-8ee5-b28475155235</test></item></value></item></result>

2022-02-16 08:21:36 | [Mutex] notify: [retrieved:item:item-7616cfba-86f8-41e8-8ee5-b28475155235:payload-matches:true:localhost]

2022-02-16 08:21:36 | [Mutex] received everything.

2022-02-16 08:21:36 | [Mutex] isItemNotified: retrieved:item:item-7616cfba-86f8-41e8-8ee5-b28475155235:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-02-16 08:21:36 |

2022-02-16 08:21:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:36 | ------------------------------------

2022-02-16 08:21:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-16 08:21:36 | 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-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31</value><value>node-0ad29e65-cd53-4de0-8015-82e04014c94b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-16 08:21:36 |

2022-02-16 08:21:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:36 | ------------------------------------

2022-02-16 08:21:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31)</node-pattern></data>

2022-02-16 08:21:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.129s
2022-02-16 08:21:34 |

2022-02-16 08:21:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:34 | ------------------------------------

2022-02-16 08:21:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-16 08:21:34 | 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-02-16 08:21:36 |

2022-02-16 08:21:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 08:21:36 | ------------------------------------

2022-02-16 08:21:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b8bd8db8-56da-4d2b-8c07-22c0bbf64f31</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-16 08:21:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>