Generated by TestNG with ReportNG at 21:15 PST on Thursday 18 February 2021
root@43fec6d4badf / 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.241s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.036s
2021-02-18 21:30:54 |

2021-02-18 21:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:54 | ------------------------------------

2021-02-18 21:30:54 | [Mutex] waiting for: [configured:node:node-c7af8110-7117-4971-bbdc-41b50fce98eb:node-a3762f73-61f4-4a60-8723-f8e021add5ae]

2021-02-18 21:30:54 | [Mutex] received everything.

2021-02-18 21:30:54 | [Mutex] isItemNotified: configured:node:node-c7af8110-7117-4971-bbdc-41b50fce98eb:node-a3762f73-61f4-4a60-8723-f8e021add5ae :: true

2021-02-18 21:30:55 | [Mutex] waiting for: [received:nodes:75776ca9-de0c-432b-8fb6-52785e44bf23:localhost]

2021-02-18 21:30:55 | [Mutex] received everything.

2021-02-18 21:30:55 | [Mutex] isItemNotified: received:node:75776ca9-de0c-432b-8fb6-52785e44bf23:localhost:node-c7af8110-7117-4971-bbdc-41b50fce98eb:Node c7af8110-7117-4971-bbdc-41b50fce98eb :: true

2021-02-18 21:30:55 | [Mutex] waiting for: [received:nodes:bd5e2c88-7c02-4b62-ba12-3a6234fa80ff:localhost]

2021-02-18 21:30:55 | [Mutex] received everything.

2021-02-18 21:30:55 | [Mutex] isItemNotified: received:node:bd5e2c88-7c02-4b62-ba12-3a6234fa80ff:localhost:node-c7af8110-7117-4971-bbdc-41b50fce98eb:Node c7af8110-7117-4971-bbdc-41b50fce98eb :: false

createNodes 1.618s
2021-02-18 21:30:52 |

2021-02-18 21:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:52 | ------------------------------------

2021-02-18 21:30:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c7af8110-7117-4971-bbdc-41b50fce98eb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c7af8110-7117-4971-bbdc-41b50fce98eb</title></pubsub></data>

2021-02-18 21:30:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 21:30:53 | [Mutex] waiting for: [received:nodes:365fdf34-72c7-4ab4-bdd4-9d58e0a54f08:localhost]

2021-02-18 21:30:53 | [Mutex] received everything.

2021-02-18 21:30:53 | [Mutex] isItemNotified: received:node:365fdf34-72c7-4ab4-bdd4-9d58e0a54f08:localhost:node-c7af8110-7117-4971-bbdc-41b50fce98eb:Node c7af8110-7117-4971-bbdc-41b50fce98eb :: true

createSubnodes 1.023s
2021-02-18 21:30:53 |

2021-02-18 21:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:53 | ------------------------------------

2021-02-18 21:30:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a3762f73-61f4-4a60-8723-f8e021add5ae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a3762f73-61f4-4a60-8723-f8e021add5ae</title></pubsub></data>

2021-02-18 21:30:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 21:30:54 | [Mutex] waiting for: [received:nodes:5e6da72a-9644-47c2-a4bd-6bb1453b2b8d:localhost]

2021-02-18 21:30:54 | [Mutex] received everything.

2021-02-18 21:30:54 | [Mutex] isItemNotified: received:node:5e6da72a-9644-47c2-a4bd-6bb1453b2b8d:localhost:node-a3762f73-61f4-4a60-8723-f8e021add5ae:Node a3762f73-61f4-4a60-8723-f8e021add5ae :: true

deleteNodes 1.043s
2021-02-18 21:31:00 |

2021-02-18 21:31:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:00 | ------------------------------------

2021-02-18 21:31:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a3762f73-61f4-4a60-8723-f8e021add5ae</node></data>

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

2021-02-18 21:31:01 | [Mutex] waiting for: [received:nodes:daa2c01a-e9a5-44c6-9487-2c73b2553167:localhost]

2021-02-18 21:31:01 | [Mutex] received everything.

2021-02-18 21:31:01 | [Mutex] isItemNotified: received:node:daa2c01a-e9a5-44c6-9487-2c73b2553167:localhost:node-a3762f73-61f4-4a60-8723-f8e021add5ae:Node a3762f73-61f4-4a60-8723-f8e021add5ae :: false

deleteSubnodes 1.121s
2021-02-18 21:30:59 |

2021-02-18 21:30:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:59 | ------------------------------------

2021-02-18 21:30:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c7af8110-7117-4971-bbdc-41b50fce98eb</node></data>

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

2021-02-18 21:31:00 | [Mutex] waiting for: [received:nodes:e068f09c-50da-4de4-add8-9ef27df767ce:localhost]

2021-02-18 21:31:00 | [Mutex] received everything.

2021-02-18 21:31:00 | [Mutex] isItemNotified: received:node:e068f09c-50da-4de4-add8-9ef27df767ce:localhost:node-c7af8110-7117-4971-bbdc-41b50fce98eb:Node c7af8110-7117-4971-bbdc-41b50fce98eb :: false

2021-02-18 21:31:00 | [Mutex] waiting for: [received:nodes:0d5a77a1-2623-49a7-9b43-e60dc4bfc838:localhost]

2021-02-18 21:31:00 | [Mutex] received everything.

2021-02-18 21:31:00 | [Mutex] isItemNotified: received:node:0d5a77a1-2623-49a7-9b43-e60dc4bfc838:localhost:node-c7af8110-7117-4971-bbdc-41b50fce98eb:Node c7af8110-7117-4971-bbdc-41b50fce98eb :: false

publishItemsToNodes 0.212s
2021-02-18 21:30:56 |

2021-02-18 21:30:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:56 | ------------------------------------

2021-02-18 21:30:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c7af8110-7117-4971-bbdc-41b50fce98eb</node><item-id>item-1a2cd1be-1f96-42b5-a138-9abf837e777d</item-id><entry><test>item-1a2cd1be-1f96-42b5-a138-9abf837e777d</test></entry></data>

2021-02-18 21:30:57 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-1a2cd1be-1f96-42b5-a138-9abf837e777d</value></item-id></result>

2021-02-18 21:30:57 | [Mutex] waiting for: [published:item:notifieditem-1a2cd1be-1f96-42b5-a138-9abf837e777d:admin@test-domain.com]

2021-02-18 21:30:57 | [Mutex] received everything.

2021-02-18 21:30:57 | [Mutex] isItemNotified: published:item:notifieditem-1a2cd1be-1f96-42b5-a138-9abf837e777d:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2021-02-18 21:30:57 |

2021-02-18 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:57 | ------------------------------------

2021-02-18 21:30:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c7af8110-7117-4971-bbdc-41b50fce98eb</node><item-id>item-1a2cd1be-1f96-42b5-a138-9abf837e777d</item-id></data>

2021-02-18 21:30:57 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-1a2cd1be-1f96-42b5-a138-9abf837e777d</value></item-id></result>

2021-02-18 21:30:57 | [Mutex] received everything.

2021-02-18 21:30:57 | [Mutex] isItemNotified: retracted:item:notifieditem-1a2cd1be-1f96-42b5-a138-9abf837e777d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.344s
2021-02-18 21:30:57 |

2021-02-18 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:57 | ------------------------------------

2021-02-18 21:30:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c7af8110-7117-4971-bbdc-41b50fce98eb</node><item-id>item-1a2cd1be-1f96-42b5-a138-9abf837e777d</item-id></data>

2021-02-18 21:30:57 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-c7af8110-7117-4971-bbdc-41b50fce98eb</value></node><item-id label="Item ID" type="text-single"><value>item-1a2cd1be-1f96-42b5-a138-9abf837e777d</value></item-id><item label="Item" type="text-multi"><value><item id="item-1a2cd1be-1f96-42b5-a138-9abf837e777d"><test>item-1a2cd1be-1f96-42b5-a138-9abf837e777d</test></item></value></item></result>

2021-02-18 21:30:57 | [Mutex] notify: [retrieved:item:item-1a2cd1be-1f96-42b5-a138-9abf837e777d:payload-matches:true:localhost]

2021-02-18 21:30:57 | [Mutex] received everything.

2021-02-18 21:30:57 | [Mutex] isItemNotified: retrieved:item:item-1a2cd1be-1f96-42b5-a138-9abf837e777d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-02-18 21:30:57 |

2021-02-18 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:57 | ------------------------------------

2021-02-18 21:30:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-18 21:30:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-a3762f73-61f4-4a60-8723-f8e021add5ae</value><value>test</value><value>node-c7af8110-7117-4971-bbdc-41b50fce98eb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2021-02-18 21:30:57 |

2021-02-18 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:57 | ------------------------------------

2021-02-18 21:30:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c7af8110-7117-4971-bbdc-41b50fce98eb)</node-pattern></data>

2021-02-18 21:30:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.144s
2021-02-18 21:30:55 |

2021-02-18 21:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:55 | ------------------------------------

2021-02-18 21:30:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c7af8110-7117-4971-bbdc-41b50fce98eb</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-18 21:30:55 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.307s
2021-02-18 21:30:57 |

2021-02-18 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:30:57 | ------------------------------------

2021-02-18 21:30:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c7af8110-7117-4971-bbdc-41b50fce98eb</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-18 21:30:58 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>