Generated by TestNG with ReportNG at 23:00 PDT on Tuesday 15 September 2020
root@b111a435ccb0 / 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.985s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2020-09-15 23:16:45 |

2020-09-15 23:16:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:45 | ------------------------------------

2020-09-15 23:16:45 | [Mutex] waiting for: [configured:node:node-e6c20653-c073-401e-b705-655398b7e7c0:node-641b2031-6f42-43a6-99a4-62af44af62ad]

2020-09-15 23:16:46 | [Mutex] received everything.

2020-09-15 23:16:46 | [Mutex] isItemNotified: configured:node:node-e6c20653-c073-401e-b705-655398b7e7c0:node-641b2031-6f42-43a6-99a4-62af44af62ad :: true

2020-09-15 23:16:47 | [Mutex] waiting for: [received:nodes:756d4b23-7c69-4cc9-a73d-bb5ec60e0361:localhost]

2020-09-15 23:16:47 | [Mutex] received everything.

2020-09-15 23:16:47 | [Mutex] isItemNotified: received:node:756d4b23-7c69-4cc9-a73d-bb5ec60e0361:localhost:node-e6c20653-c073-401e-b705-655398b7e7c0:Node e6c20653-c073-401e-b705-655398b7e7c0 :: true

2020-09-15 23:16:47 | [Mutex] waiting for: [received:nodes:0553a208-4422-4c30-90eb-97ebce5a2ce5:localhost]

2020-09-15 23:16:47 | [Mutex] waiting for: [received:nodes:0553a208-4422-4c30-90eb-97ebce5a2ce5:localhost]

2020-09-15 23:16:47 | [Mutex] received everything.

2020-09-15 23:16:47 | [Mutex] isItemNotified: received:node:0553a208-4422-4c30-90eb-97ebce5a2ce5:localhost:node-e6c20653-c073-401e-b705-655398b7e7c0:Node e6c20653-c073-401e-b705-655398b7e7c0 :: false

createNodes 1.496s
2020-09-15 23:16:43 |

2020-09-15 23:16:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:43 | ------------------------------------

2020-09-15 23:16:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e6c20653-c073-401e-b705-655398b7e7c0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e6c20653-c073-401e-b705-655398b7e7c0</title></pubsub></data>

2020-09-15 23:16:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-15 23:16:44 | [Mutex] waiting for: [received:nodes:ab5b3022-cb1c-4ccc-875e-3916664e0fb7:localhost]

2020-09-15 23:16:44 | [Mutex] received everything.

2020-09-15 23:16:44 | [Mutex] isItemNotified: received:node:ab5b3022-cb1c-4ccc-875e-3916664e0fb7:localhost:node-e6c20653-c073-401e-b705-655398b7e7c0:Node e6c20653-c073-401e-b705-655398b7e7c0 :: true

createSubnodes 1.033s
2020-09-15 23:16:44 |

2020-09-15 23:16:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:44 | ------------------------------------

2020-09-15 23:16:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-641b2031-6f42-43a6-99a4-62af44af62ad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 641b2031-6f42-43a6-99a4-62af44af62ad</title></pubsub></data>

2020-09-15 23:16:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-15 23:16:45 | [Mutex] waiting for: [received:nodes:b3cebbc8-14a2-4bbb-b16b-94088279df10:localhost]

2020-09-15 23:16:45 | [Mutex] received everything.

2020-09-15 23:16:45 | [Mutex] isItemNotified: received:node:b3cebbc8-14a2-4bbb-b16b-94088279df10:localhost:node-641b2031-6f42-43a6-99a4-62af44af62ad:Node 641b2031-6f42-43a6-99a4-62af44af62ad :: true

deleteNodes 1.026s
2020-09-15 23:16:51 |

2020-09-15 23:16:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:51 | ------------------------------------

2020-09-15 23:16:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-641b2031-6f42-43a6-99a4-62af44af62ad</node></data>

2020-09-15 23:16:51 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-15 23:16:52 | [Mutex] waiting for: [received:nodes:d1ea1d0d-f48e-4934-b081-85272aab4c1a:localhost]

2020-09-15 23:16:52 | [Mutex] received everything.

2020-09-15 23:16:52 | [Mutex] isItemNotified: received:node:d1ea1d0d-f48e-4934-b081-85272aab4c1a:localhost:node-641b2031-6f42-43a6-99a4-62af44af62ad:Node 641b2031-6f42-43a6-99a4-62af44af62ad :: false

deleteSubnodes 1.106s
2020-09-15 23:16:50 |

2020-09-15 23:16:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:50 | ------------------------------------

2020-09-15 23:16:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e6c20653-c073-401e-b705-655398b7e7c0</node></data>

2020-09-15 23:16:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-15 23:16:51 | [Mutex] waiting for: [received:nodes:7019f25c-9342-4352-b656-475838137246:localhost]

2020-09-15 23:16:51 | [Mutex] received everything.

2020-09-15 23:16:51 | [Mutex] isItemNotified: received:node:7019f25c-9342-4352-b656-475838137246:localhost:node-e6c20653-c073-401e-b705-655398b7e7c0:Node e6c20653-c073-401e-b705-655398b7e7c0 :: false

2020-09-15 23:16:51 | [Mutex] waiting for: [received:nodes:f6556a97-8ddf-4047-b63f-6ddae0d6bfe1:localhost]

2020-09-15 23:16:51 | [Mutex] received everything.

2020-09-15 23:16:51 | [Mutex] isItemNotified: received:node:f6556a97-8ddf-4047-b63f-6ddae0d6bfe1:localhost:node-e6c20653-c073-401e-b705-655398b7e7c0:Node e6c20653-c073-401e-b705-655398b7e7c0 :: false

publishItemsToNodes 0.191s
2020-09-15 23:16:48 |

2020-09-15 23:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:48 | ------------------------------------

2020-09-15 23:16:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e6c20653-c073-401e-b705-655398b7e7c0</node><item-id>item-2f2be52d-6ed8-4b75-920d-f28a213b44e1</item-id><entry><test>item-2f2be52d-6ed8-4b75-920d-f28a213b44e1</test></entry></data>

2020-09-15 23:16:48 | 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-2f2be52d-6ed8-4b75-920d-f28a213b44e1</value></item-id></result>

2020-09-15 23:16:48 | [Mutex] received everything.

2020-09-15 23:16:48 | [Mutex] isItemNotified: published:item:notifieditem-2f2be52d-6ed8-4b75-920d-f28a213b44e1:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2020-09-15 23:16:48 |

2020-09-15 23:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:48 | ------------------------------------

2020-09-15 23:16:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e6c20653-c073-401e-b705-655398b7e7c0</node><item-id>item-2f2be52d-6ed8-4b75-920d-f28a213b44e1</item-id></data>

2020-09-15 23:16:48 | 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-2f2be52d-6ed8-4b75-920d-f28a213b44e1</value></item-id></result>

2020-09-15 23:16:48 | [Mutex] waiting for: [retracted:item:notifieditem-2f2be52d-6ed8-4b75-920d-f28a213b44e1:admin@test-domain.com]

2020-09-15 23:16:48 | [Mutex] received everything.

2020-09-15 23:16:48 | [Mutex] isItemNotified: retracted:item:notifieditem-2f2be52d-6ed8-4b75-920d-f28a213b44e1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.226s
2020-09-15 23:16:48 |

2020-09-15 23:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:48 | ------------------------------------

2020-09-15 23:16:48 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e6c20653-c073-401e-b705-655398b7e7c0</node><item-id>item-2f2be52d-6ed8-4b75-920d-f28a213b44e1</item-id></data>

2020-09-15 23:16:48 | 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-e6c20653-c073-401e-b705-655398b7e7c0</value></node><item-id label="Item ID" type="text-single"><value>item-2f2be52d-6ed8-4b75-920d-f28a213b44e1</value></item-id><item label="Item" type="text-multi"><value><item id="item-2f2be52d-6ed8-4b75-920d-f28a213b44e1"><test>item-2f2be52d-6ed8-4b75-920d-f28a213b44e1</test></item></value></item></result>

2020-09-15 23:16:48 | [Mutex] notify: [retrieved:item:item-2f2be52d-6ed8-4b75-920d-f28a213b44e1:payload-matches:true:localhost]

2020-09-15 23:16:48 | [Mutex] received everything.

2020-09-15 23:16:48 | [Mutex] isItemNotified: retrieved:item:item-2f2be52d-6ed8-4b75-920d-f28a213b44e1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2020-09-15 23:16:48 |

2020-09-15 23:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:48 | ------------------------------------

2020-09-15 23:16:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-15 23:16:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-641b2031-6f42-43a6-99a4-62af44af62ad</value><value>test</value><value>node-e6c20653-c073-401e-b705-655398b7e7c0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-15 23:16:48 |

2020-09-15 23:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:48 | ------------------------------------

2020-09-15 23:16:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e6c20653-c073-401e-b705-655398b7e7c0)</node-pattern></data>

2020-09-15 23:16:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.102s
2020-09-15 23:16:47 |

2020-09-15 23:16:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:47 | ------------------------------------

2020-09-15 23:16:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e6c20653-c073-401e-b705-655398b7e7c0</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-15 23:16:47 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.316s
2020-09-15 23:16:48 |

2020-09-15 23:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 23:16:48 | ------------------------------------

2020-09-15 23:16:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e6c20653-c073-401e-b705-655398b7e7c0</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-15 23:16:49 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>