Generated by TestNG with ReportNG at 21:57 PST on Tuesday 16 November 2021
root@f29ef40080b5 / 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.397s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.145s
2021-11-16 22:12:52 |

2021-11-16 22:12:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:52 | ------------------------------------

2021-11-16 22:12:52 | [Mutex] waiting for: [configured:node:node-20d8f788-67ee-4f66-950e-024a9591fc3e:node-5dcc1b23-1334-445b-bae3-7411ac8dcd8a]

2021-11-16 22:12:52 | [Mutex] received everything.

2021-11-16 22:12:52 | [Mutex] isItemNotified: configured:node:node-20d8f788-67ee-4f66-950e-024a9591fc3e:node-5dcc1b23-1334-445b-bae3-7411ac8dcd8a :: true

2021-11-16 22:12:53 | [Mutex] waiting for: [received:nodes:da4cd386-86d8-4bd9-b593-2622c94b1035:localhost]

2021-11-16 22:12:53 | [Mutex] received everything.

2021-11-16 22:12:53 | [Mutex] isItemNotified: received:node:da4cd386-86d8-4bd9-b593-2622c94b1035:localhost:node-20d8f788-67ee-4f66-950e-024a9591fc3e:Node 20d8f788-67ee-4f66-950e-024a9591fc3e :: true

2021-11-16 22:12:53 | [Mutex] waiting for: [received:nodes:f9fbcb34-d5dd-40b5-ad01-96a11d530bf4:localhost]

2021-11-16 22:12:53 | [Mutex] received everything.

2021-11-16 22:12:53 | [Mutex] isItemNotified: received:node:f9fbcb34-d5dd-40b5-ad01-96a11d530bf4:localhost:node-20d8f788-67ee-4f66-950e-024a9591fc3e:Node 20d8f788-67ee-4f66-950e-024a9591fc3e :: false

createNodes 1.532s
2021-11-16 22:12:50 |

2021-11-16 22:12:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:50 | ------------------------------------

2021-11-16 22:12:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-20d8f788-67ee-4f66-950e-024a9591fc3e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 20d8f788-67ee-4f66-950e-024a9591fc3e</title></pubsub></data>

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

2021-11-16 22:12:51 | [Mutex] waiting for: [received:nodes:356728aa-d346-4cee-82f4-ed9ef72a3533:localhost]

2021-11-16 22:12:51 | [Mutex] received everything.

2021-11-16 22:12:51 | [Mutex] isItemNotified: received:node:356728aa-d346-4cee-82f4-ed9ef72a3533:localhost:node-20d8f788-67ee-4f66-950e-024a9591fc3e:Node 20d8f788-67ee-4f66-950e-024a9591fc3e :: true

createSubnodes 1.041s
2021-11-16 22:12:51 |

2021-11-16 22:12:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:51 | ------------------------------------

2021-11-16 22:12:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5dcc1b23-1334-445b-bae3-7411ac8dcd8a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5dcc1b23-1334-445b-bae3-7411ac8dcd8a</title></pubsub></data>

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

2021-11-16 22:12:52 | [Mutex] waiting for: [received:nodes:b2184a0e-4005-4305-b6d4-eefed70b750f:localhost]

2021-11-16 22:12:52 | [Mutex] waiting for: [received:nodes:b2184a0e-4005-4305-b6d4-eefed70b750f:localhost]

2021-11-16 22:12:52 | [Mutex] received everything.

2021-11-16 22:12:52 | [Mutex] isItemNotified: received:node:b2184a0e-4005-4305-b6d4-eefed70b750f:localhost:node-5dcc1b23-1334-445b-bae3-7411ac8dcd8a:Node 5dcc1b23-1334-445b-bae3-7411ac8dcd8a :: true

deleteNodes 1.017s
2021-11-16 22:12:58 |

2021-11-16 22:12:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:58 | ------------------------------------

2021-11-16 22:12:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5dcc1b23-1334-445b-bae3-7411ac8dcd8a</node></data>

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

2021-11-16 22:12:59 | [Mutex] waiting for: [received:nodes:0d035794-459b-4295-9132-0a1d2206cf9a:localhost]

2021-11-16 22:12:59 | [Mutex] received everything.

2021-11-16 22:12:59 | [Mutex] isItemNotified: received:node:0d035794-459b-4295-9132-0a1d2206cf9a:localhost:node-5dcc1b23-1334-445b-bae3-7411ac8dcd8a:Node 5dcc1b23-1334-445b-bae3-7411ac8dcd8a :: false

deleteSubnodes 1.133s
2021-11-16 22:12:57 |

2021-11-16 22:12:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:57 | ------------------------------------

2021-11-16 22:12:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-20d8f788-67ee-4f66-950e-024a9591fc3e</node></data>

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

2021-11-16 22:12:58 | [Mutex] waiting for: [received:nodes:adad91af-f7ab-47fa-8a68-2128add44fcb:localhost]

2021-11-16 22:12:58 | [Mutex] received everything.

2021-11-16 22:12:58 | [Mutex] isItemNotified: received:node:adad91af-f7ab-47fa-8a68-2128add44fcb:localhost:node-20d8f788-67ee-4f66-950e-024a9591fc3e:Node 20d8f788-67ee-4f66-950e-024a9591fc3e :: false

2021-11-16 22:12:58 | [Mutex] waiting for: [received:nodes:11107f0b-7a5d-47df-9d39-6a7e979a4055:localhost]

2021-11-16 22:12:58 | [Mutex] received everything.

2021-11-16 22:12:58 | [Mutex] isItemNotified: received:node:11107f0b-7a5d-47df-9d39-6a7e979a4055:localhost:node-20d8f788-67ee-4f66-950e-024a9591fc3e:Node 20d8f788-67ee-4f66-950e-024a9591fc3e :: false

publishItemsToNodes 0.316s
2021-11-16 22:12:55 |

2021-11-16 22:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:55 | ------------------------------------

2021-11-16 22:12:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-20d8f788-67ee-4f66-950e-024a9591fc3e</node><item-id>item-ffb1744a-6785-49e9-9813-e997124b3f8b</item-id><entry><test>item-ffb1744a-6785-49e9-9813-e997124b3f8b</test></entry></data>

2021-11-16 22:12:55 | 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-ffb1744a-6785-49e9-9813-e997124b3f8b</value></item-id></result>

2021-11-16 22:12:55 | [Mutex] received everything.

2021-11-16 22:12:55 | [Mutex] isItemNotified: published:item:notifieditem-ffb1744a-6785-49e9-9813-e997124b3f8b:admin@test-domain.com :: true

retractItemsFromNodes 0.255s
2021-11-16 22:12:55 |

2021-11-16 22:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:55 | ------------------------------------

2021-11-16 22:12:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-20d8f788-67ee-4f66-950e-024a9591fc3e</node><item-id>item-ffb1744a-6785-49e9-9813-e997124b3f8b</item-id></data>

2021-11-16 22:12:56 | 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-ffb1744a-6785-49e9-9813-e997124b3f8b</value></item-id></result>

2021-11-16 22:12:56 | [Mutex] received everything.

2021-11-16 22:12:56 | [Mutex] isItemNotified: retracted:item:notifieditem-ffb1744a-6785-49e9-9813-e997124b3f8b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.368s
2021-11-16 22:12:55 |

2021-11-16 22:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:55 | ------------------------------------

2021-11-16 22:12:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-20d8f788-67ee-4f66-950e-024a9591fc3e</node><item-id>item-ffb1744a-6785-49e9-9813-e997124b3f8b</item-id></data>

2021-11-16 22:12:55 | 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-20d8f788-67ee-4f66-950e-024a9591fc3e</value></node><item-id type="text-single" label="Item ID"><value>item-ffb1744a-6785-49e9-9813-e997124b3f8b</value></item-id><item type="text-multi" label="Item"><value><item id="item-ffb1744a-6785-49e9-9813-e997124b3f8b"><test>item-ffb1744a-6785-49e9-9813-e997124b3f8b</test></item></value></item></result>

2021-11-16 22:12:55 | [Mutex] notify: [retrieved:item:item-ffb1744a-6785-49e9-9813-e997124b3f8b:payload-matches:true:localhost]

2021-11-16 22:12:55 | [Mutex] received everything.

2021-11-16 22:12:55 | [Mutex] isItemNotified: retrieved:item:item-ffb1744a-6785-49e9-9813-e997124b3f8b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-11-16 22:12:55 |

2021-11-16 22:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:55 | ------------------------------------

2021-11-16 22:12:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-11-16 22:12:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-20d8f788-67ee-4f66-950e-024a9591fc3e</value><value>test</value><value>node-5dcc1b23-1334-445b-bae3-7411ac8dcd8a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-11-16 22:12:55 |

2021-11-16 22:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:55 | ------------------------------------

2021-11-16 22:12:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-20d8f788-67ee-4f66-950e-024a9591fc3e)</node-pattern></data>

2021-11-16 22:12:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.202s
2021-11-16 22:12:53 |

2021-11-16 22:12:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:53 | ------------------------------------

2021-11-16 22:12:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-20d8f788-67ee-4f66-950e-024a9591fc3e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-16 22:12:54 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.331s
2021-11-16 22:12:56 |

2021-11-16 22:12:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:12:56 | ------------------------------------

2021-11-16 22:12:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-20d8f788-67ee-4f66-950e-024a9591fc3e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-16 22:12:56 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>