Generated by TestNG with ReportNG at 22:23 PDT on Tuesday 29 September 2020
root@eaa73862192b / 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.833s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2020-09-29 22:38:50 |

2020-09-29 22:38:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:50 | ------------------------------------

2020-09-29 22:38:50 | [Mutex] waiting for: [configured:node:node-2562f82c-de14-4287-9fe4-ac2c3de264da:node-4a6db99e-8467-4ef6-af89-0eabd6f9b054]

2020-09-29 22:38:50 | [Mutex] received everything.

2020-09-29 22:38:50 | [Mutex] isItemNotified: configured:node:node-2562f82c-de14-4287-9fe4-ac2c3de264da:node-4a6db99e-8467-4ef6-af89-0eabd6f9b054 :: true

2020-09-29 22:38:51 | [Mutex] waiting for: [received:nodes:f2ec8b6f-f046-46ca-8f91-296ae2482da6:localhost]

2020-09-29 22:38:51 | [Mutex] received everything.

2020-09-29 22:38:51 | [Mutex] isItemNotified: received:node:f2ec8b6f-f046-46ca-8f91-296ae2482da6:localhost:node-2562f82c-de14-4287-9fe4-ac2c3de264da:Node 2562f82c-de14-4287-9fe4-ac2c3de264da :: true

2020-09-29 22:38:51 | [Mutex] waiting for: [received:nodes:8db6e2ac-6f6f-470b-a7e5-b2b67c1e51f0:localhost]

2020-09-29 22:38:51 | [Mutex] received everything.

2020-09-29 22:38:51 | [Mutex] isItemNotified: received:node:8db6e2ac-6f6f-470b-a7e5-b2b67c1e51f0:localhost:node-2562f82c-de14-4287-9fe4-ac2c3de264da:Node 2562f82c-de14-4287-9fe4-ac2c3de264da :: false

createNodes 1.445s
2020-09-29 22:38:48 |

2020-09-29 22:38:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:48 | ------------------------------------

2020-09-29 22:38:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2562f82c-de14-4287-9fe4-ac2c3de264da</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2562f82c-de14-4287-9fe4-ac2c3de264da</title></pubsub></data>

2020-09-29 22:38:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-29 22:38:49 | [Mutex] waiting for: [received:nodes:3aaa819a-fcf4-47f9-96fc-3f2d7a65527c:localhost]

2020-09-29 22:38:49 | [Mutex] waiting for: [received:nodes:3aaa819a-fcf4-47f9-96fc-3f2d7a65527c:localhost]

2020-09-29 22:38:49 | [Mutex] received everything.

2020-09-29 22:38:49 | [Mutex] isItemNotified: received:node:3aaa819a-fcf4-47f9-96fc-3f2d7a65527c:localhost:node-2562f82c-de14-4287-9fe4-ac2c3de264da:Node 2562f82c-de14-4287-9fe4-ac2c3de264da :: true

createSubnodes 1.027s
2020-09-29 22:38:49 |

2020-09-29 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:49 | ------------------------------------

2020-09-29 22:38:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4a6db99e-8467-4ef6-af89-0eabd6f9b054</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4a6db99e-8467-4ef6-af89-0eabd6f9b054</title></pubsub></data>

2020-09-29 22:38:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-29 22:38:50 | [Mutex] waiting for: [received:nodes:283c05d4-e706-4a9e-82ab-eafa8ee8b41a:localhost]

2020-09-29 22:38:50 | [Mutex] received everything.

2020-09-29 22:38:50 | [Mutex] isItemNotified: received:node:283c05d4-e706-4a9e-82ab-eafa8ee8b41a:localhost:node-4a6db99e-8467-4ef6-af89-0eabd6f9b054:Node 4a6db99e-8467-4ef6-af89-0eabd6f9b054 :: true

deleteNodes 1.016s
2020-09-29 22:38:55 |

2020-09-29 22:38:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:55 | ------------------------------------

2020-09-29 22:38:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4a6db99e-8467-4ef6-af89-0eabd6f9b054</node></data>

2020-09-29 22:38:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-29 22:38:56 | [Mutex] waiting for: [received:nodes:afc482bf-fac2-46a2-8ed7-043181af0ed7:localhost]

2020-09-29 22:38:56 | [Mutex] received everything.

2020-09-29 22:38:56 | [Mutex] isItemNotified: received:node:afc482bf-fac2-46a2-8ed7-043181af0ed7:localhost:node-4a6db99e-8467-4ef6-af89-0eabd6f9b054:Node 4a6db99e-8467-4ef6-af89-0eabd6f9b054 :: false

deleteSubnodes 1.108s
2020-09-29 22:38:54 |

2020-09-29 22:38:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:54 | ------------------------------------

2020-09-29 22:38:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2562f82c-de14-4287-9fe4-ac2c3de264da</node></data>

2020-09-29 22:38:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-29 22:38:55 | [Mutex] waiting for: [received:nodes:e2e0edf6-34c0-4db3-85d6-cfc461a6497a:localhost]

2020-09-29 22:38:55 | [Mutex] received everything.

2020-09-29 22:38:55 | [Mutex] isItemNotified: received:node:e2e0edf6-34c0-4db3-85d6-cfc461a6497a:localhost:node-2562f82c-de14-4287-9fe4-ac2c3de264da:Node 2562f82c-de14-4287-9fe4-ac2c3de264da :: false

2020-09-29 22:38:55 | [Mutex] waiting for: [received:nodes:0a8d1941-d44f-4cb9-a5b2-c3899f360457:localhost]

2020-09-29 22:38:55 | [Mutex] received everything.

2020-09-29 22:38:55 | [Mutex] isItemNotified: received:node:0a8d1941-d44f-4cb9-a5b2-c3899f360457:localhost:node-2562f82c-de14-4287-9fe4-ac2c3de264da:Node 2562f82c-de14-4287-9fe4-ac2c3de264da :: false

publishItemsToNodes 0.204s
2020-09-29 22:38:52 |

2020-09-29 22:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:52 | ------------------------------------

2020-09-29 22:38:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2562f82c-de14-4287-9fe4-ac2c3de264da</node><item-id>item-09cb3f84-8606-4827-ab99-806631c05c4f</item-id><entry><test>item-09cb3f84-8606-4827-ab99-806631c05c4f</test></entry></data>

2020-09-29 22:38:52 | 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-09cb3f84-8606-4827-ab99-806631c05c4f</value></item-id></result>

2020-09-29 22:38:52 | [Mutex] received everything.

2020-09-29 22:38:52 | [Mutex] isItemNotified: published:item:notifieditem-09cb3f84-8606-4827-ab99-806631c05c4f:admin@test-domain.com :: true

retractItemsFromNodes 0.280s
2020-09-29 22:38:53 |

2020-09-29 22:38:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:53 | ------------------------------------

2020-09-29 22:38:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2562f82c-de14-4287-9fe4-ac2c3de264da</node><item-id>item-09cb3f84-8606-4827-ab99-806631c05c4f</item-id></data>

2020-09-29 22:38:53 | 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-09cb3f84-8606-4827-ab99-806631c05c4f</value></item-id></result>

2020-09-29 22:38:53 | [Mutex] received everything.

2020-09-29 22:38:53 | [Mutex] isItemNotified: retracted:item:notifieditem-09cb3f84-8606-4827-ab99-806631c05c4f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.232s
2020-09-29 22:38:52 |

2020-09-29 22:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:52 | ------------------------------------

2020-09-29 22:38:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2562f82c-de14-4287-9fe4-ac2c3de264da</node><item-id>item-09cb3f84-8606-4827-ab99-806631c05c4f</item-id></data>

2020-09-29 22:38:53 | 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-2562f82c-de14-4287-9fe4-ac2c3de264da</value></node><item-id type="text-single" label="Item ID"><value>item-09cb3f84-8606-4827-ab99-806631c05c4f</value></item-id><item type="text-multi" label="Item"><value><item id="item-09cb3f84-8606-4827-ab99-806631c05c4f"><test>item-09cb3f84-8606-4827-ab99-806631c05c4f</test></item></value></item></result>

2020-09-29 22:38:53 | [Mutex] notify: [retrieved:item:item-09cb3f84-8606-4827-ab99-806631c05c4f:payload-matches:true:localhost]

2020-09-29 22:38:53 | [Mutex] received everything.

2020-09-29 22:38:53 | [Mutex] isItemNotified: retrieved:item:item-09cb3f84-8606-4827-ab99-806631c05c4f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-29 22:38:53 |

2020-09-29 22:38:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:53 | ------------------------------------

2020-09-29 22:38:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-29 22:38:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-4a6db99e-8467-4ef6-af89-0eabd6f9b054</value><value>node-2562f82c-de14-4287-9fe4-ac2c3de264da</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-09-29 22:38:53 |

2020-09-29 22:38:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:53 | ------------------------------------

2020-09-29 22:38:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2562f82c-de14-4287-9fe4-ac2c3de264da)</node-pattern></data>

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

subscribeNodes 1.109s
2020-09-29 22:38:51 |

2020-09-29 22:38:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:51 | ------------------------------------

2020-09-29 22:38:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2562f82c-de14-4287-9fe4-ac2c3de264da</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.260s
2020-09-29 22:38:53 |

2020-09-29 22:38:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:38:53 | ------------------------------------

2020-09-29 22:38:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2562f82c-de14-4287-9fe4-ac2c3de264da</node><jids><value>admin@test-domain.com</value></jids></data>

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