Generated by TestNG with ReportNG at 06:08 PDT on Tuesday 12 July 2022
root@7c41cec37518 / 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.431s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.132s
2022-07-12 06:23:35 |

2022-07-12 06:23:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:35 | ------------------------------------

2022-07-12 06:23:35 | [Mutex] waiting for: [configured:node:node-6d87f9dd-9551-4252-be93-ce7c6169deae:node-d950a4cf-f6ab-4a0c-84c1-ea6c257ef068]

2022-07-12 06:23:35 | [Mutex] received everything.

2022-07-12 06:23:35 | [Mutex] isItemNotified: configured:node:node-6d87f9dd-9551-4252-be93-ce7c6169deae:node-d950a4cf-f6ab-4a0c-84c1-ea6c257ef068 :: true

2022-07-12 06:23:36 | [Mutex] waiting for: [received:nodes:2550f633-f14a-434d-89fc-47c914c28e29:localhost]

2022-07-12 06:23:36 | [Mutex] received everything.

2022-07-12 06:23:36 | [Mutex] isItemNotified: received:node:2550f633-f14a-434d-89fc-47c914c28e29:localhost:node-6d87f9dd-9551-4252-be93-ce7c6169deae:Node 6d87f9dd-9551-4252-be93-ce7c6169deae :: true

2022-07-12 06:23:36 | [Mutex] waiting for: [received:nodes:efab49ac-b35e-438c-acac-6e20500eb3a4:localhost]

2022-07-12 06:23:36 | [Mutex] received everything.

2022-07-12 06:23:36 | [Mutex] isItemNotified: received:node:efab49ac-b35e-438c-acac-6e20500eb3a4:localhost:node-6d87f9dd-9551-4252-be93-ce7c6169deae:Node 6d87f9dd-9551-4252-be93-ce7c6169deae :: false

createNodes 1.416s
2022-07-12 06:23:33 |

2022-07-12 06:23:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:33 | ------------------------------------

2022-07-12 06:23:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6d87f9dd-9551-4252-be93-ce7c6169deae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6d87f9dd-9551-4252-be93-ce7c6169deae</title></pubsub></data>

2022-07-12 06:23:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-12 06:23:34 | [Mutex] waiting for: [received:nodes:4a80593e-8886-4c12-98d8-8ce957857260:localhost]

2022-07-12 06:23:34 | [Mutex] waiting for: [received:nodes:4a80593e-8886-4c12-98d8-8ce957857260:localhost]

2022-07-12 06:23:34 | [Mutex] received everything.

2022-07-12 06:23:34 | [Mutex] isItemNotified: received:node:4a80593e-8886-4c12-98d8-8ce957857260:localhost:node-6d87f9dd-9551-4252-be93-ce7c6169deae:Node 6d87f9dd-9551-4252-be93-ce7c6169deae :: true

createSubnodes 1.024s
2022-07-12 06:23:34 |

2022-07-12 06:23:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:34 | ------------------------------------

2022-07-12 06:23:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d950a4cf-f6ab-4a0c-84c1-ea6c257ef068</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d950a4cf-f6ab-4a0c-84c1-ea6c257ef068</title></pubsub></data>

2022-07-12 06:23:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-12 06:23:35 | [Mutex] waiting for: [received:nodes:53d7d10d-1060-497d-80a9-0e3d1424cd48:localhost]

2022-07-12 06:23:35 | [Mutex] waiting for: [received:nodes:53d7d10d-1060-497d-80a9-0e3d1424cd48:localhost]

2022-07-12 06:23:35 | [Mutex] waiting for: [received:nodes:53d7d10d-1060-497d-80a9-0e3d1424cd48:localhost]

2022-07-12 06:23:35 | [Mutex] received everything.

2022-07-12 06:23:35 | [Mutex] isItemNotified: received:node:53d7d10d-1060-497d-80a9-0e3d1424cd48:localhost:node-d950a4cf-f6ab-4a0c-84c1-ea6c257ef068:Node d950a4cf-f6ab-4a0c-84c1-ea6c257ef068 :: true

deleteNodes 1.016s
2022-07-12 06:23:41 |

2022-07-12 06:23:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:41 | ------------------------------------

2022-07-12 06:23:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d950a4cf-f6ab-4a0c-84c1-ea6c257ef068</node></data>

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

2022-07-12 06:23:42 | [Mutex] waiting for: [received:nodes:f1600a4a-aca9-4b13-a6e4-8ac20657143d:localhost]

2022-07-12 06:23:42 | [Mutex] received everything.

2022-07-12 06:23:42 | [Mutex] isItemNotified: received:node:f1600a4a-aca9-4b13-a6e4-8ac20657143d:localhost:node-d950a4cf-f6ab-4a0c-84c1-ea6c257ef068:Node d950a4cf-f6ab-4a0c-84c1-ea6c257ef068 :: false

deleteSubnodes 1.100s
2022-07-12 06:23:39 |

2022-07-12 06:23:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:39 | ------------------------------------

2022-07-12 06:23:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6d87f9dd-9551-4252-be93-ce7c6169deae</node></data>

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

2022-07-12 06:23:41 | [Mutex] waiting for: [received:nodes:ec51dad0-f91e-487c-9ba7-3d8678709b94:localhost]

2022-07-12 06:23:41 | [Mutex] waiting for: [received:nodes:ec51dad0-f91e-487c-9ba7-3d8678709b94:localhost]

2022-07-12 06:23:41 | [Mutex] received everything.

2022-07-12 06:23:41 | [Mutex] isItemNotified: received:node:ec51dad0-f91e-487c-9ba7-3d8678709b94:localhost:node-6d87f9dd-9551-4252-be93-ce7c6169deae:Node 6d87f9dd-9551-4252-be93-ce7c6169deae :: false

2022-07-12 06:23:41 | [Mutex] waiting for: [received:nodes:3f0db9a4-c3e8-4935-b726-0c16b8dd0597:localhost]

2022-07-12 06:23:41 | [Mutex] received everything.

2022-07-12 06:23:41 | [Mutex] isItemNotified: received:node:3f0db9a4-c3e8-4935-b726-0c16b8dd0597:localhost:node-6d87f9dd-9551-4252-be93-ce7c6169deae:Node 6d87f9dd-9551-4252-be93-ce7c6169deae :: false

publishItemsToNodes 0.177s
2022-07-12 06:23:38 |

2022-07-12 06:23:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:38 | ------------------------------------

2022-07-12 06:23:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6d87f9dd-9551-4252-be93-ce7c6169deae</node><item-id>item-d5ecabf5-72d4-45f1-b54f-cc8485338d3a</item-id><entry><test>item-d5ecabf5-72d4-45f1-b54f-cc8485338d3a</test></entry></data>

2022-07-12 06:23:38 | 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-d5ecabf5-72d4-45f1-b54f-cc8485338d3a</value></item-id></result>

2022-07-12 06:23:38 | [Mutex] received everything.

2022-07-12 06:23:38 | [Mutex] isItemNotified: published:item:notifieditem-d5ecabf5-72d4-45f1-b54f-cc8485338d3a:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2022-07-12 06:23:38 |

2022-07-12 06:23:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:38 | ------------------------------------

2022-07-12 06:23:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6d87f9dd-9551-4252-be93-ce7c6169deae</node><item-id>item-d5ecabf5-72d4-45f1-b54f-cc8485338d3a</item-id></data>

2022-07-12 06:23:38 | 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-d5ecabf5-72d4-45f1-b54f-cc8485338d3a</value></item-id></result>

2022-07-12 06:23:38 | [Mutex] received everything.

2022-07-12 06:23:38 | [Mutex] isItemNotified: retracted:item:notifieditem-d5ecabf5-72d4-45f1-b54f-cc8485338d3a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.208s
2022-07-12 06:23:38 |

2022-07-12 06:23:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:38 | ------------------------------------

2022-07-12 06:23:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6d87f9dd-9551-4252-be93-ce7c6169deae</node><item-id>item-d5ecabf5-72d4-45f1-b54f-cc8485338d3a</item-id></data>

2022-07-12 06:23:38 | 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-6d87f9dd-9551-4252-be93-ce7c6169deae</value></node><item-id type="text-single" label="Item ID"><value>item-d5ecabf5-72d4-45f1-b54f-cc8485338d3a</value></item-id><item type="text-multi" label="Item"><value><item id="item-d5ecabf5-72d4-45f1-b54f-cc8485338d3a"><test>item-d5ecabf5-72d4-45f1-b54f-cc8485338d3a</test></item></value></item></result>

2022-07-12 06:23:38 | [Mutex] notify: [retrieved:item:item-d5ecabf5-72d4-45f1-b54f-cc8485338d3a:payload-matches:true:localhost]

2022-07-12 06:23:38 | [Mutex] received everything.

2022-07-12 06:23:38 | [Mutex] isItemNotified: retrieved:item:item-d5ecabf5-72d4-45f1-b54f-cc8485338d3a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-07-12 06:23:38 |

2022-07-12 06:23:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:38 | ------------------------------------

2022-07-12 06:23:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-12 06:23:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d950a4cf-f6ab-4a0c-84c1-ea6c257ef068</value><value>test</value><value>node-6d87f9dd-9551-4252-be93-ce7c6169deae</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-12 06:23:38 |

2022-07-12 06:23:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:38 | ------------------------------------

2022-07-12 06:23:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6d87f9dd-9551-4252-be93-ce7c6169deae)</node-pattern></data>

2022-07-12 06:23:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.117s
2022-07-12 06:23:36 |

2022-07-12 06:23:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:36 | ------------------------------------

2022-07-12 06:23:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6d87f9dd-9551-4252-be93-ce7c6169deae</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-12 06:23:37 | 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-07-12 06:23:38 |

2022-07-12 06:23:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:23:38 | ------------------------------------

2022-07-12 06:23:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6d87f9dd-9551-4252-be93-ce7c6169deae</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-12 06:23:38 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>