Generated by TestNG with ReportNG at 13:47 PDT on Monday 28 September 2020
root@9e0b9c5f736a / 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.062s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2020-09-28 14:05:09 |

2020-09-28 14:05:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:09 | ------------------------------------

2020-09-28 14:05:09 | [Mutex] waiting for: [configured:node:node-53f05e44-44c5-4c96-906c-faba62afb19e:node-82582fb5-87fe-4cc1-b411-fc22b3879cb7]

2020-09-28 14:05:09 | [Mutex] received everything.

2020-09-28 14:05:09 | [Mutex] isItemNotified: configured:node:node-53f05e44-44c5-4c96-906c-faba62afb19e:node-82582fb5-87fe-4cc1-b411-fc22b3879cb7 :: true

2020-09-28 14:05:10 | [Mutex] waiting for: [received:nodes:96f8d4b6-2b1a-419b-8327-0900e0580d7d:localhost]

2020-09-28 14:05:10 | [Mutex] received everything.

2020-09-28 14:05:10 | [Mutex] isItemNotified: received:node:96f8d4b6-2b1a-419b-8327-0900e0580d7d:localhost:node-53f05e44-44c5-4c96-906c-faba62afb19e:Node 53f05e44-44c5-4c96-906c-faba62afb19e :: true

2020-09-28 14:05:10 | [Mutex] waiting for: [received:nodes:a330c5bb-dff8-4a61-9e45-1c4a13fdf3a3:localhost]

2020-09-28 14:05:10 | [Mutex] received everything.

2020-09-28 14:05:10 | [Mutex] isItemNotified: received:node:a330c5bb-dff8-4a61-9e45-1c4a13fdf3a3:localhost:node-53f05e44-44c5-4c96-906c-faba62afb19e:Node 53f05e44-44c5-4c96-906c-faba62afb19e :: false

createNodes 1.499s
2020-09-28 14:05:06 |

2020-09-28 14:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:06 | ------------------------------------

2020-09-28 14:05:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-53f05e44-44c5-4c96-906c-faba62afb19e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 53f05e44-44c5-4c96-906c-faba62afb19e</title></pubsub></data>

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

2020-09-28 14:05:08 | [Mutex] waiting for: [received:nodes:f8b7015a-a246-4874-abbe-c6b3fd3a69b7:localhost]

2020-09-28 14:05:08 | [Mutex] received everything.

2020-09-28 14:05:08 | [Mutex] isItemNotified: received:node:f8b7015a-a246-4874-abbe-c6b3fd3a69b7:localhost:node-53f05e44-44c5-4c96-906c-faba62afb19e:Node 53f05e44-44c5-4c96-906c-faba62afb19e :: true

createSubnodes 1.025s
2020-09-28 14:05:08 |

2020-09-28 14:05:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:08 | ------------------------------------

2020-09-28 14:05:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-82582fb5-87fe-4cc1-b411-fc22b3879cb7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 82582fb5-87fe-4cc1-b411-fc22b3879cb7</title></pubsub></data>

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

2020-09-28 14:05:09 | [Mutex] waiting for: [received:nodes:39b2a593-b8fe-4aa3-beb8-bf743fb602a9:localhost]

2020-09-28 14:05:09 | [Mutex] received everything.

2020-09-28 14:05:09 | [Mutex] isItemNotified: received:node:39b2a593-b8fe-4aa3-beb8-bf743fb602a9:localhost:node-82582fb5-87fe-4cc1-b411-fc22b3879cb7:Node 82582fb5-87fe-4cc1-b411-fc22b3879cb7 :: true

deleteNodes 1.018s
2020-09-28 14:05:14 |

2020-09-28 14:05:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:14 | ------------------------------------

2020-09-28 14:05:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-82582fb5-87fe-4cc1-b411-fc22b3879cb7</node></data>

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

2020-09-28 14:05:15 | [Mutex] waiting for: [received:nodes:7148bc9b-cd41-4a97-b406-894190d0d053:localhost]

2020-09-28 14:05:15 | [Mutex] received everything.

2020-09-28 14:05:15 | [Mutex] isItemNotified: received:node:7148bc9b-cd41-4a97-b406-894190d0d053:localhost:node-82582fb5-87fe-4cc1-b411-fc22b3879cb7:Node 82582fb5-87fe-4cc1-b411-fc22b3879cb7 :: false

deleteSubnodes 1.113s
2020-09-28 14:05:13 |

2020-09-28 14:05:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:13 | ------------------------------------

2020-09-28 14:05:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-53f05e44-44c5-4c96-906c-faba62afb19e</node></data>

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

2020-09-28 14:05:14 | [Mutex] waiting for: [received:nodes:09bed20d-4dda-4fa9-a9d0-506a02014728:localhost]

2020-09-28 14:05:14 | [Mutex] received everything.

2020-09-28 14:05:14 | [Mutex] isItemNotified: received:node:09bed20d-4dda-4fa9-a9d0-506a02014728:localhost:node-53f05e44-44c5-4c96-906c-faba62afb19e:Node 53f05e44-44c5-4c96-906c-faba62afb19e :: false

2020-09-28 14:05:14 | [Mutex] waiting for: [received:nodes:76652e1c-c199-4f0d-b1ce-171aa7d87814:localhost]

2020-09-28 14:05:14 | [Mutex] received everything.

2020-09-28 14:05:14 | [Mutex] isItemNotified: received:node:76652e1c-c199-4f0d-b1ce-171aa7d87814:localhost:node-53f05e44-44c5-4c96-906c-faba62afb19e:Node 53f05e44-44c5-4c96-906c-faba62afb19e :: false

publishItemsToNodes 0.229s
2020-09-28 14:05:11 |

2020-09-28 14:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:11 | ------------------------------------

2020-09-28 14:05:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-53f05e44-44c5-4c96-906c-faba62afb19e</node><item-id>item-7385062d-7dcb-4d9d-86ff-abef1c6d9629</item-id><entry><test>item-7385062d-7dcb-4d9d-86ff-abef1c6d9629</test></entry></data>

2020-09-28 14:05:11 | 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-7385062d-7dcb-4d9d-86ff-abef1c6d9629</value></item-id></result>

2020-09-28 14:05:11 | [Mutex] received everything.

2020-09-28 14:05:11 | [Mutex] isItemNotified: published:item:notifieditem-7385062d-7dcb-4d9d-86ff-abef1c6d9629:admin@test-domain.com :: true

retractItemsFromNodes 0.260s
2020-09-28 14:05:11 |

2020-09-28 14:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:11 | ------------------------------------

2020-09-28 14:05:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-53f05e44-44c5-4c96-906c-faba62afb19e</node><item-id>item-7385062d-7dcb-4d9d-86ff-abef1c6d9629</item-id></data>

2020-09-28 14:05:12 | 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-7385062d-7dcb-4d9d-86ff-abef1c6d9629</value></item-id></result>

2020-09-28 14:05:12 | [Mutex] received everything.

2020-09-28 14:05:12 | [Mutex] isItemNotified: retracted:item:notifieditem-7385062d-7dcb-4d9d-86ff-abef1c6d9629:admin@test-domain.com :: true

retrieveItemsFromNodes 0.241s
2020-09-28 14:05:11 |

2020-09-28 14:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:11 | ------------------------------------

2020-09-28 14:05:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-53f05e44-44c5-4c96-906c-faba62afb19e</node><item-id>item-7385062d-7dcb-4d9d-86ff-abef1c6d9629</item-id></data>

2020-09-28 14:05:11 | 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-53f05e44-44c5-4c96-906c-faba62afb19e</value></node><item-id label="Item ID" type="text-single"><value>item-7385062d-7dcb-4d9d-86ff-abef1c6d9629</value></item-id><item label="Item" type="text-multi"><value><item id="item-7385062d-7dcb-4d9d-86ff-abef1c6d9629"><test>item-7385062d-7dcb-4d9d-86ff-abef1c6d9629</test></item></value></item></result>

2020-09-28 14:05:11 | [Mutex] notify: [retrieved:item:item-7385062d-7dcb-4d9d-86ff-abef1c6d9629:payload-matches:true:localhost]

2020-09-28 14:05:11 | [Mutex] received everything.

2020-09-28 14:05:11 | [Mutex] isItemNotified: retrieved:item:item-7385062d-7dcb-4d9d-86ff-abef1c6d9629:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-28 14:05:11 |

2020-09-28 14:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:11 | ------------------------------------

2020-09-28 14:05:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-28 14:05:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-53f05e44-44c5-4c96-906c-faba62afb19e</value><value>test</value><value>node-82582fb5-87fe-4cc1-b411-fc22b3879cb7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-28 14:05:11 |

2020-09-28 14:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:11 | ------------------------------------

2020-09-28 14:05:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-53f05e44-44c5-4c96-906c-faba62afb19e)</node-pattern></data>

2020-09-28 14:05:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.121s
2020-09-28 14:05:10 |

2020-09-28 14:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:10 | ------------------------------------

2020-09-28 14:05:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-53f05e44-44c5-4c96-906c-faba62afb19e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.294s
2020-09-28 14:05:12 |

2020-09-28 14:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 14:05:12 | ------------------------------------

2020-09-28 14:05:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-53f05e44-44c5-4c96-906c-faba62afb19e</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-28 14:05:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>