Generated by TestNG with ReportNG at 22:43 PDT on Wednesday 28 April 2021
root@b2c2a8eba6e6 / 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.980s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2021-04-28 23:00:39 |

2021-04-28 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:39 | ------------------------------------

2021-04-28 23:00:39 | [Mutex] waiting for: [configured:node:node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2:node-d50bd19c-18b2-476d-855c-a5e36d304b49]

2021-04-28 23:00:39 | [Mutex] received everything.

2021-04-28 23:00:39 | [Mutex] isItemNotified: configured:node:node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2:node-d50bd19c-18b2-476d-855c-a5e36d304b49 :: true

2021-04-28 23:00:40 | [Mutex] waiting for: [received:nodes:04ecf0d2-5f2d-44c9-b37a-a707892f552c:localhost]

2021-04-28 23:00:40 | [Mutex] received everything.

2021-04-28 23:00:40 | [Mutex] isItemNotified: received:node:04ecf0d2-5f2d-44c9-b37a-a707892f552c:localhost:node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2:Node d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2 :: true

2021-04-28 23:00:40 | [Mutex] waiting for: [received:nodes:a84faec4-8ff1-4670-a764-2d03c5e62265:localhost]

2021-04-28 23:00:40 | [Mutex] received everything.

2021-04-28 23:00:40 | [Mutex] isItemNotified: received:node:a84faec4-8ff1-4670-a764-2d03c5e62265:localhost:node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2:Node d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2 :: false

createNodes 1.531s
2021-04-28 23:00:36 |

2021-04-28 23:00:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:36 | ------------------------------------

2021-04-28 23:00:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2</title></pubsub></data>

2021-04-28 23:00:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-28 23:00:38 | [Mutex] waiting for: [received:nodes:ff3d6dec-6446-43e5-9448-9dc8a5599081:localhost]

2021-04-28 23:00:38 | [Mutex] received everything.

2021-04-28 23:00:38 | [Mutex] isItemNotified: received:node:ff3d6dec-6446-43e5-9448-9dc8a5599081:localhost:node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2:Node d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2 :: true

createSubnodes 1.026s
2021-04-28 23:00:38 |

2021-04-28 23:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:38 | ------------------------------------

2021-04-28 23:00:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d50bd19c-18b2-476d-855c-a5e36d304b49</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d50bd19c-18b2-476d-855c-a5e36d304b49</title></pubsub></data>

2021-04-28 23:00:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-28 23:00:39 | [Mutex] waiting for: [received:nodes:4cb51879-4e99-44b5-a551-cd8ffcfe15fb:localhost]

2021-04-28 23:00:39 | [Mutex] received everything.

2021-04-28 23:00:39 | [Mutex] isItemNotified: received:node:4cb51879-4e99-44b5-a551-cd8ffcfe15fb:localhost:node-d50bd19c-18b2-476d-855c-a5e36d304b49:Node d50bd19c-18b2-476d-855c-a5e36d304b49 :: true

deleteNodes 1.018s
2021-04-28 23:00:44 |

2021-04-28 23:00:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:44 | ------------------------------------

2021-04-28 23:00:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d50bd19c-18b2-476d-855c-a5e36d304b49</node></data>

2021-04-28 23:00:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-28 23:00:45 | [Mutex] waiting for: [received:nodes:bd94c320-d720-4b34-bac4-0488ac5e099c:localhost]

2021-04-28 23:00:45 | [Mutex] waiting for: [received:nodes:bd94c320-d720-4b34-bac4-0488ac5e099c:localhost]

2021-04-28 23:00:45 | [Mutex] waiting for: [received:nodes:bd94c320-d720-4b34-bac4-0488ac5e099c:localhost]

2021-04-28 23:00:45 | [Mutex] received everything.

2021-04-28 23:00:45 | [Mutex] isItemNotified: received:node:bd94c320-d720-4b34-bac4-0488ac5e099c:localhost:node-d50bd19c-18b2-476d-855c-a5e36d304b49:Node d50bd19c-18b2-476d-855c-a5e36d304b49 :: false

deleteSubnodes 1.142s
2021-04-28 23:00:43 |

2021-04-28 23:00:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:43 | ------------------------------------

2021-04-28 23:00:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2</node></data>

2021-04-28 23:00:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-28 23:00:44 | [Mutex] waiting for: [received:nodes:12116d56-d661-4d18-864a-4f7bc7a7a7e2:localhost]

2021-04-28 23:00:44 | [Mutex] received everything.

2021-04-28 23:00:44 | [Mutex] isItemNotified: received:node:12116d56-d661-4d18-864a-4f7bc7a7a7e2:localhost:node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2:Node d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2 :: false

2021-04-28 23:00:44 | [Mutex] waiting for: [received:nodes:e6eb6ce3-f9a0-4330-b104-33ae21355987:localhost]

2021-04-28 23:00:44 | [Mutex] received everything.

2021-04-28 23:00:44 | [Mutex] isItemNotified: received:node:e6eb6ce3-f9a0-4330-b104-33ae21355987:localhost:node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2:Node d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2 :: false

publishItemsToNodes 0.248s
2021-04-28 23:00:41 |

2021-04-28 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:41 | ------------------------------------

2021-04-28 23:00:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2</node><item-id>item-90b09741-d927-4692-b306-f14461a87c9e</item-id><entry><test>item-90b09741-d927-4692-b306-f14461a87c9e</test></entry></data>

2021-04-28 23:00:41 | 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-90b09741-d927-4692-b306-f14461a87c9e</value></item-id></result>

2021-04-28 23:00:41 | [Mutex] waiting for: [published:item:notifieditem-90b09741-d927-4692-b306-f14461a87c9e:admin@test-domain.com]

2021-04-28 23:00:41 | [Mutex] received everything.

2021-04-28 23:00:41 | [Mutex] isItemNotified: published:item:notifieditem-90b09741-d927-4692-b306-f14461a87c9e:admin@test-domain.com :: true

retractItemsFromNodes 0.212s
2021-04-28 23:00:42 |

2021-04-28 23:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:42 | ------------------------------------

2021-04-28 23:00:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2</node><item-id>item-90b09741-d927-4692-b306-f14461a87c9e</item-id></data>

2021-04-28 23:00:42 | 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-90b09741-d927-4692-b306-f14461a87c9e</value></item-id></result>

2021-04-28 23:00:42 | [Mutex] received everything.

2021-04-28 23:00:42 | [Mutex] isItemNotified: retracted:item:notifieditem-90b09741-d927-4692-b306-f14461a87c9e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2021-04-28 23:00:41 |

2021-04-28 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:41 | ------------------------------------

2021-04-28 23:00:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2</node><item-id>item-90b09741-d927-4692-b306-f14461a87c9e</item-id></data>

2021-04-28 23:00:41 | 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-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2</value></node><item-id label="Item ID" type="text-single"><value>item-90b09741-d927-4692-b306-f14461a87c9e</value></item-id><item label="Item" type="text-multi"><value><item id="item-90b09741-d927-4692-b306-f14461a87c9e"><test>item-90b09741-d927-4692-b306-f14461a87c9e</test></item></value></item></result>

2021-04-28 23:00:41 | [Mutex] notify: [retrieved:item:item-90b09741-d927-4692-b306-f14461a87c9e:payload-matches:true:localhost]

2021-04-28 23:00:41 | [Mutex] received everything.

2021-04-28 23:00:41 | [Mutex] isItemNotified: retrieved:item:item-90b09741-d927-4692-b306-f14461a87c9e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2021-04-28 23:00:41 |

2021-04-28 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:41 | ------------------------------------

2021-04-28 23:00:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-28 23:00:41 | 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-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2</value><value>node-d50bd19c-18b2-476d-855c-a5e36d304b49</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2021-04-28 23:00:41 |

2021-04-28 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:41 | ------------------------------------

2021-04-28 23:00:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2)</node-pattern></data>

2021-04-28 23:00:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.206s
2021-04-28 23:00:40 |

2021-04-28 23:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:40 | ------------------------------------

2021-04-28 23:00:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-28 23:00:40 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.267s
2021-04-28 23:00:42 |

2021-04-28 23:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 23:00:42 | ------------------------------------

2021-04-28 23:00:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d47dfd90-afb3-4159-ad2a-6ffb1e85b5e2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-28 23:00:42 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>