Generated by TestNG with ReportNG at 21:44 PST on Thursday 18 February 2021
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.163s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.142s
2021-02-18 22:06:37 |

2021-02-18 22:06:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:37 | ------------------------------------

2021-02-18 22:06:37 | [Mutex] waiting for: [configured:node:node-0578c34a-e90e-409a-94db-1c9be627286f:node-2278d186-6af6-4f51-b16b-30c1792ccc2d]

2021-02-18 22:06:37 | [Mutex] received everything.

2021-02-18 22:06:37 | [Mutex] isItemNotified: configured:node:node-0578c34a-e90e-409a-94db-1c9be627286f:node-2278d186-6af6-4f51-b16b-30c1792ccc2d :: true

2021-02-18 22:06:38 | [Mutex] waiting for: [received:nodes:8bc5ea12-9b00-46fb-911d-a28735cc0c2e:localhost]

2021-02-18 22:06:38 | [Mutex] received everything.

2021-02-18 22:06:38 | [Mutex] isItemNotified: received:node:8bc5ea12-9b00-46fb-911d-a28735cc0c2e:localhost:node-0578c34a-e90e-409a-94db-1c9be627286f:Node 0578c34a-e90e-409a-94db-1c9be627286f :: true

2021-02-18 22:06:38 | [Mutex] waiting for: [received:nodes:e4a68223-063a-4278-8438-b576cc1defe4:localhost]

2021-02-18 22:06:38 | [Mutex] waiting for: [received:nodes:e4a68223-063a-4278-8438-b576cc1defe4:localhost]

2021-02-18 22:06:38 | [Mutex] received everything.

2021-02-18 22:06:38 | [Mutex] isItemNotified: received:node:e4a68223-063a-4278-8438-b576cc1defe4:localhost:node-0578c34a-e90e-409a-94db-1c9be627286f:Node 0578c34a-e90e-409a-94db-1c9be627286f :: false

createNodes 1.633s
2021-02-18 22:06:34 |

2021-02-18 22:06:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:34 | ------------------------------------

2021-02-18 22:06:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0578c34a-e90e-409a-94db-1c9be627286f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0578c34a-e90e-409a-94db-1c9be627286f</title></pubsub></data>

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

2021-02-18 22:06:36 | [Mutex] waiting for: [received:nodes:1ffef78c-4989-4090-b7d5-091b449da95f:localhost]

2021-02-18 22:06:36 | [Mutex] received everything.

2021-02-18 22:06:36 | [Mutex] isItemNotified: received:node:1ffef78c-4989-4090-b7d5-091b449da95f:localhost:node-0578c34a-e90e-409a-94db-1c9be627286f:Node 0578c34a-e90e-409a-94db-1c9be627286f :: true

createSubnodes 1.021s
2021-02-18 22:06:36 |

2021-02-18 22:06:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:36 | ------------------------------------

2021-02-18 22:06:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2278d186-6af6-4f51-b16b-30c1792ccc2d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2278d186-6af6-4f51-b16b-30c1792ccc2d</title></pubsub></data>

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

2021-02-18 22:06:37 | [Mutex] waiting for: [received:nodes:ca259f71-5a75-4a1b-9de6-2b2bf2f05594:localhost]

2021-02-18 22:06:37 | [Mutex] received everything.

2021-02-18 22:06:37 | [Mutex] isItemNotified: received:node:ca259f71-5a75-4a1b-9de6-2b2bf2f05594:localhost:node-2278d186-6af6-4f51-b16b-30c1792ccc2d:Node 2278d186-6af6-4f51-b16b-30c1792ccc2d :: true

deleteNodes 1.017s
2021-02-18 22:06:42 |

2021-02-18 22:06:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:42 | ------------------------------------

2021-02-18 22:06:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2278d186-6af6-4f51-b16b-30c1792ccc2d</node></data>

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

2021-02-18 22:06:43 | [Mutex] waiting for: [received:nodes:2f06b9d6-c2a1-4b88-8e5c-6e20e793a8aa:localhost]

2021-02-18 22:06:43 | [Mutex] received everything.

2021-02-18 22:06:43 | [Mutex] isItemNotified: received:node:2f06b9d6-c2a1-4b88-8e5c-6e20e793a8aa:localhost:node-2278d186-6af6-4f51-b16b-30c1792ccc2d:Node 2278d186-6af6-4f51-b16b-30c1792ccc2d :: false

deleteSubnodes 1.120s
2021-02-18 22:06:41 |

2021-02-18 22:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:41 | ------------------------------------

2021-02-18 22:06:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0578c34a-e90e-409a-94db-1c9be627286f</node></data>

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

2021-02-18 22:06:42 | [Mutex] waiting for: [received:nodes:f55a3cc9-3374-42bb-9c26-b59788733209:localhost]

2021-02-18 22:06:42 | [Mutex] received everything.

2021-02-18 22:06:42 | [Mutex] isItemNotified: received:node:f55a3cc9-3374-42bb-9c26-b59788733209:localhost:node-0578c34a-e90e-409a-94db-1c9be627286f:Node 0578c34a-e90e-409a-94db-1c9be627286f :: false

2021-02-18 22:06:42 | [Mutex] waiting for: [received:nodes:d6a1b6c3-b5d4-4364-b31d-65a19c78a06d:localhost]

2021-02-18 22:06:42 | [Mutex] received everything.

2021-02-18 22:06:42 | [Mutex] isItemNotified: received:node:d6a1b6c3-b5d4-4364-b31d-65a19c78a06d:localhost:node-0578c34a-e90e-409a-94db-1c9be627286f:Node 0578c34a-e90e-409a-94db-1c9be627286f :: false

publishItemsToNodes 0.182s
2021-02-18 22:06:39 |

2021-02-18 22:06:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:39 | ------------------------------------

2021-02-18 22:06:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0578c34a-e90e-409a-94db-1c9be627286f</node><item-id>item-749f74d6-99d1-430c-8092-ce47c60e8ed9</item-id><entry><test>item-749f74d6-99d1-430c-8092-ce47c60e8ed9</test></entry></data>

2021-02-18 22:06:39 | 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-749f74d6-99d1-430c-8092-ce47c60e8ed9</value></item-id></result>

2021-02-18 22:06:39 | [Mutex] received everything.

2021-02-18 22:06:39 | [Mutex] isItemNotified: published:item:notifieditem-749f74d6-99d1-430c-8092-ce47c60e8ed9:admin@test-domain.com :: true

retractItemsFromNodes 0.323s
2021-02-18 22:06:39 |

2021-02-18 22:06:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:39 | ------------------------------------

2021-02-18 22:06:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0578c34a-e90e-409a-94db-1c9be627286f</node><item-id>item-749f74d6-99d1-430c-8092-ce47c60e8ed9</item-id></data>

2021-02-18 22:06:40 | 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-749f74d6-99d1-430c-8092-ce47c60e8ed9</value></item-id></result>

2021-02-18 22:06:40 | [Mutex] received everything.

2021-02-18 22:06:40 | [Mutex] isItemNotified: retracted:item:notifieditem-749f74d6-99d1-430c-8092-ce47c60e8ed9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.175s
2021-02-18 22:06:39 |

2021-02-18 22:06:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:39 | ------------------------------------

2021-02-18 22:06:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0578c34a-e90e-409a-94db-1c9be627286f</node><item-id>item-749f74d6-99d1-430c-8092-ce47c60e8ed9</item-id></data>

2021-02-18 22:06:39 | 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-0578c34a-e90e-409a-94db-1c9be627286f</value></node><item-id label="Item ID" type="text-single"><value>item-749f74d6-99d1-430c-8092-ce47c60e8ed9</value></item-id><item label="Item" type="text-multi"><value><item id="item-749f74d6-99d1-430c-8092-ce47c60e8ed9"><test>item-749f74d6-99d1-430c-8092-ce47c60e8ed9</test></item></value></item></result>

2021-02-18 22:06:39 | [Mutex] notify: [retrieved:item:item-749f74d6-99d1-430c-8092-ce47c60e8ed9:payload-matches:true:localhost]

2021-02-18 22:06:39 | [Mutex] received everything.

2021-02-18 22:06:39 | [Mutex] isItemNotified: retrieved:item:item-749f74d6-99d1-430c-8092-ce47c60e8ed9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2021-02-18 22:06:39 |

2021-02-18 22:06:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:39 | ------------------------------------

2021-02-18 22:06:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-18 22:06:39 | 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-0578c34a-e90e-409a-94db-1c9be627286f</value><value>node-2278d186-6af6-4f51-b16b-30c1792ccc2d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.050s
2021-02-18 22:06:39 |

2021-02-18 22:06:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:39 | ------------------------------------

2021-02-18 22:06:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0578c34a-e90e-409a-94db-1c9be627286f)</node-pattern></data>

2021-02-18 22:06:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.136s
2021-02-18 22:06:38 |

2021-02-18 22:06:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:38 | ------------------------------------

2021-02-18 22:06:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0578c34a-e90e-409a-94db-1c9be627286f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-18 22:06:38 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.387s
2021-02-18 22:06:40 |

2021-02-18 22:06:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:06:40 | ------------------------------------

2021-02-18 22:06:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0578c34a-e90e-409a-94db-1c9be627286f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-18 22:06:40 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>