Generated by TestNG with ReportNG at 22:14 PDT on Sunday 19 September 2021
root@b2c2a8eba6e6 / 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.285s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.128s
2021-09-19 22:32:01 |

2021-09-19 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:01 | ------------------------------------

2021-09-19 22:32:01 | [Mutex] waiting for: [configured:node:node-fa1f4436-7ddd-484c-9f52-1c6eb191c740:node-1a53b432-9482-45dd-b353-34b655023906]

2021-09-19 22:32:02 | [Mutex] received everything.

2021-09-19 22:32:02 | [Mutex] isItemNotified: configured:node:node-fa1f4436-7ddd-484c-9f52-1c6eb191c740:node-1a53b432-9482-45dd-b353-34b655023906 :: true

2021-09-19 22:32:03 | [Mutex] waiting for: [received:nodes:e034ab9b-e234-4a87-8538-1a3cbc8a8be8:localhost]

2021-09-19 22:32:03 | [Mutex] received everything.

2021-09-19 22:32:03 | [Mutex] isItemNotified: received:node:e034ab9b-e234-4a87-8538-1a3cbc8a8be8:localhost:node-fa1f4436-7ddd-484c-9f52-1c6eb191c740:Node fa1f4436-7ddd-484c-9f52-1c6eb191c740 :: true

2021-09-19 22:32:03 | [Mutex] waiting for: [received:nodes:8c7ae8fb-3359-4bae-9333-5e165fc43e3f:localhost]

2021-09-19 22:32:03 | [Mutex] received everything.

2021-09-19 22:32:03 | [Mutex] isItemNotified: received:node:8c7ae8fb-3359-4bae-9333-5e165fc43e3f:localhost:node-fa1f4436-7ddd-484c-9f52-1c6eb191c740:Node fa1f4436-7ddd-484c-9f52-1c6eb191c740 :: false

createNodes 1.611s
2021-09-19 22:31:59 |

2021-09-19 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:31:59 | ------------------------------------

2021-09-19 22:31:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fa1f4436-7ddd-484c-9f52-1c6eb191c740</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fa1f4436-7ddd-484c-9f52-1c6eb191c740</title></pubsub></data>

2021-09-19 22:31:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-19 22:32:00 | [Mutex] waiting for: [received:nodes:d5add630-07c6-48b3-8183-034acf4dfdd7:localhost]

2021-09-19 22:32:00 | [Mutex] received everything.

2021-09-19 22:32:00 | [Mutex] isItemNotified: received:node:d5add630-07c6-48b3-8183-034acf4dfdd7:localhost:node-fa1f4436-7ddd-484c-9f52-1c6eb191c740:Node fa1f4436-7ddd-484c-9f52-1c6eb191c740 :: true

createSubnodes 1.031s
2021-09-19 22:32:00 |

2021-09-19 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:00 | ------------------------------------

2021-09-19 22:32:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1a53b432-9482-45dd-b353-34b655023906</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1a53b432-9482-45dd-b353-34b655023906</title></pubsub></data>

2021-09-19 22:32:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-19 22:32:01 | [Mutex] waiting for: [received:nodes:896cd3e1-8011-43f7-a73d-f61f3fbf6574:localhost]

2021-09-19 22:32:01 | [Mutex] received everything.

2021-09-19 22:32:01 | [Mutex] isItemNotified: received:node:896cd3e1-8011-43f7-a73d-f61f3fbf6574:localhost:node-1a53b432-9482-45dd-b353-34b655023906:Node 1a53b432-9482-45dd-b353-34b655023906 :: true

deleteNodes 1.024s
2021-09-19 22:32:07 |

2021-09-19 22:32:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:07 | ------------------------------------

2021-09-19 22:32:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1a53b432-9482-45dd-b353-34b655023906</node></data>

2021-09-19 22:32:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-19 22:32:08 | [Mutex] waiting for: [received:nodes:174d0c35-c623-432e-ae90-dadf19415f0f:localhost]

2021-09-19 22:32:08 | [Mutex] received everything.

2021-09-19 22:32:08 | [Mutex] isItemNotified: received:node:174d0c35-c623-432e-ae90-dadf19415f0f:localhost:node-1a53b432-9482-45dd-b353-34b655023906:Node 1a53b432-9482-45dd-b353-34b655023906 :: false

deleteSubnodes 1.198s
2021-09-19 22:32:06 |

2021-09-19 22:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:06 | ------------------------------------

2021-09-19 22:32:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fa1f4436-7ddd-484c-9f52-1c6eb191c740</node></data>

2021-09-19 22:32:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-19 22:32:07 | [Mutex] waiting for: [received:nodes:d19f4c72-4c29-4226-b93d-36c5ceb5f389:localhost]

2021-09-19 22:32:07 | [Mutex] received everything.

2021-09-19 22:32:07 | [Mutex] isItemNotified: received:node:d19f4c72-4c29-4226-b93d-36c5ceb5f389:localhost:node-fa1f4436-7ddd-484c-9f52-1c6eb191c740:Node fa1f4436-7ddd-484c-9f52-1c6eb191c740 :: false

2021-09-19 22:32:07 | [Mutex] waiting for: [received:nodes:d9837ca5-4d51-4254-8cf9-f2af175ffcbf:localhost]

2021-09-19 22:32:07 | [Mutex] received everything.

2021-09-19 22:32:07 | [Mutex] isItemNotified: received:node:d9837ca5-4d51-4254-8cf9-f2af175ffcbf:localhost:node-fa1f4436-7ddd-484c-9f52-1c6eb191c740:Node fa1f4436-7ddd-484c-9f52-1c6eb191c740 :: false

publishItemsToNodes 0.314s
2021-09-19 22:32:04 |

2021-09-19 22:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:04 | ------------------------------------

2021-09-19 22:32:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fa1f4436-7ddd-484c-9f52-1c6eb191c740</node><item-id>item-9663e296-e826-46ba-9ade-494357248bb5</item-id><entry><test>item-9663e296-e826-46ba-9ade-494357248bb5</test></entry></data>

2021-09-19 22:32:04 | 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-9663e296-e826-46ba-9ade-494357248bb5</value></item-id></result>

2021-09-19 22:32:04 | [Mutex] waiting for: [published:item:notifieditem-9663e296-e826-46ba-9ade-494357248bb5:admin@test-domain.com]

2021-09-19 22:32:04 | [Mutex] received everything.

2021-09-19 22:32:04 | [Mutex] isItemNotified: published:item:notifieditem-9663e296-e826-46ba-9ade-494357248bb5:admin@test-domain.com :: true

retractItemsFromNodes 0.183s
2021-09-19 22:32:05 |

2021-09-19 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:05 | ------------------------------------

2021-09-19 22:32:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fa1f4436-7ddd-484c-9f52-1c6eb191c740</node><item-id>item-9663e296-e826-46ba-9ade-494357248bb5</item-id></data>

2021-09-19 22:32:05 | 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-9663e296-e826-46ba-9ade-494357248bb5</value></item-id></result>

2021-09-19 22:32:05 | [Mutex] waiting for: [retracted:item:notifieditem-9663e296-e826-46ba-9ade-494357248bb5:admin@test-domain.com]

2021-09-19 22:32:05 | [Mutex] received everything.

2021-09-19 22:32:05 | [Mutex] isItemNotified: retracted:item:notifieditem-9663e296-e826-46ba-9ade-494357248bb5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.265s
2021-09-19 22:32:04 |

2021-09-19 22:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:04 | ------------------------------------

2021-09-19 22:32:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fa1f4436-7ddd-484c-9f52-1c6eb191c740</node><item-id>item-9663e296-e826-46ba-9ade-494357248bb5</item-id></data>

2021-09-19 22:32: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-fa1f4436-7ddd-484c-9f52-1c6eb191c740</value></node><item-id type="text-single" label="Item ID"><value>item-9663e296-e826-46ba-9ade-494357248bb5</value></item-id><item type="text-multi" label="Item"><value><item id="item-9663e296-e826-46ba-9ade-494357248bb5"><test>item-9663e296-e826-46ba-9ade-494357248bb5</test></item></value></item></result>

2021-09-19 22:32:04 | [Mutex] notify: [retrieved:item:item-9663e296-e826-46ba-9ade-494357248bb5:payload-matches:true:localhost]

2021-09-19 22:32:04 | [Mutex] received everything.

2021-09-19 22:32:04 | [Mutex] isItemNotified: retrieved:item:item-9663e296-e826-46ba-9ade-494357248bb5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-09-19 22:32:04 |

2021-09-19 22:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:04 | ------------------------------------

2021-09-19 22:32:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-19 22:32: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-1a53b432-9482-45dd-b353-34b655023906</value><value>node-fa1f4436-7ddd-484c-9f52-1c6eb191c740</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-09-19 22:32:04 |

2021-09-19 22:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:04 | ------------------------------------

2021-09-19 22:32: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-fa1f4436-7ddd-484c-9f52-1c6eb191c740)</node-pattern></data>

2021-09-19 22:32:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.199s
2021-09-19 22:32:03 |

2021-09-19 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:03 | ------------------------------------

2021-09-19 22:32:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fa1f4436-7ddd-484c-9f52-1c6eb191c740</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-19 22:32:03 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.267s
2021-09-19 22:32:05 |

2021-09-19 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:32:05 | ------------------------------------

2021-09-19 22:32:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fa1f4436-7ddd-484c-9f52-1c6eb191c740</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-19 22:32:05 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>