Generated by TestNG with ReportNG at 22:43 PDT on Friday 14 May 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.436s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2021-05-14 22:59:00 |

2021-05-14 22:59:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:00 | ------------------------------------

2021-05-14 22:59:00 | [Mutex] waiting for: [configured:node:node-eeffb853-8bda-4641-8ec0-63a1563939ae:node-8bbdffb7-0549-4796-9eb7-24072333a586]

2021-05-14 22:59:00 | [Mutex] received everything.

2021-05-14 22:59:00 | [Mutex] isItemNotified: configured:node:node-eeffb853-8bda-4641-8ec0-63a1563939ae:node-8bbdffb7-0549-4796-9eb7-24072333a586 :: true

2021-05-14 22:59:01 | [Mutex] waiting for: [received:nodes:932bcfda-8510-4743-abe0-cab9f7967688:localhost]

2021-05-14 22:59:01 | [Mutex] received everything.

2021-05-14 22:59:01 | [Mutex] isItemNotified: received:node:932bcfda-8510-4743-abe0-cab9f7967688:localhost:node-eeffb853-8bda-4641-8ec0-63a1563939ae:Node eeffb853-8bda-4641-8ec0-63a1563939ae :: true

2021-05-14 22:59:01 | [Mutex] waiting for: [received:nodes:25363760-da42-4570-946b-162f201b4ab5:localhost]

2021-05-14 22:59:01 | [Mutex] received everything.

2021-05-14 22:59:01 | [Mutex] isItemNotified: received:node:25363760-da42-4570-946b-162f201b4ab5:localhost:node-eeffb853-8bda-4641-8ec0-63a1563939ae:Node eeffb853-8bda-4641-8ec0-63a1563939ae :: false

createNodes 1.608s
2021-05-14 22:58:57 |

2021-05-14 22:58:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:58:57 | ------------------------------------

2021-05-14 22:58:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-eeffb853-8bda-4641-8ec0-63a1563939ae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node eeffb853-8bda-4641-8ec0-63a1563939ae</title></pubsub></data>

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

2021-05-14 22:58:59 | [Mutex] waiting for: [received:nodes:0bc10b66-7ec5-4fd2-aacc-f40b9c2a397b:localhost]

2021-05-14 22:58:59 | [Mutex] received everything.

2021-05-14 22:58:59 | [Mutex] isItemNotified: received:node:0bc10b66-7ec5-4fd2-aacc-f40b9c2a397b:localhost:node-eeffb853-8bda-4641-8ec0-63a1563939ae:Node eeffb853-8bda-4641-8ec0-63a1563939ae :: true

createSubnodes 1.035s
2021-05-14 22:58:59 |

2021-05-14 22:58:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:58:59 | ------------------------------------

2021-05-14 22:58:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8bbdffb7-0549-4796-9eb7-24072333a586</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8bbdffb7-0549-4796-9eb7-24072333a586</title></pubsub></data>

2021-05-14 22:58:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 22:59:00 | [Mutex] waiting for: [received:nodes:dfa972ff-f21a-4b68-b907-c8e5b1ff5861:localhost]

2021-05-14 22:59:00 | [Mutex] received everything.

2021-05-14 22:59:00 | [Mutex] isItemNotified: received:node:dfa972ff-f21a-4b68-b907-c8e5b1ff5861:localhost:node-8bbdffb7-0549-4796-9eb7-24072333a586:Node 8bbdffb7-0549-4796-9eb7-24072333a586 :: true

deleteNodes 1.026s
2021-05-14 22:59:06 |

2021-05-14 22:59:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:06 | ------------------------------------

2021-05-14 22:59:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8bbdffb7-0549-4796-9eb7-24072333a586</node></data>

2021-05-14 22:59:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 22:59:07 | [Mutex] waiting for: [received:nodes:00250703-ecbd-4466-8517-7556f62d0417:localhost]

2021-05-14 22:59:07 | [Mutex] received everything.

2021-05-14 22:59:07 | [Mutex] isItemNotified: received:node:00250703-ecbd-4466-8517-7556f62d0417:localhost:node-8bbdffb7-0549-4796-9eb7-24072333a586:Node 8bbdffb7-0549-4796-9eb7-24072333a586 :: false

deleteSubnodes 1.179s
2021-05-14 22:59:05 |

2021-05-14 22:59:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:05 | ------------------------------------

2021-05-14 22:59:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-eeffb853-8bda-4641-8ec0-63a1563939ae</node></data>

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

2021-05-14 22:59:06 | [Mutex] waiting for: [received:nodes:f4d1d8d1-9727-439c-8398-ecde4477d629:localhost]

2021-05-14 22:59:06 | [Mutex] received everything.

2021-05-14 22:59:06 | [Mutex] isItemNotified: received:node:f4d1d8d1-9727-439c-8398-ecde4477d629:localhost:node-eeffb853-8bda-4641-8ec0-63a1563939ae:Node eeffb853-8bda-4641-8ec0-63a1563939ae :: false

2021-05-14 22:59:06 | [Mutex] waiting for: [received:nodes:c86e71d4-fedd-44e6-946e-db6f211bec6d:localhost]

2021-05-14 22:59:06 | [Mutex] received everything.

2021-05-14 22:59:06 | [Mutex] isItemNotified: received:node:c86e71d4-fedd-44e6-946e-db6f211bec6d:localhost:node-eeffb853-8bda-4641-8ec0-63a1563939ae:Node eeffb853-8bda-4641-8ec0-63a1563939ae :: false

publishItemsToNodes 0.259s
2021-05-14 22:59:02 |

2021-05-14 22:59:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:02 | ------------------------------------

2021-05-14 22:59:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-eeffb853-8bda-4641-8ec0-63a1563939ae</node><item-id>item-fd51de5d-44a1-4ea7-96d9-760cfee1e751</item-id><entry><test>item-fd51de5d-44a1-4ea7-96d9-760cfee1e751</test></entry></data>

2021-05-14 22:59:02 | 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-fd51de5d-44a1-4ea7-96d9-760cfee1e751</value></item-id></result>

2021-05-14 22:59:02 | [Mutex] waiting for: [published:item:notifieditem-fd51de5d-44a1-4ea7-96d9-760cfee1e751:admin@test-domain.com]

2021-05-14 22:59:02 | [Mutex] received everything.

2021-05-14 22:59:02 | [Mutex] isItemNotified: published:item:notifieditem-fd51de5d-44a1-4ea7-96d9-760cfee1e751:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2021-05-14 22:59:03 |

2021-05-14 22:59:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:03 | ------------------------------------

2021-05-14 22:59:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-eeffb853-8bda-4641-8ec0-63a1563939ae</node><item-id>item-fd51de5d-44a1-4ea7-96d9-760cfee1e751</item-id></data>

2021-05-14 22:59:03 | 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-fd51de5d-44a1-4ea7-96d9-760cfee1e751</value></item-id></result>

2021-05-14 22:59:03 | [Mutex] waiting for: [retracted:item:notifieditem-fd51de5d-44a1-4ea7-96d9-760cfee1e751:admin@test-domain.com]

2021-05-14 22:59:03 | [Mutex] received everything.

2021-05-14 22:59:03 | [Mutex] isItemNotified: retracted:item:notifieditem-fd51de5d-44a1-4ea7-96d9-760cfee1e751:admin@test-domain.com :: true

retrieveItemsFromNodes 0.462s
2021-05-14 22:59:02 |

2021-05-14 22:59:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:02 | ------------------------------------

2021-05-14 22:59:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-eeffb853-8bda-4641-8ec0-63a1563939ae</node><item-id>item-fd51de5d-44a1-4ea7-96d9-760cfee1e751</item-id></data>

2021-05-14 22:59:03 | 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-eeffb853-8bda-4641-8ec0-63a1563939ae</value></node><item-id type="text-single" label="Item ID"><value>item-fd51de5d-44a1-4ea7-96d9-760cfee1e751</value></item-id><item type="text-multi" label="Item"><value><item id="item-fd51de5d-44a1-4ea7-96d9-760cfee1e751"><test>item-fd51de5d-44a1-4ea7-96d9-760cfee1e751</test></item></value></item></result>

2021-05-14 22:59:03 | [Mutex] notify: [retrieved:item:item-fd51de5d-44a1-4ea7-96d9-760cfee1e751:payload-matches:true:localhost]

2021-05-14 22:59:03 | [Mutex] received everything.

2021-05-14 22:59:03 | [Mutex] isItemNotified: retrieved:item:item-fd51de5d-44a1-4ea7-96d9-760cfee1e751:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-05-14 22:59:03 |

2021-05-14 22:59:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:03 | ------------------------------------

2021-05-14 22:59:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-14 22:59:03 | 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-8bbdffb7-0549-4796-9eb7-24072333a586</value><value>node-eeffb853-8bda-4641-8ec0-63a1563939ae</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-05-14 22:59:03 |

2021-05-14 22:59:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:03 | ------------------------------------

2021-05-14 22:59:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-eeffb853-8bda-4641-8ec0-63a1563939ae)</node-pattern></data>

2021-05-14 22:59:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.170s
2021-05-14 22:59:01 |

2021-05-14 22:59:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:01 | ------------------------------------

2021-05-14 22:59:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-eeffb853-8bda-4641-8ec0-63a1563939ae</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-14 22:59:01 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.279s
2021-05-14 22:59:03 |

2021-05-14 22:59:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:03 | ------------------------------------

2021-05-14 22:59:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-eeffb853-8bda-4641-8ec0-63a1563939ae</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-14 22:59:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>