Generated by TestNG with ReportNG at 21:50 PST on Sunday 13 November 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.461s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2022-11-13 22:06:26 |

2022-11-13 22:06:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:26 | ------------------------------------

2022-11-13 22:06:26 | [Mutex] waiting for: [configured:node:node-e300317f-0450-4a19-b4ec-a643aec40eb6:node-b1f3d46b-3eba-435b-8a9c-59cf2098aa8c]

2022-11-13 22:06:26 | [Mutex] received everything.

2022-11-13 22:06:26 | [Mutex] isItemNotified: configured:node:node-e300317f-0450-4a19-b4ec-a643aec40eb6:node-b1f3d46b-3eba-435b-8a9c-59cf2098aa8c :: true

2022-11-13 22:06:27 | [Mutex] waiting for: [received:nodes:96d1789a-da84-469b-88d1-7c86fc0e75ff:localhost]

2022-11-13 22:06:27 | [Mutex] received everything.

2022-11-13 22:06:27 | [Mutex] isItemNotified: received:node:96d1789a-da84-469b-88d1-7c86fc0e75ff:localhost:node-e300317f-0450-4a19-b4ec-a643aec40eb6:Node e300317f-0450-4a19-b4ec-a643aec40eb6 :: true

2022-11-13 22:06:27 | [Mutex] waiting for: [received:nodes:0509d679-9fba-4197-87bb-9791dd527112:localhost]

2022-11-13 22:06:27 | [Mutex] waiting for: [received:nodes:0509d679-9fba-4197-87bb-9791dd527112:localhost]

2022-11-13 22:06:27 | [Mutex] received everything.

2022-11-13 22:06:27 | [Mutex] isItemNotified: received:node:0509d679-9fba-4197-87bb-9791dd527112:localhost:node-e300317f-0450-4a19-b4ec-a643aec40eb6:Node e300317f-0450-4a19-b4ec-a643aec40eb6 :: false

createNodes 1.428s
2022-11-13 22:06:23 |

2022-11-13 22:06:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:23 | ------------------------------------

2022-11-13 22:06:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e300317f-0450-4a19-b4ec-a643aec40eb6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e300317f-0450-4a19-b4ec-a643aec40eb6</title></pubsub></data>

2022-11-13 22:06:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-13 22:06:25 | [Mutex] waiting for: [received:nodes:aeb8c035-ec08-476f-b284-81b5e43e0d34:localhost]

2022-11-13 22:06:25 | [Mutex] waiting for: [received:nodes:aeb8c035-ec08-476f-b284-81b5e43e0d34:localhost]

2022-11-13 22:06:25 | [Mutex] received everything.

2022-11-13 22:06:25 | [Mutex] isItemNotified: received:node:aeb8c035-ec08-476f-b284-81b5e43e0d34:localhost:node-e300317f-0450-4a19-b4ec-a643aec40eb6:Node e300317f-0450-4a19-b4ec-a643aec40eb6 :: true

createSubnodes 1.019s
2022-11-13 22:06:25 |

2022-11-13 22:06:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:25 | ------------------------------------

2022-11-13 22:06:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b1f3d46b-3eba-435b-8a9c-59cf2098aa8c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b1f3d46b-3eba-435b-8a9c-59cf2098aa8c</title></pubsub></data>

2022-11-13 22:06:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-13 22:06:26 | [Mutex] waiting for: [received:nodes:aef994b8-c59b-4b3d-9e4d-af67ab8eeeca:localhost]

2022-11-13 22:06:26 | [Mutex] waiting for: [received:nodes:aef994b8-c59b-4b3d-9e4d-af67ab8eeeca:localhost]

2022-11-13 22:06:26 | [Mutex] received everything.

2022-11-13 22:06:26 | [Mutex] isItemNotified: received:node:aef994b8-c59b-4b3d-9e4d-af67ab8eeeca:localhost:node-b1f3d46b-3eba-435b-8a9c-59cf2098aa8c:Node b1f3d46b-3eba-435b-8a9c-59cf2098aa8c :: true

deleteNodes 1.018s
2022-11-13 22:06:31 |

2022-11-13 22:06:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:31 | ------------------------------------

2022-11-13 22:06:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b1f3d46b-3eba-435b-8a9c-59cf2098aa8c</node></data>

2022-11-13 22:06:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-13 22:06:32 | [Mutex] waiting for: [received:nodes:9c210485-d976-43fd-b05f-f4ff9eb41907:localhost]

2022-11-13 22:06:32 | [Mutex] waiting for: [received:nodes:9c210485-d976-43fd-b05f-f4ff9eb41907:localhost]

2022-11-13 22:06:32 | [Mutex] received everything.

2022-11-13 22:06:32 | [Mutex] isItemNotified: received:node:9c210485-d976-43fd-b05f-f4ff9eb41907:localhost:node-b1f3d46b-3eba-435b-8a9c-59cf2098aa8c:Node b1f3d46b-3eba-435b-8a9c-59cf2098aa8c :: false

deleteSubnodes 1.109s
2022-11-13 22:06:30 |

2022-11-13 22:06:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:30 | ------------------------------------

2022-11-13 22:06:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e300317f-0450-4a19-b4ec-a643aec40eb6</node></data>

2022-11-13 22:06:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-13 22:06:31 | [Mutex] waiting for: [received:nodes:4bece053-14bc-40a6-a240-f2d7f02d7f47:localhost]

2022-11-13 22:06:31 | [Mutex] waiting for: [received:nodes:4bece053-14bc-40a6-a240-f2d7f02d7f47:localhost]

2022-11-13 22:06:31 | [Mutex] waiting for: [received:nodes:4bece053-14bc-40a6-a240-f2d7f02d7f47:localhost]

2022-11-13 22:06:31 | [Mutex] waiting for: [received:nodes:4bece053-14bc-40a6-a240-f2d7f02d7f47:localhost]

2022-11-13 22:06:31 | [Mutex] received everything.

2022-11-13 22:06:31 | [Mutex] isItemNotified: received:node:4bece053-14bc-40a6-a240-f2d7f02d7f47:localhost:node-e300317f-0450-4a19-b4ec-a643aec40eb6:Node e300317f-0450-4a19-b4ec-a643aec40eb6 :: false

2022-11-13 22:06:31 | [Mutex] waiting for: [received:nodes:8ac5f7c2-25db-41c8-8cda-213606d7b6d1:localhost]

2022-11-13 22:06:31 | [Mutex] received everything.

2022-11-13 22:06:31 | [Mutex] isItemNotified: received:node:8ac5f7c2-25db-41c8-8cda-213606d7b6d1:localhost:node-e300317f-0450-4a19-b4ec-a643aec40eb6:Node e300317f-0450-4a19-b4ec-a643aec40eb6 :: false

publishItemsToNodes 0.174s
2022-11-13 22:06:28 |

2022-11-13 22:06:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:28 | ------------------------------------

2022-11-13 22:06:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e300317f-0450-4a19-b4ec-a643aec40eb6</node><item-id>item-6af051b6-4945-489a-b2da-1bc5a78c426b</item-id><entry><test>item-6af051b6-4945-489a-b2da-1bc5a78c426b</test></entry></data>

2022-11-13 22:06:28 | 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-6af051b6-4945-489a-b2da-1bc5a78c426b</value></item-id></result>

2022-11-13 22:06:28 | [Mutex] waiting for: [published:item:notifieditem-6af051b6-4945-489a-b2da-1bc5a78c426b:admin@test-domain.com]

2022-11-13 22:06:28 | [Mutex] received everything.

2022-11-13 22:06:28 | [Mutex] isItemNotified: published:item:notifieditem-6af051b6-4945-489a-b2da-1bc5a78c426b:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2022-11-13 22:06:29 |

2022-11-13 22:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:29 | ------------------------------------

2022-11-13 22:06:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e300317f-0450-4a19-b4ec-a643aec40eb6</node><item-id>item-6af051b6-4945-489a-b2da-1bc5a78c426b</item-id></data>

2022-11-13 22:06:29 | 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-6af051b6-4945-489a-b2da-1bc5a78c426b</value></item-id></result>

2022-11-13 22:06:29 | [Mutex] received everything.

2022-11-13 22:06:29 | [Mutex] isItemNotified: retracted:item:notifieditem-6af051b6-4945-489a-b2da-1bc5a78c426b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.260s
2022-11-13 22:06:28 |

2022-11-13 22:06:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:28 | ------------------------------------

2022-11-13 22:06:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e300317f-0450-4a19-b4ec-a643aec40eb6</node><item-id>item-6af051b6-4945-489a-b2da-1bc5a78c426b</item-id></data>

2022-11-13 22:06:28 | 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-e300317f-0450-4a19-b4ec-a643aec40eb6</value></node><item-id label="Item ID" type="text-single"><value>item-6af051b6-4945-489a-b2da-1bc5a78c426b</value></item-id><item label="Item" type="text-multi"><value><item id="item-6af051b6-4945-489a-b2da-1bc5a78c426b"><test>item-6af051b6-4945-489a-b2da-1bc5a78c426b</test></item></value></item></result>

2022-11-13 22:06:28 | [Mutex] notify: [retrieved:item:item-6af051b6-4945-489a-b2da-1bc5a78c426b:payload-matches:true:localhost]

2022-11-13 22:06:28 | [Mutex] received everything.

2022-11-13 22:06:28 | [Mutex] isItemNotified: retrieved:item:item-6af051b6-4945-489a-b2da-1bc5a78c426b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-11-13 22:06:28 |

2022-11-13 22:06:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:28 | ------------------------------------

2022-11-13 22:06:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-11-13 22:06:28 | 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-b1f3d46b-3eba-435b-8a9c-59cf2098aa8c</value><value>node-e300317f-0450-4a19-b4ec-a643aec40eb6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-11-13 22:06:28 |

2022-11-13 22:06:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:28 | ------------------------------------

2022-11-13 22:06:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e300317f-0450-4a19-b4ec-a643aec40eb6)</node-pattern></data>

2022-11-13 22:06:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.160s
2022-11-13 22:06:27 |

2022-11-13 22:06:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:27 | ------------------------------------

2022-11-13 22:06:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e300317f-0450-4a19-b4ec-a643aec40eb6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-13 22:06:27 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.174s
2022-11-13 22:06:29 |

2022-11-13 22:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 22:06:29 | ------------------------------------

2022-11-13 22:06:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e300317f-0450-4a19-b4ec-a643aec40eb6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-13 22:06:29 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>