Generated by TestNG with ReportNG at 22:14 PDT on Sunday 21 March 2021
root@87f6aca6b6f2 / 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.220s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2021-03-21 22:27:58 |

2021-03-21 22:27:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:27:58 | ------------------------------------

2021-03-21 22:27:58 | [Mutex] waiting for: [configured:node:node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090:node-1dfef3f9-b64f-40ca-b818-9cca5cde241e]

2021-03-21 22:27:58 | [Mutex] received everything.

2021-03-21 22:27:58 | [Mutex] isItemNotified: configured:node:node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090:node-1dfef3f9-b64f-40ca-b818-9cca5cde241e :: true

2021-03-21 22:27:59 | [Mutex] waiting for: [received:nodes:941584a3-5baf-4dab-8973-5c8c3cfcac91:localhost]

2021-03-21 22:27:59 | [Mutex] received everything.

2021-03-21 22:27:59 | [Mutex] isItemNotified: received:node:941584a3-5baf-4dab-8973-5c8c3cfcac91:localhost:node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090:Node a498bb18-bfe4-47e4-b0a5-2cb312e5d090 :: true

2021-03-21 22:27:59 | [Mutex] waiting for: [received:nodes:6adaa2cd-ac79-426c-97bb-e6402a1e35cc:localhost]

2021-03-21 22:27:59 | [Mutex] received everything.

2021-03-21 22:27:59 | [Mutex] isItemNotified: received:node:6adaa2cd-ac79-426c-97bb-e6402a1e35cc:localhost:node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090:Node a498bb18-bfe4-47e4-b0a5-2cb312e5d090 :: false

createNodes 1.591s
2021-03-21 22:27:55 |

2021-03-21 22:27:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:27:55 | ------------------------------------

2021-03-21 22:27:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a498bb18-bfe4-47e4-b0a5-2cb312e5d090</title></pubsub></data>

2021-03-21 22:27:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-21 22:27:57 | [Mutex] waiting for: [received:nodes:70fa5272-5fa4-4ba7-9fb4-abcdc7412263:localhost]

2021-03-21 22:27:57 | [Mutex] received everything.

2021-03-21 22:27:57 | [Mutex] isItemNotified: received:node:70fa5272-5fa4-4ba7-9fb4-abcdc7412263:localhost:node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090:Node a498bb18-bfe4-47e4-b0a5-2cb312e5d090 :: true

createSubnodes 1.037s
2021-03-21 22:27:57 |

2021-03-21 22:27:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:27:57 | ------------------------------------

2021-03-21 22:27:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1dfef3f9-b64f-40ca-b818-9cca5cde241e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1dfef3f9-b64f-40ca-b818-9cca5cde241e</title></pubsub></data>

2021-03-21 22:27:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-21 22:27:58 | [Mutex] waiting for: [received:nodes:433deff0-5a80-4ba6-aafe-e68cb6050c2c:localhost]

2021-03-21 22:27:58 | [Mutex] received everything.

2021-03-21 22:27:58 | [Mutex] isItemNotified: received:node:433deff0-5a80-4ba6-aafe-e68cb6050c2c:localhost:node-1dfef3f9-b64f-40ca-b818-9cca5cde241e:Node 1dfef3f9-b64f-40ca-b818-9cca5cde241e :: true

deleteNodes 1.018s
2021-03-21 22:28:04 |

2021-03-21 22:28:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:28:04 | ------------------------------------

2021-03-21 22:28:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1dfef3f9-b64f-40ca-b818-9cca5cde241e</node></data>

2021-03-21 22:28:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-21 22:28:05 | [Mutex] waiting for: [received:nodes:302fda23-d94b-4b06-a6e0-b0c924d8d269:localhost]

2021-03-21 22:28:05 | [Mutex] received everything.

2021-03-21 22:28:05 | [Mutex] isItemNotified: received:node:302fda23-d94b-4b06-a6e0-b0c924d8d269:localhost:node-1dfef3f9-b64f-40ca-b818-9cca5cde241e:Node 1dfef3f9-b64f-40ca-b818-9cca5cde241e :: false

deleteSubnodes 1.154s
2021-03-21 22:28:02 |

2021-03-21 22:28:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:28:02 | ------------------------------------

2021-03-21 22:28:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090</node></data>

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

2021-03-21 22:28:04 | [Mutex] waiting for: [received:nodes:7ea8f55a-d0c0-4996-ab85-4e43f290a4db:localhost]

2021-03-21 22:28:04 | [Mutex] received everything.

2021-03-21 22:28:04 | [Mutex] isItemNotified: received:node:7ea8f55a-d0c0-4996-ab85-4e43f290a4db:localhost:node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090:Node a498bb18-bfe4-47e4-b0a5-2cb312e5d090 :: false

2021-03-21 22:28:04 | [Mutex] waiting for: [received:nodes:f989965e-7bc9-4f80-a8d7-eb6c1024925d:localhost]

2021-03-21 22:28:04 | [Mutex] received everything.

2021-03-21 22:28:04 | [Mutex] isItemNotified: received:node:f989965e-7bc9-4f80-a8d7-eb6c1024925d:localhost:node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090:Node a498bb18-bfe4-47e4-b0a5-2cb312e5d090 :: false

publishItemsToNodes 0.275s
2021-03-21 22:28:00 |

2021-03-21 22:28:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:28:00 | ------------------------------------

2021-03-21 22:28:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090</node><item-id>item-54192b69-ec79-468d-8dad-6bfb49d03278</item-id><entry><test>item-54192b69-ec79-468d-8dad-6bfb49d03278</test></entry></data>

2021-03-21 22:28:00 | 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-54192b69-ec79-468d-8dad-6bfb49d03278</value></item-id></result>

2021-03-21 22:28:00 | [Mutex] waiting for: [published:item:notifieditem-54192b69-ec79-468d-8dad-6bfb49d03278:admin@test-domain.com]

2021-03-21 22:28:00 | [Mutex] received everything.

2021-03-21 22:28:00 | [Mutex] isItemNotified: published:item:notifieditem-54192b69-ec79-468d-8dad-6bfb49d03278:admin@test-domain.com :: true

retractItemsFromNodes 0.320s
2021-03-21 22:28:01 |

2021-03-21 22:28:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:28:01 | ------------------------------------

2021-03-21 22:28:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090</node><item-id>item-54192b69-ec79-468d-8dad-6bfb49d03278</item-id></data>

2021-03-21 22:28:01 | 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-54192b69-ec79-468d-8dad-6bfb49d03278</value></item-id></result>

2021-03-21 22:28:01 | [Mutex] received everything.

2021-03-21 22:28:01 | [Mutex] isItemNotified: retracted:item:notifieditem-54192b69-ec79-468d-8dad-6bfb49d03278:admin@test-domain.com :: true

retrieveItemsFromNodes 0.314s
2021-03-21 22:28:00 |

2021-03-21 22:28:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:28:00 | ------------------------------------

2021-03-21 22:28:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090</node><item-id>item-54192b69-ec79-468d-8dad-6bfb49d03278</item-id></data>

2021-03-21 22:28:01 | 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-a498bb18-bfe4-47e4-b0a5-2cb312e5d090</value></node><item-id type="text-single" label="Item ID"><value>item-54192b69-ec79-468d-8dad-6bfb49d03278</value></item-id><item type="text-multi" label="Item"><value><item id="item-54192b69-ec79-468d-8dad-6bfb49d03278"><test>item-54192b69-ec79-468d-8dad-6bfb49d03278</test></item></value></item></result>

2021-03-21 22:28:01 | [Mutex] notify: [retrieved:item:item-54192b69-ec79-468d-8dad-6bfb49d03278:payload-matches:true:localhost]

2021-03-21 22:28:01 | [Mutex] received everything.

2021-03-21 22:28:01 | [Mutex] isItemNotified: retrieved:item:item-54192b69-ec79-468d-8dad-6bfb49d03278:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2021-03-21 22:28:01 |

2021-03-21 22:28:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:28:01 | ------------------------------------

2021-03-21 22:28:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-21 22:28:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090</value><value>test</value><value>node-1dfef3f9-b64f-40ca-b818-9cca5cde241e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-03-21 22:28:01 |

2021-03-21 22:28:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:28:01 | ------------------------------------

2021-03-21 22:28:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090)</node-pattern></data>

2021-03-21 22:28:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.126s
2021-03-21 22:27:59 |

2021-03-21 22:27:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:27:59 | ------------------------------------

2021-03-21 22:27:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.278s
2021-03-21 22:28:01 |

2021-03-21 22:28:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:28:01 | ------------------------------------

2021-03-21 22:28:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a498bb18-bfe4-47e4-b0a5-2cb312e5d090</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-21 22:28:01 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>