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

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2020-09-15 22:46:20 |

2020-09-15 22:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 22:46:20 | ------------------------------------

2020-09-15 22:46:20 | [Mutex] waiting for: [configured:node:node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36:node-07c7394a-a607-400c-9908-04304fe72c29]

2020-09-15 22:46:20 | [Mutex] received everything.

2020-09-15 22:46:20 | [Mutex] isItemNotified: configured:node:node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36:node-07c7394a-a607-400c-9908-04304fe72c29 :: true

2020-09-15 22:46:21 | [Mutex] waiting for: [received:nodes:854116b5-6f89-4505-b281-6647ddc5f3b9:localhost]

2020-09-15 22:46:21 | [Mutex] received everything.

2020-09-15 22:46:21 | [Mutex] isItemNotified: received:node:854116b5-6f89-4505-b281-6647ddc5f3b9:localhost:node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36:Node 42ea04e4-aec6-4962-9a75-2a4fdcd10b36 :: true

2020-09-15 22:46:21 | [Mutex] waiting for: [received:nodes:27485921-9c25-485e-a8e7-7dd3225d5b5b:localhost]

2020-09-15 22:46:21 | [Mutex] received everything.

2020-09-15 22:46:21 | [Mutex] isItemNotified: received:node:27485921-9c25-485e-a8e7-7dd3225d5b5b:localhost:node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36:Node 42ea04e4-aec6-4962-9a75-2a4fdcd10b36 :: false

createNodes 1.375s
2020-09-15 22:46:18 |

2020-09-15 22:46:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 22:46:18 | ------------------------------------

2020-09-15 22:46:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 42ea04e4-aec6-4962-9a75-2a4fdcd10b36</title></pubsub></data>

2020-09-15 22:46:18 | 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 22:46:19 | [Mutex] waiting for: [received:nodes:848296c4-68d1-45a4-8790-537bef52464e:localhost]

2020-09-15 22:46:19 | [Mutex] received everything.

2020-09-15 22:46:19 | [Mutex] isItemNotified: received:node:848296c4-68d1-45a4-8790-537bef52464e:localhost:node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36:Node 42ea04e4-aec6-4962-9a75-2a4fdcd10b36 :: true

createSubnodes 1.032s
2020-09-15 22:46:19 |

2020-09-15 22:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 22:46:19 | ------------------------------------

2020-09-15 22:46:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-07c7394a-a607-400c-9908-04304fe72c29</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 07c7394a-a607-400c-9908-04304fe72c29</title></pubsub></data>

2020-09-15 22:46:19 | 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 22:46:20 | [Mutex] waiting for: [received:nodes:df16554d-d016-432c-a23a-bdf648266bf3:localhost]

2020-09-15 22:46:20 | [Mutex] received everything.

2020-09-15 22:46:20 | [Mutex] isItemNotified: received:node:df16554d-d016-432c-a23a-bdf648266bf3:localhost:node-07c7394a-a607-400c-9908-04304fe72c29:Node 07c7394a-a607-400c-9908-04304fe72c29 :: true

deleteNodes 1.018s
2020-09-15 22:46:25 |

2020-09-15 22:46:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 22:46:25 | ------------------------------------

2020-09-15 22:46:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-07c7394a-a607-400c-9908-04304fe72c29</node></data>

2020-09-15 22:46:25 | 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 22:46:26 | [Mutex] waiting for: [received:nodes:fc8bab73-87b3-457e-9791-f4ae9aeb4ffd:localhost]

2020-09-15 22:46:26 | [Mutex] received everything.

2020-09-15 22:46:26 | [Mutex] isItemNotified: received:node:fc8bab73-87b3-457e-9791-f4ae9aeb4ffd:localhost:node-07c7394a-a607-400c-9908-04304fe72c29:Node 07c7394a-a607-400c-9908-04304fe72c29 :: false

deleteSubnodes 1.107s
2020-09-15 22:46:24 |

2020-09-15 22:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 22:46:24 | ------------------------------------

2020-09-15 22:46:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36</node></data>

2020-09-15 22:46:24 | 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 22:46:25 | [Mutex] waiting for: [received:nodes:6759abb8-f058-4229-b03c-2ca573a4705e:localhost]

2020-09-15 22:46:25 | [Mutex] received everything.

2020-09-15 22:46:25 | [Mutex] isItemNotified: received:node:6759abb8-f058-4229-b03c-2ca573a4705e:localhost:node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36:Node 42ea04e4-aec6-4962-9a75-2a4fdcd10b36 :: false

2020-09-15 22:46:25 | [Mutex] waiting for: [received:nodes:03a08edb-7a72-4f16-ba6a-4ab671de071a:localhost]

2020-09-15 22:46:25 | [Mutex] received everything.

2020-09-15 22:46:25 | [Mutex] isItemNotified: received:node:03a08edb-7a72-4f16-ba6a-4ab671de071a:localhost:node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36:Node 42ea04e4-aec6-4962-9a75-2a4fdcd10b36 :: false

publishItemsToNodes 0.196s
2020-09-15 22:46:22 |

2020-09-15 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 22:46:22 | ------------------------------------

2020-09-15 22:46:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36</node><item-id>item-59fdf0e7-5339-4c3f-b951-9437df1e1ae0</item-id><entry><test>item-59fdf0e7-5339-4c3f-b951-9437df1e1ae0</test></entry></data>

2020-09-15 22:46:22 | 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-59fdf0e7-5339-4c3f-b951-9437df1e1ae0</value></item-id></result>

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

2020-09-15 22:46:22 | [Mutex] isItemNotified: published:item:notifieditem-59fdf0e7-5339-4c3f-b951-9437df1e1ae0:admin@test-domain.com :: true

retractItemsFromNodes 0.236s
2020-09-15 22:46:23 |

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

2020-09-15 22:46:23 | ------------------------------------

2020-09-15 22:46:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36</node><item-id>item-59fdf0e7-5339-4c3f-b951-9437df1e1ae0</item-id></data>

2020-09-15 22:46:23 | 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-59fdf0e7-5339-4c3f-b951-9437df1e1ae0</value></item-id></result>

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

2020-09-15 22:46:23 | [Mutex] isItemNotified: retracted:item:notifieditem-59fdf0e7-5339-4c3f-b951-9437df1e1ae0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.212s
2020-09-15 22:46:22 |

2020-09-15 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 22:46:22 | ------------------------------------

2020-09-15 22:46:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36</node><item-id>item-59fdf0e7-5339-4c3f-b951-9437df1e1ae0</item-id></data>

2020-09-15 22:46:23 | 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-42ea04e4-aec6-4962-9a75-2a4fdcd10b36</value></node><item-id label="Item ID" type="text-single"><value>item-59fdf0e7-5339-4c3f-b951-9437df1e1ae0</value></item-id><item label="Item" type="text-multi"><value><item id="item-59fdf0e7-5339-4c3f-b951-9437df1e1ae0"><test>item-59fdf0e7-5339-4c3f-b951-9437df1e1ae0</test></item></value></item></result>

2020-09-15 22:46:23 | [Mutex] notify: [retrieved:item:item-59fdf0e7-5339-4c3f-b951-9437df1e1ae0:payload-matches:true:localhost]

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

2020-09-15 22:46:23 | [Mutex] isItemNotified: retrieved:item:item-59fdf0e7-5339-4c3f-b951-9437df1e1ae0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-15 22:46:23 |

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

2020-09-15 22:46:23 | ------------------------------------

2020-09-15 22:46:23 | 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 22:46:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-07c7394a-a607-400c-9908-04304fe72c29</value><value>node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-15 22:46:23 |

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

2020-09-15 22:46:23 | ------------------------------------

2020-09-15 22:46:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36)</node-pattern></data>

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

subscribeNodes 1.107s
2020-09-15 22:46:21 |

2020-09-15 22:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 22:46:21 | ------------------------------------

2020-09-15 22:46:21 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.256s
2020-09-15 22:46:23 |

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

2020-09-15 22:46:23 | ------------------------------------

2020-09-15 22:46:23 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-42ea04e4-aec6-4962-9a75-2a4fdcd10b36</node><jids><value>admin@test-domain.com</value></jids></data>

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