Generated by TestNG with ReportNG at 22:51 PDT on Tuesday 27 September 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.476s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.030s
2022-09-27 23:05:01 |

2022-09-27 23:05:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:01 | ------------------------------------

2022-09-27 23:05:01 | [Mutex] waiting for: [configured:node:node-537ff732-2905-4339-8f2d-f4ccfd477ff6:node-24e0458a-1507-4179-9bd0-d745f07427fe]

2022-09-27 23:05:01 | [Mutex] received everything.

2022-09-27 23:05:01 | [Mutex] isItemNotified: configured:node:node-537ff732-2905-4339-8f2d-f4ccfd477ff6:node-24e0458a-1507-4179-9bd0-d745f07427fe :: true

2022-09-27 23:05:02 | [Mutex] waiting for: [received:nodes:686f79f2-0a92-42f0-81ae-c70e339fba20:localhost]

2022-09-27 23:05:02 | [Mutex] received everything.

2022-09-27 23:05:02 | [Mutex] isItemNotified: received:node:686f79f2-0a92-42f0-81ae-c70e339fba20:localhost:node-537ff732-2905-4339-8f2d-f4ccfd477ff6:Node 537ff732-2905-4339-8f2d-f4ccfd477ff6 :: true

2022-09-27 23:05:02 | [Mutex] waiting for: [received:nodes:f94f9ec9-f859-46f9-bce9-486fc573b251:localhost]

2022-09-27 23:05:02 | [Mutex] received everything.

2022-09-27 23:05:02 | [Mutex] isItemNotified: received:node:f94f9ec9-f859-46f9-bce9-486fc573b251:localhost:node-537ff732-2905-4339-8f2d-f4ccfd477ff6:Node 537ff732-2905-4339-8f2d-f4ccfd477ff6 :: false

createNodes 1.461s
2022-09-27 23:04:59 |

2022-09-27 23:04:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:04:59 | ------------------------------------

2022-09-27 23:04:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-537ff732-2905-4339-8f2d-f4ccfd477ff6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 537ff732-2905-4339-8f2d-f4ccfd477ff6</title></pubsub></data>

2022-09-27 23:04:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-27 23:05:00 | [Mutex] waiting for: [received:nodes:65fabcc3-b727-4759-932f-7a1539943c8a:localhost]

2022-09-27 23:05:00 | [Mutex] received everything.

2022-09-27 23:05:00 | [Mutex] isItemNotified: received:node:65fabcc3-b727-4759-932f-7a1539943c8a:localhost:node-537ff732-2905-4339-8f2d-f4ccfd477ff6:Node 537ff732-2905-4339-8f2d-f4ccfd477ff6 :: true

createSubnodes 1.024s
2022-09-27 23:05:00 |

2022-09-27 23:05:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:00 | ------------------------------------

2022-09-27 23:05:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-24e0458a-1507-4179-9bd0-d745f07427fe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 24e0458a-1507-4179-9bd0-d745f07427fe</title></pubsub></data>

2022-09-27 23:05:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-27 23:05:01 | [Mutex] waiting for: [received:nodes:0894c690-9b76-4c7c-be78-0ea9ad2b7df3:localhost]

2022-09-27 23:05:01 | [Mutex] received everything.

2022-09-27 23:05:01 | [Mutex] isItemNotified: received:node:0894c690-9b76-4c7c-be78-0ea9ad2b7df3:localhost:node-24e0458a-1507-4179-9bd0-d745f07427fe:Node 24e0458a-1507-4179-9bd0-d745f07427fe :: true

deleteNodes 1.021s
2022-09-27 23:05:06 |

2022-09-27 23:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:06 | ------------------------------------

2022-09-27 23:05:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-24e0458a-1507-4179-9bd0-d745f07427fe</node></data>

2022-09-27 23:05:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-27 23:05:08 | [Mutex] waiting for: [received:nodes:84be5180-20ea-4812-9cd2-c63cdbe4d8f2:localhost]

2022-09-27 23:05:08 | [Mutex] received everything.

2022-09-27 23:05:08 | [Mutex] isItemNotified: received:node:84be5180-20ea-4812-9cd2-c63cdbe4d8f2:localhost:node-24e0458a-1507-4179-9bd0-d745f07427fe:Node 24e0458a-1507-4179-9bd0-d745f07427fe :: false

deleteSubnodes 1.180s
2022-09-27 23:05:05 |

2022-09-27 23:05:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:05 | ------------------------------------

2022-09-27 23:05:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-537ff732-2905-4339-8f2d-f4ccfd477ff6</node></data>

2022-09-27 23:05:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-27 23:05:06 | [Mutex] waiting for: [received:nodes:6ae07bd9-4353-4bde-a910-0c494985d649:localhost]

2022-09-27 23:05:06 | [Mutex] received everything.

2022-09-27 23:05:06 | [Mutex] isItemNotified: received:node:6ae07bd9-4353-4bde-a910-0c494985d649:localhost:node-537ff732-2905-4339-8f2d-f4ccfd477ff6:Node 537ff732-2905-4339-8f2d-f4ccfd477ff6 :: false

2022-09-27 23:05:06 | [Mutex] waiting for: [received:nodes:af4822bb-7a8c-4ff4-990c-9b6764d54e6f:localhost]

2022-09-27 23:05:06 | [Mutex] received everything.

2022-09-27 23:05:06 | [Mutex] isItemNotified: received:node:af4822bb-7a8c-4ff4-990c-9b6764d54e6f:localhost:node-537ff732-2905-4339-8f2d-f4ccfd477ff6:Node 537ff732-2905-4339-8f2d-f4ccfd477ff6 :: false

publishItemsToNodes 0.173s
2022-09-27 23:05:03 |

2022-09-27 23:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:03 | ------------------------------------

2022-09-27 23:05:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-537ff732-2905-4339-8f2d-f4ccfd477ff6</node><item-id>item-c2e4c121-2e63-4df4-87e8-b17922f791a0</item-id><entry><test>item-c2e4c121-2e63-4df4-87e8-b17922f791a0</test></entry></data>

2022-09-27 23:05:03 | 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-c2e4c121-2e63-4df4-87e8-b17922f791a0</value></item-id></result>

2022-09-27 23:05:03 | [Mutex] waiting for: [published:item:notifieditem-c2e4c121-2e63-4df4-87e8-b17922f791a0:admin@test-domain.com]

2022-09-27 23:05:03 | [Mutex] received everything.

2022-09-27 23:05:03 | [Mutex] isItemNotified: published:item:notifieditem-c2e4c121-2e63-4df4-87e8-b17922f791a0:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2022-09-27 23:05:04 |

2022-09-27 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:04 | ------------------------------------

2022-09-27 23:05:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-537ff732-2905-4339-8f2d-f4ccfd477ff6</node><item-id>item-c2e4c121-2e63-4df4-87e8-b17922f791a0</item-id></data>

2022-09-27 23:05:04 | 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-c2e4c121-2e63-4df4-87e8-b17922f791a0</value></item-id></result>

2022-09-27 23:05:04 | [Mutex] received everything.

2022-09-27 23:05:04 | [Mutex] isItemNotified: retracted:item:notifieditem-c2e4c121-2e63-4df4-87e8-b17922f791a0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.277s
2022-09-27 23:05:03 |

2022-09-27 23:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:03 | ------------------------------------

2022-09-27 23:05:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-537ff732-2905-4339-8f2d-f4ccfd477ff6</node><item-id>item-c2e4c121-2e63-4df4-87e8-b17922f791a0</item-id></data>

2022-09-27 23:05:04 | 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-537ff732-2905-4339-8f2d-f4ccfd477ff6</value></node><item-id type="text-single" label="Item ID"><value>item-c2e4c121-2e63-4df4-87e8-b17922f791a0</value></item-id><item type="text-multi" label="Item"><value><item id="item-c2e4c121-2e63-4df4-87e8-b17922f791a0"><test>item-c2e4c121-2e63-4df4-87e8-b17922f791a0</test></item></value></item></result>

2022-09-27 23:05:04 | [Mutex] notify: [retrieved:item:item-c2e4c121-2e63-4df4-87e8-b17922f791a0:payload-matches:true:localhost]

2022-09-27 23:05:04 | [Mutex] received everything.

2022-09-27 23:05:04 | [Mutex] isItemNotified: retrieved:item:item-c2e4c121-2e63-4df4-87e8-b17922f791a0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-09-27 23:05:04 |

2022-09-27 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:04 | ------------------------------------

2022-09-27 23:05:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-27 23:05:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-24e0458a-1507-4179-9bd0-d745f07427fe</value><value>node-537ff732-2905-4339-8f2d-f4ccfd477ff6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.065s
2022-09-27 23:05:04 |

2022-09-27 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:04 | ------------------------------------

2022-09-27 23:05:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-537ff732-2905-4339-8f2d-f4ccfd477ff6)</node-pattern></data>

2022-09-27 23:05:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.104s
2022-09-27 23:05:02 |

2022-09-27 23:05:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:02 | ------------------------------------

2022-09-27 23:05:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-537ff732-2905-4339-8f2d-f4ccfd477ff6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-27 23:05:02 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.215s
2022-09-27 23:05:04 |

2022-09-27 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 23:05:04 | ------------------------------------

2022-09-27 23:05:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-537ff732-2905-4339-8f2d-f4ccfd477ff6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-27 23:05:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>