Generated by TestNG with ReportNG at 21:34 PST on Monday 07 February 2022
root@b2c2a8eba6e6 / 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.305s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2022-02-07 21:50:38 |

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

2022-02-07 21:50:38 | ------------------------------------

2022-02-07 21:50:38 | [Mutex] waiting for: [configured:node:node-d00d8b4e-ed84-445b-9027-87dc18bafb57:node-c515a059-6dff-485b-8dda-20b3187bf3da]

2022-02-07 21:50:39 | [Mutex] received everything.

2022-02-07 21:50:39 | [Mutex] isItemNotified: configured:node:node-d00d8b4e-ed84-445b-9027-87dc18bafb57:node-c515a059-6dff-485b-8dda-20b3187bf3da :: true

2022-02-07 21:50:40 | [Mutex] waiting for: [received:nodes:ad398757-97e3-460e-b4d9-90fa108ed091:localhost]

2022-02-07 21:50:40 | [Mutex] received everything.

2022-02-07 21:50:40 | [Mutex] isItemNotified: received:node:ad398757-97e3-460e-b4d9-90fa108ed091:localhost:node-d00d8b4e-ed84-445b-9027-87dc18bafb57:Node d00d8b4e-ed84-445b-9027-87dc18bafb57 :: true

2022-02-07 21:50:40 | [Mutex] waiting for: [received:nodes:b99016a7-d864-4135-b8f1-cdc459edcfee:localhost]

2022-02-07 21:50:40 | [Mutex] received everything.

2022-02-07 21:50:40 | [Mutex] isItemNotified: received:node:b99016a7-d864-4135-b8f1-cdc459edcfee:localhost:node-d00d8b4e-ed84-445b-9027-87dc18bafb57:Node d00d8b4e-ed84-445b-9027-87dc18bafb57 :: false

createNodes 1.666s
2022-02-07 21:50:36 |

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

2022-02-07 21:50:36 | ------------------------------------

2022-02-07 21:50:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d00d8b4e-ed84-445b-9027-87dc18bafb57</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d00d8b4e-ed84-445b-9027-87dc18bafb57</title></pubsub></data>

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

2022-02-07 21:50:37 | [Mutex] waiting for: [received:nodes:70fd818f-866e-4cc3-8d1a-f5326fb88045:localhost]

2022-02-07 21:50:37 | [Mutex] received everything.

2022-02-07 21:50:37 | [Mutex] isItemNotified: received:node:70fd818f-866e-4cc3-8d1a-f5326fb88045:localhost:node-d00d8b4e-ed84-445b-9027-87dc18bafb57:Node d00d8b4e-ed84-445b-9027-87dc18bafb57 :: true

createSubnodes 1.036s
2022-02-07 21:50:37 |

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

2022-02-07 21:50:37 | ------------------------------------

2022-02-07 21:50:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c515a059-6dff-485b-8dda-20b3187bf3da</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c515a059-6dff-485b-8dda-20b3187bf3da</title></pubsub></data>

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

2022-02-07 21:50:38 | [Mutex] waiting for: [received:nodes:1c0d4f22-33b0-4242-b7d3-d261b084ac76:localhost]

2022-02-07 21:50:38 | [Mutex] received everything.

2022-02-07 21:50:38 | [Mutex] isItemNotified: received:node:1c0d4f22-33b0-4242-b7d3-d261b084ac76:localhost:node-c515a059-6dff-485b-8dda-20b3187bf3da:Node c515a059-6dff-485b-8dda-20b3187bf3da :: true

deleteNodes 1.023s
2022-02-07 21:50:44 |

2022-02-07 21:50:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:50:44 | ------------------------------------

2022-02-07 21:50:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c515a059-6dff-485b-8dda-20b3187bf3da</node></data>

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

2022-02-07 21:50:45 | [Mutex] waiting for: [received:nodes:44dde323-d384-4635-90af-6c5ed1931832:localhost]

2022-02-07 21:50:45 | [Mutex] received everything.

2022-02-07 21:50:45 | [Mutex] isItemNotified: received:node:44dde323-d384-4635-90af-6c5ed1931832:localhost:node-c515a059-6dff-485b-8dda-20b3187bf3da:Node c515a059-6dff-485b-8dda-20b3187bf3da :: false

deleteSubnodes 1.164s
2022-02-07 21:50:43 |

2022-02-07 21:50:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:50:43 | ------------------------------------

2022-02-07 21:50:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d00d8b4e-ed84-445b-9027-87dc18bafb57</node></data>

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

2022-02-07 21:50:44 | [Mutex] waiting for: [received:nodes:6abd231b-f237-4e82-9c2d-4349dd7de0bb:localhost]

2022-02-07 21:50:44 | [Mutex] received everything.

2022-02-07 21:50:44 | [Mutex] isItemNotified: received:node:6abd231b-f237-4e82-9c2d-4349dd7de0bb:localhost:node-d00d8b4e-ed84-445b-9027-87dc18bafb57:Node d00d8b4e-ed84-445b-9027-87dc18bafb57 :: false

2022-02-07 21:50:44 | [Mutex] waiting for: [received:nodes:347e44c8-d459-488a-987f-790cb6a2cdd9:localhost]

2022-02-07 21:50:44 | [Mutex] received everything.

2022-02-07 21:50:44 | [Mutex] isItemNotified: received:node:347e44c8-d459-488a-987f-790cb6a2cdd9:localhost:node-d00d8b4e-ed84-445b-9027-87dc18bafb57:Node d00d8b4e-ed84-445b-9027-87dc18bafb57 :: false

publishItemsToNodes 0.278s
2022-02-07 21:50:41 |

2022-02-07 21:50:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:50:41 | ------------------------------------

2022-02-07 21:50:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d00d8b4e-ed84-445b-9027-87dc18bafb57</node><item-id>item-5ab1f6c1-d330-4572-83f1-88df265b1204</item-id><entry><test>item-5ab1f6c1-d330-4572-83f1-88df265b1204</test></entry></data>

2022-02-07 21:50:41 | 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-5ab1f6c1-d330-4572-83f1-88df265b1204</value></item-id></result>

2022-02-07 21:50:41 | [Mutex] received everything.

2022-02-07 21:50:41 | [Mutex] isItemNotified: published:item:notifieditem-5ab1f6c1-d330-4572-83f1-88df265b1204:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2022-02-07 21:50:41 |

2022-02-07 21:50:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:50:41 | ------------------------------------

2022-02-07 21:50:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d00d8b4e-ed84-445b-9027-87dc18bafb57</node><item-id>item-5ab1f6c1-d330-4572-83f1-88df265b1204</item-id></data>

2022-02-07 21:50:42 | 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-5ab1f6c1-d330-4572-83f1-88df265b1204</value></item-id></result>

2022-02-07 21:50:42 | [Mutex] received everything.

2022-02-07 21:50:42 | [Mutex] isItemNotified: retracted:item:notifieditem-5ab1f6c1-d330-4572-83f1-88df265b1204:admin@test-domain.com :: true

retrieveItemsFromNodes 0.290s
2022-02-07 21:50:41 |

2022-02-07 21:50:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:50:41 | ------------------------------------

2022-02-07 21:50:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d00d8b4e-ed84-445b-9027-87dc18bafb57</node><item-id>item-5ab1f6c1-d330-4572-83f1-88df265b1204</item-id></data>

2022-02-07 21:50:41 | 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-d00d8b4e-ed84-445b-9027-87dc18bafb57</value></node><item-id type="text-single" label="Item ID"><value>item-5ab1f6c1-d330-4572-83f1-88df265b1204</value></item-id><item type="text-multi" label="Item"><value><item id="item-5ab1f6c1-d330-4572-83f1-88df265b1204"><test>item-5ab1f6c1-d330-4572-83f1-88df265b1204</test></item></value></item></result>

2022-02-07 21:50:41 | [Mutex] notify: [retrieved:item:item-5ab1f6c1-d330-4572-83f1-88df265b1204:payload-matches:true:localhost]

2022-02-07 21:50:41 | [Mutex] received everything.

2022-02-07 21:50:41 | [Mutex] isItemNotified: retrieved:item:item-5ab1f6c1-d330-4572-83f1-88df265b1204:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-07 21:50:41 |

2022-02-07 21:50:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:50:41 | ------------------------------------

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

2022-02-07 21:50:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d00d8b4e-ed84-445b-9027-87dc18bafb57</value><value>test</value><value>node-c515a059-6dff-485b-8dda-20b3187bf3da</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-07 21:50:41 |

2022-02-07 21:50:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:50:41 | ------------------------------------

2022-02-07 21:50:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d00d8b4e-ed84-445b-9027-87dc18bafb57)</node-pattern></data>

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

subscribeNodes 1.161s
2022-02-07 21:50:40 |

2022-02-07 21:50:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:50:40 | ------------------------------------

2022-02-07 21:50:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d00d8b4e-ed84-445b-9027-87dc18bafb57</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-07 21:50:40 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.207s
2022-02-07 21:50:42 |

2022-02-07 21:50:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:50:42 | ------------------------------------

2022-02-07 21:50:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d00d8b4e-ed84-445b-9027-87dc18bafb57</node><jids><value>admin@test-domain.com</value></jids></data>

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