Generated by TestNG with ReportNG at 22:49 PDT on Thursday 08 September 2022
root@f9c07ffec79b / 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.434s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2022-09-08 23:04:27 |

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

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

2022-09-08 23:04:27 | [Mutex] waiting for: [configured:node:node-2aaf3d47-0b28-441f-b117-6e080c2c5073:node-0941568a-0f39-4515-83bc-bdd67006d3e3]

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

2022-09-08 23:04:27 | [Mutex] isItemNotified: configured:node:node-2aaf3d47-0b28-441f-b117-6e080c2c5073:node-0941568a-0f39-4515-83bc-bdd67006d3e3 :: true

2022-09-08 23:04:28 | [Mutex] waiting for: [received:nodes:87a69d93-795b-46fd-bb6c-d7148b44ae82:localhost]

2022-09-08 23:04:28 | [Mutex] received everything.

2022-09-08 23:04:28 | [Mutex] isItemNotified: received:node:87a69d93-795b-46fd-bb6c-d7148b44ae82:localhost:node-2aaf3d47-0b28-441f-b117-6e080c2c5073:Node 2aaf3d47-0b28-441f-b117-6e080c2c5073 :: true

2022-09-08 23:04:28 | [Mutex] waiting for: [received:nodes:a2ae3c53-17be-4fef-8351-42c72729eb28:localhost]

2022-09-08 23:04:28 | [Mutex] received everything.

2022-09-08 23:04:28 | [Mutex] isItemNotified: received:node:a2ae3c53-17be-4fef-8351-42c72729eb28:localhost:node-2aaf3d47-0b28-441f-b117-6e080c2c5073:Node 2aaf3d47-0b28-441f-b117-6e080c2c5073 :: false

createNodes 1.539s
2022-09-08 23:04:25 |

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

2022-09-08 23:04:25 | ------------------------------------

2022-09-08 23:04:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2aaf3d47-0b28-441f-b117-6e080c2c5073</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2aaf3d47-0b28-441f-b117-6e080c2c5073</title></pubsub></data>

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

2022-09-08 23:04:26 | [Mutex] waiting for: [received:nodes:91a1b8df-1777-4eff-9b97-e9b05ac4a405:localhost]

2022-09-08 23:04:26 | [Mutex] waiting for: [received:nodes:91a1b8df-1777-4eff-9b97-e9b05ac4a405:localhost]

2022-09-08 23:04:26 | [Mutex] received everything.

2022-09-08 23:04:26 | [Mutex] isItemNotified: received:node:91a1b8df-1777-4eff-9b97-e9b05ac4a405:localhost:node-2aaf3d47-0b28-441f-b117-6e080c2c5073:Node 2aaf3d47-0b28-441f-b117-6e080c2c5073 :: true

createSubnodes 1.021s
2022-09-08 23:04:26 |

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

2022-09-08 23:04:26 | ------------------------------------

2022-09-08 23:04:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0941568a-0f39-4515-83bc-bdd67006d3e3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0941568a-0f39-4515-83bc-bdd67006d3e3</title></pubsub></data>

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

2022-09-08 23:04:27 | [Mutex] waiting for: [received:nodes:42f4dab7-8355-4513-984d-d9fc3af813a6:localhost]

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

2022-09-08 23:04:27 | [Mutex] isItemNotified: received:node:42f4dab7-8355-4513-984d-d9fc3af813a6:localhost:node-0941568a-0f39-4515-83bc-bdd67006d3e3:Node 0941568a-0f39-4515-83bc-bdd67006d3e3 :: true

deleteNodes 1.017s
2022-09-08 23:04:32 |

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

2022-09-08 23:04:32 | ------------------------------------

2022-09-08 23:04:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0941568a-0f39-4515-83bc-bdd67006d3e3</node></data>

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

2022-09-08 23:04:33 | [Mutex] waiting for: [received:nodes:c083be36-d353-49af-aac7-c700741969ed:localhost]

2022-09-08 23:04:33 | [Mutex] waiting for: [received:nodes:c083be36-d353-49af-aac7-c700741969ed:localhost]

2022-09-08 23:04:33 | [Mutex] received everything.

2022-09-08 23:04:33 | [Mutex] isItemNotified: received:node:c083be36-d353-49af-aac7-c700741969ed:localhost:node-0941568a-0f39-4515-83bc-bdd67006d3e3:Node 0941568a-0f39-4515-83bc-bdd67006d3e3 :: false

deleteSubnodes 1.111s
2022-09-08 23:04:31 |

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

2022-09-08 23:04:31 | ------------------------------------

2022-09-08 23:04:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2aaf3d47-0b28-441f-b117-6e080c2c5073</node></data>

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

2022-09-08 23:04:32 | [Mutex] waiting for: [received:nodes:a59096dd-ca7b-4e8a-9ce2-bfbe73607bd4:localhost]

2022-09-08 23:04:32 | [Mutex] received everything.

2022-09-08 23:04:32 | [Mutex] isItemNotified: received:node:a59096dd-ca7b-4e8a-9ce2-bfbe73607bd4:localhost:node-2aaf3d47-0b28-441f-b117-6e080c2c5073:Node 2aaf3d47-0b28-441f-b117-6e080c2c5073 :: false

2022-09-08 23:04:32 | [Mutex] waiting for: [received:nodes:ff48420c-c228-4eb6-86bc-366c5d0b9b00:localhost]

2022-09-08 23:04:32 | [Mutex] received everything.

2022-09-08 23:04:32 | [Mutex] isItemNotified: received:node:ff48420c-c228-4eb6-86bc-366c5d0b9b00:localhost:node-2aaf3d47-0b28-441f-b117-6e080c2c5073:Node 2aaf3d47-0b28-441f-b117-6e080c2c5073 :: false

publishItemsToNodes 0.206s
2022-09-08 23:04:29 |

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

2022-09-08 23:04:29 | ------------------------------------

2022-09-08 23:04:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2aaf3d47-0b28-441f-b117-6e080c2c5073</node><item-id>item-70a3abef-314a-4b38-93b9-184036b779f5</item-id><entry><test>item-70a3abef-314a-4b38-93b9-184036b779f5</test></entry></data>

2022-09-08 23:04:30 | 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-70a3abef-314a-4b38-93b9-184036b779f5</value></item-id></result>

2022-09-08 23:04:30 | [Mutex] received everything.

2022-09-08 23:04:30 | [Mutex] isItemNotified: published:item:notifieditem-70a3abef-314a-4b38-93b9-184036b779f5:admin@test-domain.com :: true

retractItemsFromNodes 0.207s
2022-09-08 23:04:30 |

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

2022-09-08 23:04:30 | ------------------------------------

2022-09-08 23:04:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2aaf3d47-0b28-441f-b117-6e080c2c5073</node><item-id>item-70a3abef-314a-4b38-93b9-184036b779f5</item-id></data>

2022-09-08 23:04:30 | 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-70a3abef-314a-4b38-93b9-184036b779f5</value></item-id></result>

2022-09-08 23:04:30 | [Mutex] received everything.

2022-09-08 23:04:30 | [Mutex] isItemNotified: retracted:item:notifieditem-70a3abef-314a-4b38-93b9-184036b779f5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.200s
2022-09-08 23:04:30 |

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

2022-09-08 23:04:30 | ------------------------------------

2022-09-08 23:04:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2aaf3d47-0b28-441f-b117-6e080c2c5073</node><item-id>item-70a3abef-314a-4b38-93b9-184036b779f5</item-id></data>

2022-09-08 23:04:30 | 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-2aaf3d47-0b28-441f-b117-6e080c2c5073</value></node><item-id type="text-single" label="Item ID"><value>item-70a3abef-314a-4b38-93b9-184036b779f5</value></item-id><item type="text-multi" label="Item"><value><item id="item-70a3abef-314a-4b38-93b9-184036b779f5"><test>item-70a3abef-314a-4b38-93b9-184036b779f5</test></item></value></item></result>

2022-09-08 23:04:30 | [Mutex] notify: [retrieved:item:item-70a3abef-314a-4b38-93b9-184036b779f5:payload-matches:true:localhost]

2022-09-08 23:04:30 | [Mutex] received everything.

2022-09-08 23:04:30 | [Mutex] isItemNotified: retrieved:item:item-70a3abef-314a-4b38-93b9-184036b779f5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-08 23:04:30 |

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

2022-09-08 23:04:30 | ------------------------------------

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

2022-09-08 23:04:30 | 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-0941568a-0f39-4515-83bc-bdd67006d3e3</value><value>node-2aaf3d47-0b28-441f-b117-6e080c2c5073</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-08 23:04:30 |

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

2022-09-08 23:04:30 | ------------------------------------

2022-09-08 23:04:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2aaf3d47-0b28-441f-b117-6e080c2c5073)</node-pattern></data>

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

subscribeNodes 1.172s
2022-09-08 23:04:28 |

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

2022-09-08 23:04:28 | ------------------------------------

2022-09-08 23:04:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2aaf3d47-0b28-441f-b117-6e080c2c5073</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.156s
2022-09-08 23:04:30 |

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

2022-09-08 23:04:30 | ------------------------------------

2022-09-08 23:04:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2aaf3d47-0b28-441f-b117-6e080c2c5073</node><jids><value>admin@test-domain.com</value></jids></data>

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