Generated by TestNG with ReportNG at 22:46 PDT on Tuesday 20 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.456s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2020-10-20 23:01:04 |

2020-10-20 23:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:04 | ------------------------------------

2020-10-20 23:01:04 | [Mutex] waiting for: [configured:node:node-a8674f70-4d89-49e1-a421-155bea8a7236:node-73e8db3c-3158-4dbe-8b6d-15e7a686f41e]

2020-10-20 23:01:04 | [Mutex] received everything.

2020-10-20 23:01:04 | [Mutex] isItemNotified: configured:node:node-a8674f70-4d89-49e1-a421-155bea8a7236:node-73e8db3c-3158-4dbe-8b6d-15e7a686f41e :: true

2020-10-20 23:01:05 | [Mutex] waiting for: [received:nodes:44d687e8-90f2-4b89-a83b-3ba621b19ad3:localhost]

2020-10-20 23:01:05 | [Mutex] received everything.

2020-10-20 23:01:05 | [Mutex] isItemNotified: received:node:44d687e8-90f2-4b89-a83b-3ba621b19ad3:localhost:node-a8674f70-4d89-49e1-a421-155bea8a7236:Node a8674f70-4d89-49e1-a421-155bea8a7236 :: true

2020-10-20 23:01:05 | [Mutex] waiting for: [received:nodes:e9ca975e-b59e-4238-9d81-86b147560fc2:localhost]

2020-10-20 23:01:05 | [Mutex] received everything.

2020-10-20 23:01:05 | [Mutex] isItemNotified: received:node:e9ca975e-b59e-4238-9d81-86b147560fc2:localhost:node-a8674f70-4d89-49e1-a421-155bea8a7236:Node a8674f70-4d89-49e1-a421-155bea8a7236 :: false

createNodes 1.553s
2020-10-20 23:01:02 |

2020-10-20 23:01:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:02 | ------------------------------------

2020-10-20 23:01:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a8674f70-4d89-49e1-a421-155bea8a7236</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a8674f70-4d89-49e1-a421-155bea8a7236</title></pubsub></data>

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

2020-10-20 23:01:03 | [Mutex] waiting for: [received:nodes:a989b05e-35c8-4fa6-95c7-13b2bf02b708:localhost]

2020-10-20 23:01:03 | [Mutex] received everything.

2020-10-20 23:01:03 | [Mutex] isItemNotified: received:node:a989b05e-35c8-4fa6-95c7-13b2bf02b708:localhost:node-a8674f70-4d89-49e1-a421-155bea8a7236:Node a8674f70-4d89-49e1-a421-155bea8a7236 :: true

createSubnodes 1.030s
2020-10-20 23:01:03 |

2020-10-20 23:01:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:03 | ------------------------------------

2020-10-20 23:01:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-73e8db3c-3158-4dbe-8b6d-15e7a686f41e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 73e8db3c-3158-4dbe-8b6d-15e7a686f41e</title></pubsub></data>

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

2020-10-20 23:01:04 | [Mutex] waiting for: [received:nodes:e7293141-39b6-47e7-85be-4fcf2162b461:localhost]

2020-10-20 23:01:04 | [Mutex] received everything.

2020-10-20 23:01:04 | [Mutex] isItemNotified: received:node:e7293141-39b6-47e7-85be-4fcf2162b461:localhost:node-73e8db3c-3158-4dbe-8b6d-15e7a686f41e:Node 73e8db3c-3158-4dbe-8b6d-15e7a686f41e :: true

deleteNodes 1.057s
2020-10-20 23:01:10 |

2020-10-20 23:01:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:10 | ------------------------------------

2020-10-20 23:01:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-73e8db3c-3158-4dbe-8b6d-15e7a686f41e</node></data>

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

2020-10-20 23:01:11 | [Mutex] waiting for: [received:nodes:41b92037-060e-476a-86ee-f705918be915:localhost]

2020-10-20 23:01:11 | [Mutex] received everything.

2020-10-20 23:01:11 | [Mutex] isItemNotified: received:node:41b92037-060e-476a-86ee-f705918be915:localhost:node-73e8db3c-3158-4dbe-8b6d-15e7a686f41e:Node 73e8db3c-3158-4dbe-8b6d-15e7a686f41e :: false

deleteSubnodes 1.180s
2020-10-20 23:01:09 |

2020-10-20 23:01:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:09 | ------------------------------------

2020-10-20 23:01:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a8674f70-4d89-49e1-a421-155bea8a7236</node></data>

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

2020-10-20 23:01:10 | [Mutex] waiting for: [received:nodes:abba14a9-1450-493b-bbc7-4da1db57615d:localhost]

2020-10-20 23:01:10 | [Mutex] received everything.

2020-10-20 23:01:10 | [Mutex] isItemNotified: received:node:abba14a9-1450-493b-bbc7-4da1db57615d:localhost:node-a8674f70-4d89-49e1-a421-155bea8a7236:Node a8674f70-4d89-49e1-a421-155bea8a7236 :: false

2020-10-20 23:01:10 | [Mutex] waiting for: [received:nodes:b8358995-cc07-472e-a737-de3973cc736a:localhost]

2020-10-20 23:01:10 | [Mutex] received everything.

2020-10-20 23:01:10 | [Mutex] isItemNotified: received:node:b8358995-cc07-472e-a737-de3973cc736a:localhost:node-a8674f70-4d89-49e1-a421-155bea8a7236:Node a8674f70-4d89-49e1-a421-155bea8a7236 :: false

publishItemsToNodes 0.279s
2020-10-20 23:01:06 |

2020-10-20 23:01:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:06 | ------------------------------------

2020-10-20 23:01:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a8674f70-4d89-49e1-a421-155bea8a7236</node><item-id>item-5ba12174-530c-40b8-8fbd-6be5971719c8</item-id><entry><test>item-5ba12174-530c-40b8-8fbd-6be5971719c8</test></entry></data>

2020-10-20 23:01:07 | 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-5ba12174-530c-40b8-8fbd-6be5971719c8</value></item-id></result>

2020-10-20 23:01:07 | [Mutex] waiting for: [published:item:notifieditem-5ba12174-530c-40b8-8fbd-6be5971719c8:admin@test-domain.com]

2020-10-20 23:01:07 | [Mutex] received everything.

2020-10-20 23:01:07 | [Mutex] isItemNotified: published:item:notifieditem-5ba12174-530c-40b8-8fbd-6be5971719c8:admin@test-domain.com :: true

retractItemsFromNodes 0.352s
2020-10-20 23:01:07 |

2020-10-20 23:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:07 | ------------------------------------

2020-10-20 23:01:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a8674f70-4d89-49e1-a421-155bea8a7236</node><item-id>item-5ba12174-530c-40b8-8fbd-6be5971719c8</item-id></data>

2020-10-20 23:01:07 | 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-5ba12174-530c-40b8-8fbd-6be5971719c8</value></item-id></result>

2020-10-20 23:01:07 | [Mutex] waiting for: [retracted:item:notifieditem-5ba12174-530c-40b8-8fbd-6be5971719c8:admin@test-domain.com]

2020-10-20 23:01:07 | [Mutex] received everything.

2020-10-20 23:01:07 | [Mutex] isItemNotified: retracted:item:notifieditem-5ba12174-530c-40b8-8fbd-6be5971719c8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.352s
2020-10-20 23:01:07 |

2020-10-20 23:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:07 | ------------------------------------

2020-10-20 23:01:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a8674f70-4d89-49e1-a421-155bea8a7236</node><item-id>item-5ba12174-530c-40b8-8fbd-6be5971719c8</item-id></data>

2020-10-20 23:01:07 | 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-a8674f70-4d89-49e1-a421-155bea8a7236</value></node><item-id label="Item ID" type="text-single"><value>item-5ba12174-530c-40b8-8fbd-6be5971719c8</value></item-id><item label="Item" type="text-multi"><value><item id="item-5ba12174-530c-40b8-8fbd-6be5971719c8"><test>item-5ba12174-530c-40b8-8fbd-6be5971719c8</test></item></value></item></result>

2020-10-20 23:01:07 | [Mutex] notify: [retrieved:item:item-5ba12174-530c-40b8-8fbd-6be5971719c8:payload-matches:true:localhost]

2020-10-20 23:01:07 | [Mutex] received everything.

2020-10-20 23:01:07 | [Mutex] isItemNotified: retrieved:item:item-5ba12174-530c-40b8-8fbd-6be5971719c8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-20 23:01:07 |

2020-10-20 23:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:07 | ------------------------------------

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

2020-10-20 23:01:07 | 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-a8674f70-4d89-49e1-a421-155bea8a7236</value><value>node-73e8db3c-3158-4dbe-8b6d-15e7a686f41e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-20 23:01:07 |

2020-10-20 23:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:07 | ------------------------------------

2020-10-20 23:01:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a8674f70-4d89-49e1-a421-155bea8a7236)</node-pattern></data>

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

subscribeNodes 1.118s
2020-10-20 23:01:05 |

2020-10-20 23:01:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:05 | ------------------------------------

2020-10-20 23:01:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a8674f70-4d89-49e1-a421-155bea8a7236</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-20 23:01:05 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.330s
2020-10-20 23:01:07 |

2020-10-20 23:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 23:01:07 | ------------------------------------

2020-10-20 23:01:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a8674f70-4d89-49e1-a421-155bea8a7236</node><jids><value>admin@test-domain.com</value></jids></data>

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