Generated by TestNG with ReportNG at 18:07 PDT on Tuesday 01 September 2020
root@45eef7750236 / 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 : 9.941s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.131s
2020-09-01 18:24:59 |

2020-09-01 18:24:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:24:59 | ------------------------------------

2020-09-01 18:24:59 | [Mutex] waiting for: [configured:node:node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6:node-958db71c-68f0-4da0-be01-445bf06dee41]

2020-09-01 18:24:59 | [Mutex] received everything.

2020-09-01 18:24:59 | [Mutex] isItemNotified: configured:node:node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6:node-958db71c-68f0-4da0-be01-445bf06dee41 :: true

2020-09-01 18:25:00 | [Mutex] waiting for: [received:nodes:50cc748f-0c92-4699-ace4-528bb597b4d4:localhost]

2020-09-01 18:25:00 | [Mutex] received everything.

2020-09-01 18:25:00 | [Mutex] isItemNotified: received:node:50cc748f-0c92-4699-ace4-528bb597b4d4:localhost:node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6:Node 2a9bbfd6-a0de-45c2-bdc1-d937a3715da6 :: true

2020-09-01 18:25:00 | [Mutex] waiting for: [received:nodes:b9abbd54-3e22-4ef6-9ab8-5beb9ba50d84:localhost]

2020-09-01 18:25:00 | [Mutex] received everything.

2020-09-01 18:25:00 | [Mutex] isItemNotified: received:node:b9abbd54-3e22-4ef6-9ab8-5beb9ba50d84:localhost:node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6:Node 2a9bbfd6-a0de-45c2-bdc1-d937a3715da6 :: false

createNodes 1.511s
2020-09-01 18:24:57 |

2020-09-01 18:24:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:24:57 | ------------------------------------

2020-09-01 18:24:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2a9bbfd6-a0de-45c2-bdc1-d937a3715da6</title></pubsub></data>

2020-09-01 18:24:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-01 18:24:58 | [Mutex] waiting for: [received:nodes:0f95cc4f-2f59-41cc-97e1-100e7774e9e2:localhost]

2020-09-01 18:24:58 | [Mutex] received everything.

2020-09-01 18:24:58 | [Mutex] isItemNotified: received:node:0f95cc4f-2f59-41cc-97e1-100e7774e9e2:localhost:node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6:Node 2a9bbfd6-a0de-45c2-bdc1-d937a3715da6 :: true

createSubnodes 1.027s
2020-09-01 18:24:58 |

2020-09-01 18:24:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:24:58 | ------------------------------------

2020-09-01 18:24:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-958db71c-68f0-4da0-be01-445bf06dee41</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 958db71c-68f0-4da0-be01-445bf06dee41</title></pubsub></data>

2020-09-01 18:24:58 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-01 18:24:59 | [Mutex] waiting for: [received:nodes:0dc23f18-d48a-4b3d-890d-90a8823d7c42:localhost]

2020-09-01 18:24:59 | [Mutex] received everything.

2020-09-01 18:24:59 | [Mutex] isItemNotified: received:node:0dc23f18-d48a-4b3d-890d-90a8823d7c42:localhost:node-958db71c-68f0-4da0-be01-445bf06dee41:Node 958db71c-68f0-4da0-be01-445bf06dee41 :: true

deleteNodes 1.016s
2020-09-01 18:25:05 |

2020-09-01 18:25:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:25:05 | ------------------------------------

2020-09-01 18:25:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-958db71c-68f0-4da0-be01-445bf06dee41</node></data>

2020-09-01 18:25:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-01 18:25:06 | [Mutex] waiting for: [received:nodes:f4636980-33e4-4948-8222-a51a465a31d1:localhost]

2020-09-01 18:25:06 | [Mutex] received everything.

2020-09-01 18:25:06 | [Mutex] isItemNotified: received:node:f4636980-33e4-4948-8222-a51a465a31d1:localhost:node-958db71c-68f0-4da0-be01-445bf06dee41:Node 958db71c-68f0-4da0-be01-445bf06dee41 :: false

deleteSubnodes 1.137s
2020-09-01 18:25:04 |

2020-09-01 18:25:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:25:04 | ------------------------------------

2020-09-01 18:25:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6</node></data>

2020-09-01 18:25:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-01 18:25:05 | [Mutex] waiting for: [received:nodes:92fcfafd-048f-4aec-b233-bfa80f40ebba:localhost]

2020-09-01 18:25:05 | [Mutex] received everything.

2020-09-01 18:25:05 | [Mutex] isItemNotified: received:node:92fcfafd-048f-4aec-b233-bfa80f40ebba:localhost:node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6:Node 2a9bbfd6-a0de-45c2-bdc1-d937a3715da6 :: false

2020-09-01 18:25:05 | [Mutex] waiting for: [received:nodes:593fd593-e332-464e-b4b5-2774215d077c:localhost]

2020-09-01 18:25:05 | [Mutex] received everything.

2020-09-01 18:25:05 | [Mutex] isItemNotified: received:node:593fd593-e332-464e-b4b5-2774215d077c:localhost:node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6:Node 2a9bbfd6-a0de-45c2-bdc1-d937a3715da6 :: false

publishItemsToNodes 0.190s
2020-09-01 18:25:01 |

2020-09-01 18:25:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:25:01 | ------------------------------------

2020-09-01 18:25:01 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6</node><item-id>item-6642e48a-8d15-4929-a207-2d1a1a7c67e6</item-id><entry><test>item-6642e48a-8d15-4929-a207-2d1a1a7c67e6</test></entry></data>

2020-09-01 18:25:02 | 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-6642e48a-8d15-4929-a207-2d1a1a7c67e6</value></item-id></result>

2020-09-01 18:25:02 | [Mutex] waiting for: [published:item:notifieditem-6642e48a-8d15-4929-a207-2d1a1a7c67e6:admin@test-domain.com]

2020-09-01 18:25:02 | [Mutex] received everything.

2020-09-01 18:25:02 | [Mutex] isItemNotified: published:item:notifieditem-6642e48a-8d15-4929-a207-2d1a1a7c67e6:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2020-09-01 18:25:02 |

2020-09-01 18:25:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:25:02 | ------------------------------------

2020-09-01 18:25:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6</node><item-id>item-6642e48a-8d15-4929-a207-2d1a1a7c67e6</item-id></data>

2020-09-01 18:25:02 | 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-6642e48a-8d15-4929-a207-2d1a1a7c67e6</value></item-id></result>

2020-09-01 18:25:02 | [Mutex] received everything.

2020-09-01 18:25:02 | [Mutex] isItemNotified: retracted:item:notifieditem-6642e48a-8d15-4929-a207-2d1a1a7c67e6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.315s
2020-09-01 18:25:02 |

2020-09-01 18:25:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:25:02 | ------------------------------------

2020-09-01 18:25:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6</node><item-id>item-6642e48a-8d15-4929-a207-2d1a1a7c67e6</item-id></data>

2020-09-01 18:25:02 | 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-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6</value></node><item-id type="text-single" label="Item ID"><value>item-6642e48a-8d15-4929-a207-2d1a1a7c67e6</value></item-id><item type="text-multi" label="Item"><value><item id="item-6642e48a-8d15-4929-a207-2d1a1a7c67e6"><test>item-6642e48a-8d15-4929-a207-2d1a1a7c67e6</test></item></value></item></result>

2020-09-01 18:25:02 | [Mutex] notify: [retrieved:item:item-6642e48a-8d15-4929-a207-2d1a1a7c67e6:payload-matches:true:localhost]

2020-09-01 18:25:02 | [Mutex] received everything.

2020-09-01 18:25:02 | [Mutex] isItemNotified: retrieved:item:item-6642e48a-8d15-4929-a207-2d1a1a7c67e6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-01 18:25:02 |

2020-09-01 18:25:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:25:02 | ------------------------------------

2020-09-01 18:25:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-01 18:25:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6</value><value>test</value><value>node-958db71c-68f0-4da0-be01-445bf06dee41</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-01 18:25:02 |

2020-09-01 18:25:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:25:02 | ------------------------------------

2020-09-01 18:25:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6)</node-pattern></data>

2020-09-01 18:25:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.114s
2020-09-01 18:25:00 |

2020-09-01 18:25:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:25:00 | ------------------------------------

2020-09-01 18:25:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-01 18:25:00 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.223s
2020-09-01 18:25:02 |

2020-09-01 18:25:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 18:25:02 | ------------------------------------

2020-09-01 18:25:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2a9bbfd6-a0de-45c2-bdc1-d937a3715da6</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-01 18:25:03 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>