Generated by TestNG with ReportNG at 22:17 PDT on Sunday 03 July 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.547s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2022-07-03 22:31:52 |

2022-07-03 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:52 | ------------------------------------

2022-07-03 22:31:52 | [Mutex] waiting for: [configured:node:node-b8ee87a0-2097-4624-891e-e8673b477ba8:node-5e6095be-f97a-4788-b514-d8cf8d5d4dba]

2022-07-03 22:31:52 | [Mutex] received everything.

2022-07-03 22:31:52 | [Mutex] isItemNotified: configured:node:node-b8ee87a0-2097-4624-891e-e8673b477ba8:node-5e6095be-f97a-4788-b514-d8cf8d5d4dba :: true

2022-07-03 22:31:53 | [Mutex] waiting for: [received:nodes:02789e9a-985c-4101-8fa7-6a7f3e3b5638:localhost]

2022-07-03 22:31:53 | [Mutex] received everything.

2022-07-03 22:31:53 | [Mutex] isItemNotified: received:node:02789e9a-985c-4101-8fa7-6a7f3e3b5638:localhost:node-b8ee87a0-2097-4624-891e-e8673b477ba8:Node b8ee87a0-2097-4624-891e-e8673b477ba8 :: true

2022-07-03 22:31:53 | [Mutex] waiting for: [received:nodes:180fbc4e-087e-4876-8f6f-1ba7c9a9d1f8:localhost]

2022-07-03 22:31:53 | [Mutex] received everything.

2022-07-03 22:31:53 | [Mutex] isItemNotified: received:node:180fbc4e-087e-4876-8f6f-1ba7c9a9d1f8:localhost:node-b8ee87a0-2097-4624-891e-e8673b477ba8:Node b8ee87a0-2097-4624-891e-e8673b477ba8 :: false

createNodes 1.475s
2022-07-03 22:31:50 |

2022-07-03 22:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:50 | ------------------------------------

2022-07-03 22:31:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b8ee87a0-2097-4624-891e-e8673b477ba8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b8ee87a0-2097-4624-891e-e8673b477ba8</title></pubsub></data>

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

2022-07-03 22:31:51 | [Mutex] waiting for: [received:nodes:cde19806-2985-4d8a-9804-ff56652d8d3e:localhost]

2022-07-03 22:31:51 | [Mutex] received everything.

2022-07-03 22:31:51 | [Mutex] isItemNotified: received:node:cde19806-2985-4d8a-9804-ff56652d8d3e:localhost:node-b8ee87a0-2097-4624-891e-e8673b477ba8:Node b8ee87a0-2097-4624-891e-e8673b477ba8 :: true

createSubnodes 1.025s
2022-07-03 22:31:51 |

2022-07-03 22:31:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:51 | ------------------------------------

2022-07-03 22:31:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5e6095be-f97a-4788-b514-d8cf8d5d4dba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5e6095be-f97a-4788-b514-d8cf8d5d4dba</title></pubsub></data>

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

2022-07-03 22:31:52 | [Mutex] waiting for: [received:nodes:a37e121e-3e7d-408a-9c3e-8a9e1f74d8db:localhost]

2022-07-03 22:31:52 | [Mutex] received everything.

2022-07-03 22:31:52 | [Mutex] isItemNotified: received:node:a37e121e-3e7d-408a-9c3e-8a9e1f74d8db:localhost:node-5e6095be-f97a-4788-b514-d8cf8d5d4dba:Node 5e6095be-f97a-4788-b514-d8cf8d5d4dba :: true

deleteNodes 1.016s
2022-07-03 22:31:58 |

2022-07-03 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:58 | ------------------------------------

2022-07-03 22:31:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5e6095be-f97a-4788-b514-d8cf8d5d4dba</node></data>

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

2022-07-03 22:31:59 | [Mutex] waiting for: [received:nodes:84652804-a8f7-41e0-bc98-265b4fa2e149:localhost]

2022-07-03 22:31:59 | [Mutex] received everything.

2022-07-03 22:31:59 | [Mutex] isItemNotified: received:node:84652804-a8f7-41e0-bc98-265b4fa2e149:localhost:node-5e6095be-f97a-4788-b514-d8cf8d5d4dba:Node 5e6095be-f97a-4788-b514-d8cf8d5d4dba :: false

deleteSubnodes 1.162s
2022-07-03 22:31:57 |

2022-07-03 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:57 | ------------------------------------

2022-07-03 22:31:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b8ee87a0-2097-4624-891e-e8673b477ba8</node></data>

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

2022-07-03 22:31:58 | [Mutex] waiting for: [received:nodes:59a71f6d-c366-4f11-b6ac-c2491a125ed7:localhost]

2022-07-03 22:31:58 | [Mutex] received everything.

2022-07-03 22:31:58 | [Mutex] isItemNotified: received:node:59a71f6d-c366-4f11-b6ac-c2491a125ed7:localhost:node-b8ee87a0-2097-4624-891e-e8673b477ba8:Node b8ee87a0-2097-4624-891e-e8673b477ba8 :: false

2022-07-03 22:31:58 | [Mutex] waiting for: [received:nodes:d365668e-d2d7-46a7-99b1-49d214151a51:localhost]

2022-07-03 22:31:58 | [Mutex] received everything.

2022-07-03 22:31:58 | [Mutex] isItemNotified: received:node:d365668e-d2d7-46a7-99b1-49d214151a51:localhost:node-b8ee87a0-2097-4624-891e-e8673b477ba8:Node b8ee87a0-2097-4624-891e-e8673b477ba8 :: false

publishItemsToNodes 0.205s
2022-07-03 22:31:55 |

2022-07-03 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:55 | ------------------------------------

2022-07-03 22:31:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b8ee87a0-2097-4624-891e-e8673b477ba8</node><item-id>item-e642f1bd-3bf6-4440-a0be-2456b31809e2</item-id><entry><test>item-e642f1bd-3bf6-4440-a0be-2456b31809e2</test></entry></data>

2022-07-03 22:31:55 | 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-e642f1bd-3bf6-4440-a0be-2456b31809e2</value></item-id></result>

2022-07-03 22:31:55 | [Mutex] waiting for: [published:item:notifieditem-e642f1bd-3bf6-4440-a0be-2456b31809e2:admin@test-domain.com]

2022-07-03 22:31:55 | [Mutex] received everything.

2022-07-03 22:31:55 | [Mutex] isItemNotified: published:item:notifieditem-e642f1bd-3bf6-4440-a0be-2456b31809e2:admin@test-domain.com :: true

retractItemsFromNodes 0.268s
2022-07-03 22:31:55 |

2022-07-03 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:55 | ------------------------------------

2022-07-03 22:31:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b8ee87a0-2097-4624-891e-e8673b477ba8</node><item-id>item-e642f1bd-3bf6-4440-a0be-2456b31809e2</item-id></data>

2022-07-03 22:31:55 | 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-e642f1bd-3bf6-4440-a0be-2456b31809e2</value></item-id></result>

2022-07-03 22:31:55 | [Mutex] waiting for: [retracted:item:notifieditem-e642f1bd-3bf6-4440-a0be-2456b31809e2:admin@test-domain.com]

2022-07-03 22:31:55 | [Mutex] received everything.

2022-07-03 22:31:55 | [Mutex] isItemNotified: retracted:item:notifieditem-e642f1bd-3bf6-4440-a0be-2456b31809e2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.205s
2022-07-03 22:31:55 |

2022-07-03 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:55 | ------------------------------------

2022-07-03 22:31:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b8ee87a0-2097-4624-891e-e8673b477ba8</node><item-id>item-e642f1bd-3bf6-4440-a0be-2456b31809e2</item-id></data>

2022-07-03 22:31:55 | 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-b8ee87a0-2097-4624-891e-e8673b477ba8</value></node><item-id type="text-single" label="Item ID"><value>item-e642f1bd-3bf6-4440-a0be-2456b31809e2</value></item-id><item type="text-multi" label="Item"><value><item id="item-e642f1bd-3bf6-4440-a0be-2456b31809e2"><test>item-e642f1bd-3bf6-4440-a0be-2456b31809e2</test></item></value></item></result>

2022-07-03 22:31:55 | [Mutex] notify: [retrieved:item:item-e642f1bd-3bf6-4440-a0be-2456b31809e2:payload-matches:true:localhost]

2022-07-03 22:31:55 | [Mutex] received everything.

2022-07-03 22:31:55 | [Mutex] isItemNotified: retrieved:item:item-e642f1bd-3bf6-4440-a0be-2456b31809e2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-03 22:31:55 |

2022-07-03 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:55 | ------------------------------------

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

2022-07-03 22:31:55 | 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-5e6095be-f97a-4788-b514-d8cf8d5d4dba</value><value>node-b8ee87a0-2097-4624-891e-e8673b477ba8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-03 22:31:55 |

2022-07-03 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:55 | ------------------------------------

2022-07-03 22:31: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-b8ee87a0-2097-4624-891e-e8673b477ba8)</node-pattern></data>

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

subscribeNodes 1.119s
2022-07-03 22:31:53 |

2022-07-03 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:53 | ------------------------------------

2022-07-03 22:31:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b8ee87a0-2097-4624-891e-e8673b477ba8</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-03 22:31:54 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.254s
2022-07-03 22:31:55 |

2022-07-03 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:31:55 | ------------------------------------

2022-07-03 22:31:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b8ee87a0-2097-4624-891e-e8673b477ba8</node><jids><value>admin@test-domain.com</value></jids></data>

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