Generated by TestNG with ReportNG at 21:19 PST on Sunday 13 February 2022
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.342s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2022-02-13 21:35:56 |

2022-02-13 21:35:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:56 | ------------------------------------

2022-02-13 21:35:56 | [Mutex] waiting for: [configured:node:node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6:node-470f5708-f3cf-437f-9e21-539f12dad2ab]

2022-02-13 21:35:57 | [Mutex] received everything.

2022-02-13 21:35:57 | [Mutex] isItemNotified: configured:node:node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6:node-470f5708-f3cf-437f-9e21-539f12dad2ab :: true

2022-02-13 21:35:58 | [Mutex] waiting for: [received:nodes:9a84fc3b-ca82-4297-8423-37cd694d514c:localhost]

2022-02-13 21:35:58 | [Mutex] waiting for: [received:nodes:9a84fc3b-ca82-4297-8423-37cd694d514c:localhost]

2022-02-13 21:35:58 | [Mutex] received everything.

2022-02-13 21:35:58 | [Mutex] isItemNotified: received:node:9a84fc3b-ca82-4297-8423-37cd694d514c:localhost:node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6:Node aaba831d-bfdc-4e85-b7f9-3858840cb0c6 :: true

2022-02-13 21:35:58 | [Mutex] waiting for: [received:nodes:ed1ead33-91e7-4275-95ed-6baf4487a169:localhost]

2022-02-13 21:35:58 | [Mutex] waiting for: [received:nodes:ed1ead33-91e7-4275-95ed-6baf4487a169:localhost]

2022-02-13 21:35:58 | [Mutex] waiting for: [received:nodes:ed1ead33-91e7-4275-95ed-6baf4487a169:localhost]

2022-02-13 21:35:58 | [Mutex] waiting for: [received:nodes:ed1ead33-91e7-4275-95ed-6baf4487a169:localhost]

2022-02-13 21:35:58 | [Mutex] received everything.

2022-02-13 21:35:58 | [Mutex] isItemNotified: received:node:ed1ead33-91e7-4275-95ed-6baf4487a169:localhost:node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6:Node aaba831d-bfdc-4e85-b7f9-3858840cb0c6 :: false

createNodes 1.581s
2022-02-13 21:35:54 |

2022-02-13 21:35:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:54 | ------------------------------------

2022-02-13 21:35:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aaba831d-bfdc-4e85-b7f9-3858840cb0c6</title></pubsub></data>

2022-02-13 21:35:54 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 21:35:55 | [Mutex] waiting for: [received:nodes:0d1aa26b-e3e2-4f93-81b3-c4a2932a4986:localhost]

2022-02-13 21:35:55 | [Mutex] received everything.

2022-02-13 21:35:55 | [Mutex] isItemNotified: received:node:0d1aa26b-e3e2-4f93-81b3-c4a2932a4986:localhost:node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6:Node aaba831d-bfdc-4e85-b7f9-3858840cb0c6 :: true

createSubnodes 1.041s
2022-02-13 21:35:55 |

2022-02-13 21:35:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:55 | ------------------------------------

2022-02-13 21:35:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-470f5708-f3cf-437f-9e21-539f12dad2ab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 470f5708-f3cf-437f-9e21-539f12dad2ab</title></pubsub></data>

2022-02-13 21:35:55 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 21:35:56 | [Mutex] waiting for: [received:nodes:d39bf414-9335-4fbd-b795-1b4e0c3dc7f8:localhost]

2022-02-13 21:35:56 | [Mutex] received everything.

2022-02-13 21:35:56 | [Mutex] isItemNotified: received:node:d39bf414-9335-4fbd-b795-1b4e0c3dc7f8:localhost:node-470f5708-f3cf-437f-9e21-539f12dad2ab:Node 470f5708-f3cf-437f-9e21-539f12dad2ab :: true

deleteNodes 1.021s
2022-02-13 21:36:02 |

2022-02-13 21:36:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:36:02 | ------------------------------------

2022-02-13 21:36:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-470f5708-f3cf-437f-9e21-539f12dad2ab</node></data>

2022-02-13 21:36:02 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 21:36:03 | [Mutex] waiting for: [received:nodes:1f9a9604-f247-42c8-af59-53b0c5ba8f63:localhost]

2022-02-13 21:36:03 | [Mutex] received everything.

2022-02-13 21:36:03 | [Mutex] isItemNotified: received:node:1f9a9604-f247-42c8-af59-53b0c5ba8f63:localhost:node-470f5708-f3cf-437f-9e21-539f12dad2ab:Node 470f5708-f3cf-437f-9e21-539f12dad2ab :: false

deleteSubnodes 1.133s
2022-02-13 21:36:01 |

2022-02-13 21:36:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:36:01 | ------------------------------------

2022-02-13 21:36:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6</node></data>

2022-02-13 21:36:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 21:36:02 | [Mutex] waiting for: [received:nodes:30fa71a8-91cc-4d37-9bab-4f4a7dbd7528:localhost]

2022-02-13 21:36:02 | [Mutex] received everything.

2022-02-13 21:36:02 | [Mutex] isItemNotified: received:node:30fa71a8-91cc-4d37-9bab-4f4a7dbd7528:localhost:node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6:Node aaba831d-bfdc-4e85-b7f9-3858840cb0c6 :: false

2022-02-13 21:36:02 | [Mutex] waiting for: [received:nodes:b92a80c3-2c9c-4bbb-b41b-98748ee94ed2:localhost]

2022-02-13 21:36:02 | [Mutex] received everything.

2022-02-13 21:36:02 | [Mutex] isItemNotified: received:node:b92a80c3-2c9c-4bbb-b41b-98748ee94ed2:localhost:node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6:Node aaba831d-bfdc-4e85-b7f9-3858840cb0c6 :: false

publishItemsToNodes 0.225s
2022-02-13 21:35:59 |

2022-02-13 21:35:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:59 | ------------------------------------

2022-02-13 21:35:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6</node><item-id>item-09045957-86fc-4c2f-b33a-9eb372b67b7e</item-id><entry><test>item-09045957-86fc-4c2f-b33a-9eb372b67b7e</test></entry></data>

2022-02-13 21:35:59 | 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-09045957-86fc-4c2f-b33a-9eb372b67b7e</value></item-id></result>

2022-02-13 21:35:59 | [Mutex] waiting for: [published:item:notifieditem-09045957-86fc-4c2f-b33a-9eb372b67b7e:admin@test-domain.com]

2022-02-13 21:35:59 | [Mutex] received everything.

2022-02-13 21:35:59 | [Mutex] isItemNotified: published:item:notifieditem-09045957-86fc-4c2f-b33a-9eb372b67b7e:admin@test-domain.com :: true

retractItemsFromNodes 0.229s
2022-02-13 21:35:59 |

2022-02-13 21:35:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:59 | ------------------------------------

2022-02-13 21:35:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6</node><item-id>item-09045957-86fc-4c2f-b33a-9eb372b67b7e</item-id></data>

2022-02-13 21:36:00 | 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-09045957-86fc-4c2f-b33a-9eb372b67b7e</value></item-id></result>

2022-02-13 21:36:00 | [Mutex] waiting for: [retracted:item:notifieditem-09045957-86fc-4c2f-b33a-9eb372b67b7e:admin@test-domain.com]

2022-02-13 21:36:00 | [Mutex] received everything.

2022-02-13 21:36:00 | [Mutex] isItemNotified: retracted:item:notifieditem-09045957-86fc-4c2f-b33a-9eb372b67b7e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.233s
2022-02-13 21:35:59 |

2022-02-13 21:35:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:59 | ------------------------------------

2022-02-13 21:35:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6</node><item-id>item-09045957-86fc-4c2f-b33a-9eb372b67b7e</item-id></data>

2022-02-13 21:35:59 | 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-aaba831d-bfdc-4e85-b7f9-3858840cb0c6</value></node><item-id type="text-single" label="Item ID"><value>item-09045957-86fc-4c2f-b33a-9eb372b67b7e</value></item-id><item type="text-multi" label="Item"><value><item id="item-09045957-86fc-4c2f-b33a-9eb372b67b7e"><test>item-09045957-86fc-4c2f-b33a-9eb372b67b7e</test></item></value></item></result>

2022-02-13 21:35:59 | [Mutex] notify: [retrieved:item:item-09045957-86fc-4c2f-b33a-9eb372b67b7e:payload-matches:true:localhost]

2022-02-13 21:35:59 | [Mutex] received everything.

2022-02-13 21:35:59 | [Mutex] isItemNotified: retrieved:item:item-09045957-86fc-4c2f-b33a-9eb372b67b7e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-13 21:35:59 |

2022-02-13 21:35:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:59 | ------------------------------------

2022-02-13 21:35:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-13 21:35:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6</value><value>test</value><value>node-470f5708-f3cf-437f-9e21-539f12dad2ab</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-13 21:35:59 |

2022-02-13 21:35:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:59 | ------------------------------------

2022-02-13 21:35:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6)</node-pattern></data>

2022-02-13 21:35:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.288s
2022-02-13 21:35:58 |

2022-02-13 21:35:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:58 | ------------------------------------

2022-02-13 21:35:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-13 21:35:58 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.477s
2022-02-13 21:36:00 |

2022-02-13 21:36:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:36:00 | ------------------------------------

2022-02-13 21:36:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-aaba831d-bfdc-4e85-b7f9-3858840cb0c6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-13 21:36:00 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>