Generated by TestNG with ReportNG at 22:16 PDT on Wednesday 26 May 2021
root@785cf647a4ab / 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.200s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.133s
2021-05-26 22:30:47 |

2021-05-26 22:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:47 | ------------------------------------

2021-05-26 22:30:47 | [Mutex] waiting for: [configured:node:node-a4d8b2a8-69de-44fe-9628-3d04ad068a37:node-fe675eda-5ed0-4c8c-b8ff-b276714d2f4b]

2021-05-26 22:30:47 | [Mutex] received everything.

2021-05-26 22:30:47 | [Mutex] isItemNotified: configured:node:node-a4d8b2a8-69de-44fe-9628-3d04ad068a37:node-fe675eda-5ed0-4c8c-b8ff-b276714d2f4b :: true

2021-05-26 22:30:48 | [Mutex] waiting for: [received:nodes:1f7ed8f1-f005-45ab-9aa2-fb98d41d3678:localhost]

2021-05-26 22:30:48 | [Mutex] received everything.

2021-05-26 22:30:48 | [Mutex] isItemNotified: received:node:1f7ed8f1-f005-45ab-9aa2-fb98d41d3678:localhost:node-a4d8b2a8-69de-44fe-9628-3d04ad068a37:Node a4d8b2a8-69de-44fe-9628-3d04ad068a37 :: true

2021-05-26 22:30:48 | [Mutex] waiting for: [received:nodes:f7df40bc-3700-4ccc-8f82-e2934236e56a:localhost]

2021-05-26 22:30:48 | [Mutex] received everything.

2021-05-26 22:30:48 | [Mutex] isItemNotified: received:node:f7df40bc-3700-4ccc-8f82-e2934236e56a:localhost:node-a4d8b2a8-69de-44fe-9628-3d04ad068a37:Node a4d8b2a8-69de-44fe-9628-3d04ad068a37 :: false

createNodes 1.523s
2021-05-26 22:30:44 |

2021-05-26 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:44 | ------------------------------------

2021-05-26 22:30:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a4d8b2a8-69de-44fe-9628-3d04ad068a37</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a4d8b2a8-69de-44fe-9628-3d04ad068a37</title></pubsub></data>

2021-05-26 22:30:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-26 22:30:46 | [Mutex] waiting for: [received:nodes:153c3f35-8352-4858-8f8d-96a04f1cb19e:localhost]

2021-05-26 22:30:46 | [Mutex] received everything.

2021-05-26 22:30:46 | [Mutex] isItemNotified: received:node:153c3f35-8352-4858-8f8d-96a04f1cb19e:localhost:node-a4d8b2a8-69de-44fe-9628-3d04ad068a37:Node a4d8b2a8-69de-44fe-9628-3d04ad068a37 :: true

createSubnodes 1.029s
2021-05-26 22:30:46 |

2021-05-26 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:46 | ------------------------------------

2021-05-26 22:30:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fe675eda-5ed0-4c8c-b8ff-b276714d2f4b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fe675eda-5ed0-4c8c-b8ff-b276714d2f4b</title></pubsub></data>

2021-05-26 22:30:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-26 22:30:47 | [Mutex] waiting for: [received:nodes:af1b3b85-c5b4-47af-ae3e-b30e3bb14f3f:localhost]

2021-05-26 22:30:47 | [Mutex] received everything.

2021-05-26 22:30:47 | [Mutex] isItemNotified: received:node:af1b3b85-c5b4-47af-ae3e-b30e3bb14f3f:localhost:node-fe675eda-5ed0-4c8c-b8ff-b276714d2f4b:Node fe675eda-5ed0-4c8c-b8ff-b276714d2f4b :: true

deleteNodes 1.020s
2021-05-26 22:30:53 |

2021-05-26 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:53 | ------------------------------------

2021-05-26 22:30:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fe675eda-5ed0-4c8c-b8ff-b276714d2f4b</node></data>

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

2021-05-26 22:30:54 | [Mutex] waiting for: [received:nodes:600e1ce8-3d33-45f0-9e52-524ba580be6e:localhost]

2021-05-26 22:30:54 | [Mutex] received everything.

2021-05-26 22:30:54 | [Mutex] isItemNotified: received:node:600e1ce8-3d33-45f0-9e52-524ba580be6e:localhost:node-fe675eda-5ed0-4c8c-b8ff-b276714d2f4b:Node fe675eda-5ed0-4c8c-b8ff-b276714d2f4b :: false

deleteSubnodes 1.248s
2021-05-26 22:30:51 |

2021-05-26 22:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:51 | ------------------------------------

2021-05-26 22:30:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a4d8b2a8-69de-44fe-9628-3d04ad068a37</node></data>

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

2021-05-26 22:30:53 | [Mutex] waiting for: [received:nodes:6f92649d-b9f5-4edf-8c64-6697daf6dcc6:localhost]

2021-05-26 22:30:53 | [Mutex] received everything.

2021-05-26 22:30:53 | [Mutex] isItemNotified: received:node:6f92649d-b9f5-4edf-8c64-6697daf6dcc6:localhost:node-a4d8b2a8-69de-44fe-9628-3d04ad068a37:Node a4d8b2a8-69de-44fe-9628-3d04ad068a37 :: false

2021-05-26 22:30:53 | [Mutex] waiting for: [received:nodes:cc71d043-ab37-4f53-a7da-43a33a05ac37:localhost]

2021-05-26 22:30:53 | [Mutex] received everything.

2021-05-26 22:30:53 | [Mutex] isItemNotified: received:node:cc71d043-ab37-4f53-a7da-43a33a05ac37:localhost:node-a4d8b2a8-69de-44fe-9628-3d04ad068a37:Node a4d8b2a8-69de-44fe-9628-3d04ad068a37 :: false

publishItemsToNodes 0.335s
2021-05-26 22:30:49 |

2021-05-26 22:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:49 | ------------------------------------

2021-05-26 22:30:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a4d8b2a8-69de-44fe-9628-3d04ad068a37</node><item-id>item-fb985992-aa0a-4d0e-87e1-cf358198b68e</item-id><entry><test>item-fb985992-aa0a-4d0e-87e1-cf358198b68e</test></entry></data>

2021-05-26 22:30:49 | 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-fb985992-aa0a-4d0e-87e1-cf358198b68e</value></item-id></result>

2021-05-26 22:30:49 | [Mutex] received everything.

2021-05-26 22:30:49 | [Mutex] isItemNotified: published:item:notifieditem-fb985992-aa0a-4d0e-87e1-cf358198b68e:admin@test-domain.com :: true

retractItemsFromNodes 0.223s
2021-05-26 22:30:50 |

2021-05-26 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:50 | ------------------------------------

2021-05-26 22:30:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a4d8b2a8-69de-44fe-9628-3d04ad068a37</node><item-id>item-fb985992-aa0a-4d0e-87e1-cf358198b68e</item-id></data>

2021-05-26 22:30:50 | 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-fb985992-aa0a-4d0e-87e1-cf358198b68e</value></item-id></result>

2021-05-26 22:30:50 | [Mutex] received everything.

2021-05-26 22:30:50 | [Mutex] isItemNotified: retracted:item:notifieditem-fb985992-aa0a-4d0e-87e1-cf358198b68e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.300s
2021-05-26 22:30:49 |

2021-05-26 22:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:49 | ------------------------------------

2021-05-26 22:30:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a4d8b2a8-69de-44fe-9628-3d04ad068a37</node><item-id>item-fb985992-aa0a-4d0e-87e1-cf358198b68e</item-id></data>

2021-05-26 22:30:50 | 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-a4d8b2a8-69de-44fe-9628-3d04ad068a37</value></node><item-id label="Item ID" type="text-single"><value>item-fb985992-aa0a-4d0e-87e1-cf358198b68e</value></item-id><item label="Item" type="text-multi"><value><item id="item-fb985992-aa0a-4d0e-87e1-cf358198b68e"><test>item-fb985992-aa0a-4d0e-87e1-cf358198b68e</test></item></value></item></result>

2021-05-26 22:30:50 | [Mutex] notify: [retrieved:item:item-fb985992-aa0a-4d0e-87e1-cf358198b68e:payload-matches:true:localhost]

2021-05-26 22:30:50 | [Mutex] received everything.

2021-05-26 22:30:50 | [Mutex] isItemNotified: retrieved:item:item-fb985992-aa0a-4d0e-87e1-cf358198b68e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-26 22:30:50 |

2021-05-26 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:50 | ------------------------------------

2021-05-26 22:30:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-26 22:30:50 | 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-a4d8b2a8-69de-44fe-9628-3d04ad068a37</value><value>node-fe675eda-5ed0-4c8c-b8ff-b276714d2f4b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-26 22:30:50 |

2021-05-26 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:50 | ------------------------------------

2021-05-26 22:30:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a4d8b2a8-69de-44fe-9628-3d04ad068a37)</node-pattern></data>

2021-05-26 22:30:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.173s
2021-05-26 22:30:48 |

2021-05-26 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:48 | ------------------------------------

2021-05-26 22:30:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a4d8b2a8-69de-44fe-9628-3d04ad068a37</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-26 22:30:48 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.231s
2021-05-26 22:30:50 |

2021-05-26 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:30:50 | ------------------------------------

2021-05-26 22:30:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a4d8b2a8-69de-44fe-9628-3d04ad068a37</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-26 22:30:50 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>