Generated by TestNG with ReportNG at 22:20 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.470s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2022-09-08 22:35:03 |

2022-09-08 22:35:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:03 | ------------------------------------

2022-09-08 22:35:03 | [Mutex] waiting for: [configured:node:node-0a072945-a7ec-4923-be3f-b16b7ef506d7:node-5762129b-7c23-4473-ad36-fa6391b4acf7]

2022-09-08 22:35:03 | [Mutex] received everything.

2022-09-08 22:35:03 | [Mutex] isItemNotified: configured:node:node-0a072945-a7ec-4923-be3f-b16b7ef506d7:node-5762129b-7c23-4473-ad36-fa6391b4acf7 :: true

2022-09-08 22:35:04 | [Mutex] waiting for: [received:nodes:2ec8ea9d-7ed5-4da7-add6-3311c2d99539:localhost]

2022-09-08 22:35:04 | [Mutex] received everything.

2022-09-08 22:35:04 | [Mutex] isItemNotified: received:node:2ec8ea9d-7ed5-4da7-add6-3311c2d99539:localhost:node-0a072945-a7ec-4923-be3f-b16b7ef506d7:Node 0a072945-a7ec-4923-be3f-b16b7ef506d7 :: true

2022-09-08 22:35:04 | [Mutex] waiting for: [received:nodes:394114dd-7727-4d91-9d18-7a21e9fa6d5e:localhost]

2022-09-08 22:35:04 | [Mutex] waiting for: [received:nodes:394114dd-7727-4d91-9d18-7a21e9fa6d5e:localhost]

2022-09-08 22:35:04 | [Mutex] received everything.

2022-09-08 22:35:04 | [Mutex] isItemNotified: received:node:394114dd-7727-4d91-9d18-7a21e9fa6d5e:localhost:node-0a072945-a7ec-4923-be3f-b16b7ef506d7:Node 0a072945-a7ec-4923-be3f-b16b7ef506d7 :: false

createNodes 1.469s
2022-09-08 22:35:00 |

2022-09-08 22:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:00 | ------------------------------------

2022-09-08 22:35:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0a072945-a7ec-4923-be3f-b16b7ef506d7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0a072945-a7ec-4923-be3f-b16b7ef506d7</title></pubsub></data>

2022-09-08 22:35:01 | 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 22:35:02 | [Mutex] waiting for: [received:nodes:0ba9aedb-0e52-422c-8522-0672d2cc026b:localhost]

2022-09-08 22:35:02 | [Mutex] received everything.

2022-09-08 22:35:02 | [Mutex] isItemNotified: received:node:0ba9aedb-0e52-422c-8522-0672d2cc026b:localhost:node-0a072945-a7ec-4923-be3f-b16b7ef506d7:Node 0a072945-a7ec-4923-be3f-b16b7ef506d7 :: true

createSubnodes 1.023s
2022-09-08 22:35:02 |

2022-09-08 22:35:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:02 | ------------------------------------

2022-09-08 22:35:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5762129b-7c23-4473-ad36-fa6391b4acf7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5762129b-7c23-4473-ad36-fa6391b4acf7</title></pubsub></data>

2022-09-08 22:35:02 | 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 22:35:03 | [Mutex] waiting for: [received:nodes:ec971388-2a07-4a64-b789-813e758a7e3f:localhost]

2022-09-08 22:35:03 | [Mutex] waiting for: [received:nodes:ec971388-2a07-4a64-b789-813e758a7e3f:localhost]

2022-09-08 22:35:03 | [Mutex] received everything.

2022-09-08 22:35:03 | [Mutex] isItemNotified: received:node:ec971388-2a07-4a64-b789-813e758a7e3f:localhost:node-5762129b-7c23-4473-ad36-fa6391b4acf7:Node 5762129b-7c23-4473-ad36-fa6391b4acf7 :: true

deleteNodes 1.016s
2022-09-08 22:35:08 |

2022-09-08 22:35:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:08 | ------------------------------------

2022-09-08 22:35:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5762129b-7c23-4473-ad36-fa6391b4acf7</node></data>

2022-09-08 22:35:08 | 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 22:35:09 | [Mutex] waiting for: [received:nodes:6ae63b8e-0bca-43da-a439-48eb0a39c601:localhost]

2022-09-08 22:35:09 | [Mutex] received everything.

2022-09-08 22:35:09 | [Mutex] isItemNotified: received:node:6ae63b8e-0bca-43da-a439-48eb0a39c601:localhost:node-5762129b-7c23-4473-ad36-fa6391b4acf7:Node 5762129b-7c23-4473-ad36-fa6391b4acf7 :: false

deleteSubnodes 1.137s
2022-09-08 22:35:07 |

2022-09-08 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:07 | ------------------------------------

2022-09-08 22:35:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0a072945-a7ec-4923-be3f-b16b7ef506d7</node></data>

2022-09-08 22:35:07 | 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 22:35:08 | [Mutex] waiting for: [received:nodes:2491f4d4-54f0-445d-abba-11977d8cddb5:localhost]

2022-09-08 22:35:08 | [Mutex] waiting for: [received:nodes:2491f4d4-54f0-445d-abba-11977d8cddb5:localhost]

2022-09-08 22:35:08 | [Mutex] received everything.

2022-09-08 22:35:08 | [Mutex] isItemNotified: received:node:2491f4d4-54f0-445d-abba-11977d8cddb5:localhost:node-0a072945-a7ec-4923-be3f-b16b7ef506d7:Node 0a072945-a7ec-4923-be3f-b16b7ef506d7 :: false

2022-09-08 22:35:08 | [Mutex] waiting for: [received:nodes:9c7928d6-dc40-455b-93a1-c196422bfc97:localhost]

2022-09-08 22:35:08 | [Mutex] received everything.

2022-09-08 22:35:08 | [Mutex] isItemNotified: received:node:9c7928d6-dc40-455b-93a1-c196422bfc97:localhost:node-0a072945-a7ec-4923-be3f-b16b7ef506d7:Node 0a072945-a7ec-4923-be3f-b16b7ef506d7 :: false

publishItemsToNodes 0.236s
2022-09-08 22:35:05 |

2022-09-08 22:35:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:05 | ------------------------------------

2022-09-08 22:35:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0a072945-a7ec-4923-be3f-b16b7ef506d7</node><item-id>item-b7d4012b-612d-469a-a397-f1c6bd40e303</item-id><entry><test>item-b7d4012b-612d-469a-a397-f1c6bd40e303</test></entry></data>

2022-09-08 22:35:05 | 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-b7d4012b-612d-469a-a397-f1c6bd40e303</value></item-id></result>

2022-09-08 22:35:05 | [Mutex] received everything.

2022-09-08 22:35:05 | [Mutex] isItemNotified: published:item:notifieditem-b7d4012b-612d-469a-a397-f1c6bd40e303:admin@test-domain.com :: true

retractItemsFromNodes 0.256s
2022-09-08 22:35:06 |

2022-09-08 22:35:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:06 | ------------------------------------

2022-09-08 22:35:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0a072945-a7ec-4923-be3f-b16b7ef506d7</node><item-id>item-b7d4012b-612d-469a-a397-f1c6bd40e303</item-id></data>

2022-09-08 22:35:06 | 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-b7d4012b-612d-469a-a397-f1c6bd40e303</value></item-id></result>

2022-09-08 22:35:06 | [Mutex] received everything.

2022-09-08 22:35:06 | [Mutex] isItemNotified: retracted:item:notifieditem-b7d4012b-612d-469a-a397-f1c6bd40e303:admin@test-domain.com :: true

retrieveItemsFromNodes 0.284s
2022-09-08 22:35:05 |

2022-09-08 22:35:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:05 | ------------------------------------

2022-09-08 22:35:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0a072945-a7ec-4923-be3f-b16b7ef506d7</node><item-id>item-b7d4012b-612d-469a-a397-f1c6bd40e303</item-id></data>

2022-09-08 22:35:05 | 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-0a072945-a7ec-4923-be3f-b16b7ef506d7</value></node><item-id type="text-single" label="Item ID"><value>item-b7d4012b-612d-469a-a397-f1c6bd40e303</value></item-id><item type="text-multi" label="Item"><value><item id="item-b7d4012b-612d-469a-a397-f1c6bd40e303"><test>item-b7d4012b-612d-469a-a397-f1c6bd40e303</test></item></value></item></result>

2022-09-08 22:35:05 | [Mutex] notify: [retrieved:item:item-b7d4012b-612d-469a-a397-f1c6bd40e303:payload-matches:true:localhost]

2022-09-08 22:35:05 | [Mutex] received everything.

2022-09-08 22:35:05 | [Mutex] isItemNotified: retrieved:item:item-b7d4012b-612d-469a-a397-f1c6bd40e303:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-08 22:35:05 |

2022-09-08 22:35:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:05 | ------------------------------------

2022-09-08 22:35:05 | 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 22:35:05 | 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-0a072945-a7ec-4923-be3f-b16b7ef506d7</value><value>node-5762129b-7c23-4473-ad36-fa6391b4acf7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-08 22:35:05 |

2022-09-08 22:35:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:05 | ------------------------------------

2022-09-08 22:35:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0a072945-a7ec-4923-be3f-b16b7ef506d7)</node-pattern></data>

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

subscribeNodes 1.109s
2022-09-08 22:35:04 |

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

2022-09-08 22:35:04 | ------------------------------------

2022-09-08 22:35:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0a072945-a7ec-4923-be3f-b16b7ef506d7</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.154s
2022-09-08 22:35:06 |

2022-09-08 22:35:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 22:35:06 | ------------------------------------

2022-09-08 22:35:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0a072945-a7ec-4923-be3f-b16b7ef506d7</node><jids><value>admin@test-domain.com</value></jids></data>

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