Generated by TestNG with ReportNG at 23:12 PDT on Sunday 18 October 2020
root@87f6aca6b6f2 / 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.294s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2020-10-18 23:27:46 |

2020-10-18 23:27:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:46 | ------------------------------------

2020-10-18 23:27:46 | [Mutex] waiting for: [configured:node:node-faecbbfd-5c6c-4699-a897-91800ef08eb5:node-779913ff-b220-4901-b592-43db824c2aea]

2020-10-18 23:27:46 | [Mutex] received everything.

2020-10-18 23:27:46 | [Mutex] isItemNotified: configured:node:node-faecbbfd-5c6c-4699-a897-91800ef08eb5:node-779913ff-b220-4901-b592-43db824c2aea :: true

2020-10-18 23:27:47 | [Mutex] waiting for: [received:nodes:ac278138-cbf6-4102-80c5-d09656972f32:localhost]

2020-10-18 23:27:47 | [Mutex] received everything.

2020-10-18 23:27:47 | [Mutex] isItemNotified: received:node:ac278138-cbf6-4102-80c5-d09656972f32:localhost:node-faecbbfd-5c6c-4699-a897-91800ef08eb5:Node faecbbfd-5c6c-4699-a897-91800ef08eb5 :: true

2020-10-18 23:27:47 | [Mutex] waiting for: [received:nodes:f4ae1384-3096-43b8-a8db-9b50b1bf08c2:localhost]

2020-10-18 23:27:47 | [Mutex] received everything.

2020-10-18 23:27:47 | [Mutex] isItemNotified: received:node:f4ae1384-3096-43b8-a8db-9b50b1bf08c2:localhost:node-faecbbfd-5c6c-4699-a897-91800ef08eb5:Node faecbbfd-5c6c-4699-a897-91800ef08eb5 :: false

createNodes 1.391s
2020-10-18 23:27:44 |

2020-10-18 23:27:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:44 | ------------------------------------

2020-10-18 23:27:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-faecbbfd-5c6c-4699-a897-91800ef08eb5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node faecbbfd-5c6c-4699-a897-91800ef08eb5</title></pubsub></data>

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

2020-10-18 23:27:45 | [Mutex] waiting for: [received:nodes:db7b40a4-dd96-4f41-9f6f-42d21bc44170:localhost]

2020-10-18 23:27:45 | [Mutex] received everything.

2020-10-18 23:27:45 | [Mutex] isItemNotified: received:node:db7b40a4-dd96-4f41-9f6f-42d21bc44170:localhost:node-faecbbfd-5c6c-4699-a897-91800ef08eb5:Node faecbbfd-5c6c-4699-a897-91800ef08eb5 :: true

createSubnodes 1.025s
2020-10-18 23:27:45 |

2020-10-18 23:27:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:45 | ------------------------------------

2020-10-18 23:27:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-779913ff-b220-4901-b592-43db824c2aea</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 779913ff-b220-4901-b592-43db824c2aea</title></pubsub></data>

2020-10-18 23:27:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-18 23:27:46 | [Mutex] waiting for: [received:nodes:44627b88-59c1-496f-944b-800f8e2d3741:localhost]

2020-10-18 23:27:46 | [Mutex] received everything.

2020-10-18 23:27:46 | [Mutex] isItemNotified: received:node:44627b88-59c1-496f-944b-800f8e2d3741:localhost:node-779913ff-b220-4901-b592-43db824c2aea:Node 779913ff-b220-4901-b592-43db824c2aea :: true

deleteNodes 1.021s
2020-10-18 23:27:52 |

2020-10-18 23:27:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:52 | ------------------------------------

2020-10-18 23:27:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-779913ff-b220-4901-b592-43db824c2aea</node></data>

2020-10-18 23:27:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-18 23:27:53 | [Mutex] waiting for: [received:nodes:25fc29a9-f11e-4a8a-b9e5-148b1059f486:localhost]

2020-10-18 23:27:53 | [Mutex] received everything.

2020-10-18 23:27:53 | [Mutex] isItemNotified: received:node:25fc29a9-f11e-4a8a-b9e5-148b1059f486:localhost:node-779913ff-b220-4901-b592-43db824c2aea:Node 779913ff-b220-4901-b592-43db824c2aea :: false

deleteSubnodes 1.156s
2020-10-18 23:27:51 |

2020-10-18 23:27:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:51 | ------------------------------------

2020-10-18 23:27:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-faecbbfd-5c6c-4699-a897-91800ef08eb5</node></data>

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

2020-10-18 23:27:52 | [Mutex] waiting for: [received:nodes:f16351f0-24a9-45b2-9e98-5ff741cc645e:localhost]

2020-10-18 23:27:52 | [Mutex] waiting for: [received:nodes:f16351f0-24a9-45b2-9e98-5ff741cc645e:localhost]

2020-10-18 23:27:52 | [Mutex] received everything.

2020-10-18 23:27:52 | [Mutex] isItemNotified: received:node:f16351f0-24a9-45b2-9e98-5ff741cc645e:localhost:node-faecbbfd-5c6c-4699-a897-91800ef08eb5:Node faecbbfd-5c6c-4699-a897-91800ef08eb5 :: false

2020-10-18 23:27:52 | [Mutex] waiting for: [received:nodes:cfb5f0fc-0214-488c-a89e-d4afb4894e4e:localhost]

2020-10-18 23:27:52 | [Mutex] received everything.

2020-10-18 23:27:52 | [Mutex] isItemNotified: received:node:cfb5f0fc-0214-488c-a89e-d4afb4894e4e:localhost:node-faecbbfd-5c6c-4699-a897-91800ef08eb5:Node faecbbfd-5c6c-4699-a897-91800ef08eb5 :: false

publishItemsToNodes 0.276s
2020-10-18 23:27:48 |

2020-10-18 23:27:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:48 | ------------------------------------

2020-10-18 23:27:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-faecbbfd-5c6c-4699-a897-91800ef08eb5</node><item-id>item-71b6893e-8f7f-4d38-a474-b31d73f20a1e</item-id><entry><test>item-71b6893e-8f7f-4d38-a474-b31d73f20a1e</test></entry></data>

2020-10-18 23:27: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-71b6893e-8f7f-4d38-a474-b31d73f20a1e</value></item-id></result>

2020-10-18 23:27:49 | [Mutex] waiting for: [published:item:notifieditem-71b6893e-8f7f-4d38-a474-b31d73f20a1e:admin@test-domain.com]

2020-10-18 23:27:49 | [Mutex] received everything.

2020-10-18 23:27:49 | [Mutex] isItemNotified: published:item:notifieditem-71b6893e-8f7f-4d38-a474-b31d73f20a1e:admin@test-domain.com :: true

retractItemsFromNodes 0.359s
2020-10-18 23:27:49 |

2020-10-18 23:27:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:49 | ------------------------------------

2020-10-18 23:27:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-faecbbfd-5c6c-4699-a897-91800ef08eb5</node><item-id>item-71b6893e-8f7f-4d38-a474-b31d73f20a1e</item-id></data>

2020-10-18 23:27:49 | 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-71b6893e-8f7f-4d38-a474-b31d73f20a1e</value></item-id></result>

2020-10-18 23:27:49 | [Mutex] received everything.

2020-10-18 23:27:49 | [Mutex] isItemNotified: retracted:item:notifieditem-71b6893e-8f7f-4d38-a474-b31d73f20a1e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2020-10-18 23:27:49 |

2020-10-18 23:27:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:49 | ------------------------------------

2020-10-18 23:27:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-faecbbfd-5c6c-4699-a897-91800ef08eb5</node><item-id>item-71b6893e-8f7f-4d38-a474-b31d73f20a1e</item-id></data>

2020-10-18 23:27:49 | 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-faecbbfd-5c6c-4699-a897-91800ef08eb5</value></node><item-id label="Item ID" type="text-single"><value>item-71b6893e-8f7f-4d38-a474-b31d73f20a1e</value></item-id><item label="Item" type="text-multi"><value><item id="item-71b6893e-8f7f-4d38-a474-b31d73f20a1e"><test>item-71b6893e-8f7f-4d38-a474-b31d73f20a1e</test></item></value></item></result>

2020-10-18 23:27:49 | [Mutex] notify: [retrieved:item:item-71b6893e-8f7f-4d38-a474-b31d73f20a1e:payload-matches:true:localhost]

2020-10-18 23:27:49 | [Mutex] received everything.

2020-10-18 23:27:49 | [Mutex] isItemNotified: retrieved:item:item-71b6893e-8f7f-4d38-a474-b31d73f20a1e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-18 23:27:49 |

2020-10-18 23:27:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:49 | ------------------------------------

2020-10-18 23:27:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-18 23:27:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-779913ff-b220-4901-b592-43db824c2aea</value><value>test</value><value>node-faecbbfd-5c6c-4699-a897-91800ef08eb5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-18 23:27:49 |

2020-10-18 23:27:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:49 | ------------------------------------

2020-10-18 23:27:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-faecbbfd-5c6c-4699-a897-91800ef08eb5)</node-pattern></data>

2020-10-18 23:27:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.198s
2020-10-18 23:27:47 |

2020-10-18 23:27:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:47 | ------------------------------------

2020-10-18 23:27:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-faecbbfd-5c6c-4699-a897-91800ef08eb5</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-18 23:27: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.319s
2020-10-18 23:27:49 |

2020-10-18 23:27:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 23:27:49 | ------------------------------------

2020-10-18 23:27:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-faecbbfd-5c6c-4699-a897-91800ef08eb5</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-18 23:27:50 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>