Generated by TestNG with ReportNG at 22:43 PDT on Tuesday 04 July 2023
root@8f5c98824654 / Java 17.0.6 (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.525s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2023-07-04 22:57:52 |

2023-07-04 22:57:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:52 | ------------------------------------

2023-07-04 22:57:52 | [Mutex] waiting for: [configured:node:node-8464517e-a389-4e00-814e-dd1bb385837d:node-702a63e8-3e2f-4f79-bcb5-f8483eb2ee8f]

2023-07-04 22:57:52 | [Mutex] received everything.

2023-07-04 22:57:52 | [Mutex] isItemNotified: configured:node:node-8464517e-a389-4e00-814e-dd1bb385837d:node-702a63e8-3e2f-4f79-bcb5-f8483eb2ee8f :: true

2023-07-04 22:57:53 | [Mutex] waiting for: [received:nodes:321126f3-319a-4c27-bfba-e60eaac142c4:localhost]

2023-07-04 22:57:53 | [Mutex] received everything.

2023-07-04 22:57:53 | [Mutex] isItemNotified: received:node:321126f3-319a-4c27-bfba-e60eaac142c4:localhost:node-8464517e-a389-4e00-814e-dd1bb385837d:Node 8464517e-a389-4e00-814e-dd1bb385837d :: true

2023-07-04 22:57:53 | [Mutex] waiting for: [received:nodes:b68a909e-2abb-4f72-ace4-b9b51af94a3e:localhost]

2023-07-04 22:57:53 | [Mutex] waiting for: [received:nodes:b68a909e-2abb-4f72-ace4-b9b51af94a3e:localhost]

2023-07-04 22:57:53 | [Mutex] waiting for: [received:nodes:b68a909e-2abb-4f72-ace4-b9b51af94a3e:localhost]

2023-07-04 22:57:53 | [Mutex] waiting for: [received:nodes:b68a909e-2abb-4f72-ace4-b9b51af94a3e:localhost]

2023-07-04 22:57:53 | [Mutex] received everything.

2023-07-04 22:57:53 | [Mutex] isItemNotified: received:node:b68a909e-2abb-4f72-ace4-b9b51af94a3e:localhost:node-8464517e-a389-4e00-814e-dd1bb385837d:Node 8464517e-a389-4e00-814e-dd1bb385837d :: false

createNodes 1.421s
2023-07-04 22:57:50 |

2023-07-04 22:57:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:50 | ------------------------------------

2023-07-04 22:57:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8464517e-a389-4e00-814e-dd1bb385837d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8464517e-a389-4e00-814e-dd1bb385837d</title></pubsub></data>

2023-07-04 22:57:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:57:51 | [Mutex] waiting for: [received:nodes:6cc96dd6-4098-4fb8-a0bd-cc43118547ab:localhost]

2023-07-04 22:57:51 | [Mutex] waiting for: [received:nodes:6cc96dd6-4098-4fb8-a0bd-cc43118547ab:localhost]

2023-07-04 22:57:51 | [Mutex] waiting for: [received:nodes:6cc96dd6-4098-4fb8-a0bd-cc43118547ab:localhost]

2023-07-04 22:57:51 | [Mutex] waiting for: [received:nodes:6cc96dd6-4098-4fb8-a0bd-cc43118547ab:localhost]

2023-07-04 22:57:51 | [Mutex] received everything.

2023-07-04 22:57:51 | [Mutex] isItemNotified: received:node:6cc96dd6-4098-4fb8-a0bd-cc43118547ab:localhost:node-8464517e-a389-4e00-814e-dd1bb385837d:Node 8464517e-a389-4e00-814e-dd1bb385837d :: true

createSubnodes 1.027s
2023-07-04 22:57:51 |

2023-07-04 22:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:51 | ------------------------------------

2023-07-04 22:57:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-702a63e8-3e2f-4f79-bcb5-f8483eb2ee8f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 702a63e8-3e2f-4f79-bcb5-f8483eb2ee8f</title></pubsub></data>

2023-07-04 22:57:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:57:52 | [Mutex] waiting for: [received:nodes:8c32c899-a6a2-4256-a130-bc8b289abc1c:localhost]

2023-07-04 22:57:52 | [Mutex] waiting for: [received:nodes:8c32c899-a6a2-4256-a130-bc8b289abc1c:localhost]

2023-07-04 22:57:52 | [Mutex] waiting for: [received:nodes:8c32c899-a6a2-4256-a130-bc8b289abc1c:localhost]

2023-07-04 22:57:52 | [Mutex] waiting for: [received:nodes:8c32c899-a6a2-4256-a130-bc8b289abc1c:localhost]

2023-07-04 22:57:52 | [Mutex] received everything.

2023-07-04 22:57:52 | [Mutex] isItemNotified: received:node:8c32c899-a6a2-4256-a130-bc8b289abc1c:localhost:node-702a63e8-3e2f-4f79-bcb5-f8483eb2ee8f:Node 702a63e8-3e2f-4f79-bcb5-f8483eb2ee8f :: true

deleteNodes 1.016s
2023-07-04 22:57:58 |

2023-07-04 22:57:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:58 | ------------------------------------

2023-07-04 22:57:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-702a63e8-3e2f-4f79-bcb5-f8483eb2ee8f</node></data>

2023-07-04 22:57:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:57:59 | [Mutex] waiting for: [received:nodes:e9a95cfb-1668-4293-a201-196ab84693b3:localhost]

2023-07-04 22:57:59 | [Mutex] waiting for: [received:nodes:e9a95cfb-1668-4293-a201-196ab84693b3:localhost]

2023-07-04 22:57:59 | [Mutex] waiting for: [received:nodes:e9a95cfb-1668-4293-a201-196ab84693b3:localhost]

2023-07-04 22:57:59 | [Mutex] received everything.

2023-07-04 22:57:59 | [Mutex] isItemNotified: received:node:e9a95cfb-1668-4293-a201-196ab84693b3:localhost:node-702a63e8-3e2f-4f79-bcb5-f8483eb2ee8f:Node 702a63e8-3e2f-4f79-bcb5-f8483eb2ee8f :: false

deleteSubnodes 1.108s
2023-07-04 22:57:57 |

2023-07-04 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:57 | ------------------------------------

2023-07-04 22:57:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8464517e-a389-4e00-814e-dd1bb385837d</node></data>

2023-07-04 22:57:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:57:58 | [Mutex] waiting for: [received:nodes:e4127f16-0a20-4e6c-9071-bf27e30345f3:localhost]

2023-07-04 22:57:58 | [Mutex] waiting for: [received:nodes:e4127f16-0a20-4e6c-9071-bf27e30345f3:localhost]

2023-07-04 22:57:58 | [Mutex] waiting for: [received:nodes:e4127f16-0a20-4e6c-9071-bf27e30345f3:localhost]

2023-07-04 22:57:58 | [Mutex] waiting for: [received:nodes:e4127f16-0a20-4e6c-9071-bf27e30345f3:localhost]

2023-07-04 22:57:58 | [Mutex] received everything.

2023-07-04 22:57:58 | [Mutex] isItemNotified: received:node:e4127f16-0a20-4e6c-9071-bf27e30345f3:localhost:node-8464517e-a389-4e00-814e-dd1bb385837d:Node 8464517e-a389-4e00-814e-dd1bb385837d :: false

2023-07-04 22:57:58 | [Mutex] waiting for: [received:nodes:6a0f47ad-58c5-427c-83e5-400ad4e02bac:localhost]

2023-07-04 22:57:58 | [Mutex] received everything.

2023-07-04 22:57:58 | [Mutex] isItemNotified: received:node:6a0f47ad-58c5-427c-83e5-400ad4e02bac:localhost:node-8464517e-a389-4e00-814e-dd1bb385837d:Node 8464517e-a389-4e00-814e-dd1bb385837d :: false

publishItemsToNodes 0.295s
2023-07-04 22:57:54 |

2023-07-04 22:57:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:54 | ------------------------------------

2023-07-04 22:57:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8464517e-a389-4e00-814e-dd1bb385837d</node><item-id>item-503f5f9c-294e-43ed-acba-b2ce53ee687d</item-id><entry><test>item-503f5f9c-294e-43ed-acba-b2ce53ee687d</test></entry></data>

2023-07-04 22:57:55 | 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-503f5f9c-294e-43ed-acba-b2ce53ee687d</value></item-id></result>

2023-07-04 22:57:55 | [Mutex] received everything.

2023-07-04 22:57:55 | [Mutex] isItemNotified: published:item:notifieditem-503f5f9c-294e-43ed-acba-b2ce53ee687d:admin@test-domain.com :: true

retractItemsFromNodes 0.249s
2023-07-04 22:57:55 |

2023-07-04 22:57:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:55 | ------------------------------------

2023-07-04 22:57:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8464517e-a389-4e00-814e-dd1bb385837d</node><item-id>item-503f5f9c-294e-43ed-acba-b2ce53ee687d</item-id></data>

2023-07-04 22:57:55 | 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-503f5f9c-294e-43ed-acba-b2ce53ee687d</value></item-id></result>

2023-07-04 22:57:55 | [Mutex] received everything.

2023-07-04 22:57:55 | [Mutex] isItemNotified: retracted:item:notifieditem-503f5f9c-294e-43ed-acba-b2ce53ee687d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.246s
2023-07-04 22:57:55 |

2023-07-04 22:57:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:55 | ------------------------------------

2023-07-04 22:57:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8464517e-a389-4e00-814e-dd1bb385837d</node><item-id>item-503f5f9c-294e-43ed-acba-b2ce53ee687d</item-id></data>

2023-07-04 22:57:55 | 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-8464517e-a389-4e00-814e-dd1bb385837d</value></node><item-id label="Item ID" type="text-single"><value>item-503f5f9c-294e-43ed-acba-b2ce53ee687d</value></item-id><item label="Item" type="text-multi"><value><item id="item-503f5f9c-294e-43ed-acba-b2ce53ee687d"><test>item-503f5f9c-294e-43ed-acba-b2ce53ee687d</test></item></value></item></result>

2023-07-04 22:57:55 | [Mutex] notify: [retrieved:item:item-503f5f9c-294e-43ed-acba-b2ce53ee687d:payload-matches:true:localhost]

2023-07-04 22:57:55 | [Mutex] received everything.

2023-07-04 22:57:55 | [Mutex] isItemNotified: retrieved:item:item-503f5f9c-294e-43ed-acba-b2ce53ee687d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-07-04 22:57:55 |

2023-07-04 22:57:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:55 | ------------------------------------

2023-07-04 22:57:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-04 22:57:55 | 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-702a63e8-3e2f-4f79-bcb5-f8483eb2ee8f</value><value>node-8464517e-a389-4e00-814e-dd1bb385837d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-07-04 22:57:55 |

2023-07-04 22:57:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:55 | ------------------------------------

2023-07-04 22:57:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8464517e-a389-4e00-814e-dd1bb385837d)</node-pattern></data>

2023-07-04 22:57:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.150s
2023-07-04 22:57:53 |

2023-07-04 22:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:53 | ------------------------------------

2023-07-04 22:57:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8464517e-a389-4e00-814e-dd1bb385837d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-04 22:57:53 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.197s
2023-07-04 22:57:55 |

2023-07-04 22:57:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:57:55 | ------------------------------------

2023-07-04 22:57:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8464517e-a389-4e00-814e-dd1bb385837d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-04 22:57:56 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>