Generated by TestNG with ReportNG at 22:14 PDT on Tuesday 12 October 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.393s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2021-10-12 22:29:45 |

2021-10-12 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:45 | ------------------------------------

2021-10-12 22:29:45 | [Mutex] waiting for: [configured:node:node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81:node-b7d3e9ea-6a20-492e-89a7-a7c54c537a87]

2021-10-12 22:29:45 | [Mutex] received everything.

2021-10-12 22:29:45 | [Mutex] isItemNotified: configured:node:node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81:node-b7d3e9ea-6a20-492e-89a7-a7c54c537a87 :: true

2021-10-12 22:29:46 | [Mutex] waiting for: [received:nodes:c9ddeeb4-21d9-41af-8680-cf0eb3cafff0:localhost]

2021-10-12 22:29:46 | [Mutex] received everything.

2021-10-12 22:29:46 | [Mutex] isItemNotified: received:node:c9ddeeb4-21d9-41af-8680-cf0eb3cafff0:localhost:node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81:Node 490f0a7b-1d10-4477-87fe-8d91ca9e6f81 :: true

2021-10-12 22:29:46 | [Mutex] waiting for: [received:nodes:b3e091f4-78fe-46a4-a9ac-530d10fd4386:localhost]

2021-10-12 22:29:46 | [Mutex] received everything.

2021-10-12 22:29:46 | [Mutex] isItemNotified: received:node:b3e091f4-78fe-46a4-a9ac-530d10fd4386:localhost:node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81:Node 490f0a7b-1d10-4477-87fe-8d91ca9e6f81 :: false

createNodes 1.485s
2021-10-12 22:29:42 |

2021-10-12 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:42 | ------------------------------------

2021-10-12 22:29:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 490f0a7b-1d10-4477-87fe-8d91ca9e6f81</title></pubsub></data>

2021-10-12 22:29:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-12 22:29:44 | [Mutex] waiting for: [received:nodes:f659715e-d816-4230-a137-f504d18ef177:localhost]

2021-10-12 22:29:44 | [Mutex] received everything.

2021-10-12 22:29:44 | [Mutex] isItemNotified: received:node:f659715e-d816-4230-a137-f504d18ef177:localhost:node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81:Node 490f0a7b-1d10-4477-87fe-8d91ca9e6f81 :: true

createSubnodes 1.029s
2021-10-12 22:29:44 |

2021-10-12 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:44 | ------------------------------------

2021-10-12 22:29:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b7d3e9ea-6a20-492e-89a7-a7c54c537a87</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b7d3e9ea-6a20-492e-89a7-a7c54c537a87</title></pubsub></data>

2021-10-12 22:29:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-12 22:29:45 | [Mutex] waiting for: [received:nodes:757a138b-75cf-41c3-b709-bf175b4a16c7:localhost]

2021-10-12 22:29:45 | [Mutex] received everything.

2021-10-12 22:29:45 | [Mutex] isItemNotified: received:node:757a138b-75cf-41c3-b709-bf175b4a16c7:localhost:node-b7d3e9ea-6a20-492e-89a7-a7c54c537a87:Node b7d3e9ea-6a20-492e-89a7-a7c54c537a87 :: true

deleteNodes 1.022s
2021-10-12 22:29:51 |

2021-10-12 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:51 | ------------------------------------

2021-10-12 22:29:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b7d3e9ea-6a20-492e-89a7-a7c54c537a87</node></data>

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

2021-10-12 22:29:52 | [Mutex] waiting for: [received:nodes:ba9ad7f7-add3-46de-8643-6f43d3e748ca:localhost]

2021-10-12 22:29:52 | [Mutex] received everything.

2021-10-12 22:29:52 | [Mutex] isItemNotified: received:node:ba9ad7f7-add3-46de-8643-6f43d3e748ca:localhost:node-b7d3e9ea-6a20-492e-89a7-a7c54c537a87:Node b7d3e9ea-6a20-492e-89a7-a7c54c537a87 :: false

deleteSubnodes 1.173s
2021-10-12 22:29:49 |

2021-10-12 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:49 | ------------------------------------

2021-10-12 22:29:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81</node></data>

2021-10-12 22:29:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-12 22:29:51 | [Mutex] waiting for: [received:nodes:fad4669f-8ecf-4f76-a445-1f8ad8133303:localhost]

2021-10-12 22:29:51 | [Mutex] waiting for: [received:nodes:fad4669f-8ecf-4f76-a445-1f8ad8133303:localhost]

2021-10-12 22:29:51 | [Mutex] received everything.

2021-10-12 22:29:51 | [Mutex] isItemNotified: received:node:fad4669f-8ecf-4f76-a445-1f8ad8133303:localhost:node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81:Node 490f0a7b-1d10-4477-87fe-8d91ca9e6f81 :: false

2021-10-12 22:29:51 | [Mutex] waiting for: [received:nodes:654dc93f-e3b9-45c2-b8da-dc371868dbcb:localhost]

2021-10-12 22:29:51 | [Mutex] received everything.

2021-10-12 22:29:51 | [Mutex] isItemNotified: received:node:654dc93f-e3b9-45c2-b8da-dc371868dbcb:localhost:node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81:Node 490f0a7b-1d10-4477-87fe-8d91ca9e6f81 :: false

publishItemsToNodes 0.273s
2021-10-12 22:29:47 |

2021-10-12 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:47 | ------------------------------------

2021-10-12 22:29:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81</node><item-id>item-036d664d-45f7-40d8-8fc1-2e315afe4edc</item-id><entry><test>item-036d664d-45f7-40d8-8fc1-2e315afe4edc</test></entry></data>

2021-10-12 22:29:47 | 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-036d664d-45f7-40d8-8fc1-2e315afe4edc</value></item-id></result>

2021-10-12 22:29:47 | [Mutex] waiting for: [published:item:notifieditem-036d664d-45f7-40d8-8fc1-2e315afe4edc:admin@test-domain.com]

2021-10-12 22:29:47 | [Mutex] received everything.

2021-10-12 22:29:47 | [Mutex] isItemNotified: published:item:notifieditem-036d664d-45f7-40d8-8fc1-2e315afe4edc:admin@test-domain.com :: true

retractItemsFromNodes 0.308s
2021-10-12 22:29:48 |

2021-10-12 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:48 | ------------------------------------

2021-10-12 22:29:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81</node><item-id>item-036d664d-45f7-40d8-8fc1-2e315afe4edc</item-id></data>

2021-10-12 22:29: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-036d664d-45f7-40d8-8fc1-2e315afe4edc</value></item-id></result>

2021-10-12 22:29:48 | [Mutex] received everything.

2021-10-12 22:29:48 | [Mutex] isItemNotified: retracted:item:notifieditem-036d664d-45f7-40d8-8fc1-2e315afe4edc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.323s
2021-10-12 22:29:47 |

2021-10-12 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:47 | ------------------------------------

2021-10-12 22:29:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81</node><item-id>item-036d664d-45f7-40d8-8fc1-2e315afe4edc</item-id></data>

2021-10-12 22:29: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-490f0a7b-1d10-4477-87fe-8d91ca9e6f81</value></node><item-id label="Item ID" type="text-single"><value>item-036d664d-45f7-40d8-8fc1-2e315afe4edc</value></item-id><item label="Item" type="text-multi"><value><item id="item-036d664d-45f7-40d8-8fc1-2e315afe4edc"><test>item-036d664d-45f7-40d8-8fc1-2e315afe4edc</test></item></value></item></result>

2021-10-12 22:29:48 | [Mutex] notify: [retrieved:item:item-036d664d-45f7-40d8-8fc1-2e315afe4edc:payload-matches:true:localhost]

2021-10-12 22:29:48 | [Mutex] received everything.

2021-10-12 22:29:48 | [Mutex] isItemNotified: retrieved:item:item-036d664d-45f7-40d8-8fc1-2e315afe4edc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-10-12 22:29:48 |

2021-10-12 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:48 | ------------------------------------

2021-10-12 22:29:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-10-12 22:29:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81</value><value>test</value><value>node-b7d3e9ea-6a20-492e-89a7-a7c54c537a87</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-10-12 22:29:48 |

2021-10-12 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:48 | ------------------------------------

2021-10-12 22:29: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-490f0a7b-1d10-4477-87fe-8d91ca9e6f81)</node-pattern></data>

2021-10-12 22:29:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.209s
2021-10-12 22:29:46 |

2021-10-12 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:46 | ------------------------------------

2021-10-12 22:29:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-12 22:29:46 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.294s
2021-10-12 22:29:48 |

2021-10-12 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:48 | ------------------------------------

2021-10-12 22:29:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-490f0a7b-1d10-4477-87fe-8d91ca9e6f81</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-12 22:29:48 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>