Generated by TestNG with ReportNG at 22:13 PDT on Tuesday 28 September 2021
root@b2c2a8eba6e6 / 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.215s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.118s
2021-09-28 22:29:53 |

2021-09-28 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:53 | ------------------------------------

2021-09-28 22:29:53 | [Mutex] waiting for: [configured:node:node-85991545-e388-4465-a9bf-8f479b8c4489:node-7f4e91f6-de7a-4005-b6e5-a980f22f9822]

2021-09-28 22:29:53 | [Mutex] received everything.

2021-09-28 22:29:53 | [Mutex] isItemNotified: configured:node:node-85991545-e388-4465-a9bf-8f479b8c4489:node-7f4e91f6-de7a-4005-b6e5-a980f22f9822 :: true

2021-09-28 22:29:54 | [Mutex] waiting for: [received:nodes:7c3c869b-36de-49e0-b729-ddf1c44f1188:localhost]

2021-09-28 22:29:54 | [Mutex] received everything.

2021-09-28 22:29:54 | [Mutex] isItemNotified: received:node:7c3c869b-36de-49e0-b729-ddf1c44f1188:localhost:node-85991545-e388-4465-a9bf-8f479b8c4489:Node 85991545-e388-4465-a9bf-8f479b8c4489 :: true

2021-09-28 22:29:54 | [Mutex] waiting for: [received:nodes:a7defaf8-9c40-4e7e-9017-10f6b667f76e:localhost]

2021-09-28 22:29:54 | [Mutex] received everything.

2021-09-28 22:29:54 | [Mutex] isItemNotified: received:node:a7defaf8-9c40-4e7e-9017-10f6b667f76e:localhost:node-85991545-e388-4465-a9bf-8f479b8c4489:Node 85991545-e388-4465-a9bf-8f479b8c4489 :: false

createNodes 1.502s
2021-09-28 22:29:50 |

2021-09-28 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:50 | ------------------------------------

2021-09-28 22:29:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-85991545-e388-4465-a9bf-8f479b8c4489</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 85991545-e388-4465-a9bf-8f479b8c4489</title></pubsub></data>

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

2021-09-28 22:29:52 | [Mutex] waiting for: [received:nodes:5c00f78f-abee-4212-9648-e5a9ead1eb5f:localhost]

2021-09-28 22:29:52 | [Mutex] received everything.

2021-09-28 22:29:52 | [Mutex] isItemNotified: received:node:5c00f78f-abee-4212-9648-e5a9ead1eb5f:localhost:node-85991545-e388-4465-a9bf-8f479b8c4489:Node 85991545-e388-4465-a9bf-8f479b8c4489 :: true

createSubnodes 1.024s
2021-09-28 22:29:52 |

2021-09-28 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:52 | ------------------------------------

2021-09-28 22:29:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7f4e91f6-de7a-4005-b6e5-a980f22f9822</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7f4e91f6-de7a-4005-b6e5-a980f22f9822</title></pubsub></data>

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

2021-09-28 22:29:53 | [Mutex] waiting for: [received:nodes:57eba3f4-29ab-480d-a4a7-7c143bb6620b:localhost]

2021-09-28 22:29:53 | [Mutex] received everything.

2021-09-28 22:29:53 | [Mutex] isItemNotified: received:node:57eba3f4-29ab-480d-a4a7-7c143bb6620b:localhost:node-7f4e91f6-de7a-4005-b6e5-a980f22f9822:Node 7f4e91f6-de7a-4005-b6e5-a980f22f9822 :: true

deleteNodes 1.018s
2021-09-28 22:29:58 |

2021-09-28 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:58 | ------------------------------------

2021-09-28 22:29:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7f4e91f6-de7a-4005-b6e5-a980f22f9822</node></data>

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

2021-09-28 22:29:59 | [Mutex] waiting for: [received:nodes:6d8fe752-b3ef-41b4-b811-697db3964017:localhost]

2021-09-28 22:29:59 | [Mutex] received everything.

2021-09-28 22:29:59 | [Mutex] isItemNotified: received:node:6d8fe752-b3ef-41b4-b811-697db3964017:localhost:node-7f4e91f6-de7a-4005-b6e5-a980f22f9822:Node 7f4e91f6-de7a-4005-b6e5-a980f22f9822 :: false

deleteSubnodes 1.162s
2021-09-28 22:29:57 |

2021-09-28 22:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:57 | ------------------------------------

2021-09-28 22:29:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-85991545-e388-4465-a9bf-8f479b8c4489</node></data>

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

2021-09-28 22:29:58 | [Mutex] waiting for: [received:nodes:ea5ac920-fbd2-4ed1-869d-a77111aeb8c7:localhost]

2021-09-28 22:29:58 | [Mutex] received everything.

2021-09-28 22:29:58 | [Mutex] isItemNotified: received:node:ea5ac920-fbd2-4ed1-869d-a77111aeb8c7:localhost:node-85991545-e388-4465-a9bf-8f479b8c4489:Node 85991545-e388-4465-a9bf-8f479b8c4489 :: false

2021-09-28 22:29:58 | [Mutex] waiting for: [received:nodes:4e57b8de-e6f1-4b9e-a1d5-2590568eb958:localhost]

2021-09-28 22:29:58 | [Mutex] received everything.

2021-09-28 22:29:58 | [Mutex] isItemNotified: received:node:4e57b8de-e6f1-4b9e-a1d5-2590568eb958:localhost:node-85991545-e388-4465-a9bf-8f479b8c4489:Node 85991545-e388-4465-a9bf-8f479b8c4489 :: false

publishItemsToNodes 0.291s
2021-09-28 22:29:55 |

2021-09-28 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:55 | ------------------------------------

2021-09-28 22:29:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-85991545-e388-4465-a9bf-8f479b8c4489</node><item-id>item-a002d144-c4c3-49de-a674-b5464131f928</item-id><entry><test>item-a002d144-c4c3-49de-a674-b5464131f928</test></entry></data>

2021-09-28 22:29: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-a002d144-c4c3-49de-a674-b5464131f928</value></item-id></result>

2021-09-28 22:29:55 | [Mutex] received everything.

2021-09-28 22:29:55 | [Mutex] isItemNotified: published:item:notifieditem-a002d144-c4c3-49de-a674-b5464131f928:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-09-28 22:29:56 |

2021-09-28 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:56 | ------------------------------------

2021-09-28 22:29:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-85991545-e388-4465-a9bf-8f479b8c4489</node><item-id>item-a002d144-c4c3-49de-a674-b5464131f928</item-id></data>

2021-09-28 22:29: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-a002d144-c4c3-49de-a674-b5464131f928</value></item-id></result>

2021-09-28 22:29:56 | [Mutex] received everything.

2021-09-28 22:29:56 | [Mutex] isItemNotified: retracted:item:notifieditem-a002d144-c4c3-49de-a674-b5464131f928:admin@test-domain.com :: true

retrieveItemsFromNodes 0.310s
2021-09-28 22:29:55 |

2021-09-28 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:55 | ------------------------------------

2021-09-28 22:29:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-85991545-e388-4465-a9bf-8f479b8c4489</node><item-id>item-a002d144-c4c3-49de-a674-b5464131f928</item-id></data>

2021-09-28 22:29:56 | 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-85991545-e388-4465-a9bf-8f479b8c4489</value></node><item-id type="text-single" label="Item ID"><value>item-a002d144-c4c3-49de-a674-b5464131f928</value></item-id><item type="text-multi" label="Item"><value><item id="item-a002d144-c4c3-49de-a674-b5464131f928"><test>item-a002d144-c4c3-49de-a674-b5464131f928</test></item></value></item></result>

2021-09-28 22:29:56 | [Mutex] notify: [retrieved:item:item-a002d144-c4c3-49de-a674-b5464131f928:payload-matches:true:localhost]

2021-09-28 22:29:56 | [Mutex] received everything.

2021-09-28 22:29:56 | [Mutex] isItemNotified: retrieved:item:item-a002d144-c4c3-49de-a674-b5464131f928:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-09-28 22:29:56 |

2021-09-28 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:56 | ------------------------------------

2021-09-28 22:29:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-28 22:29:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-7f4e91f6-de7a-4005-b6e5-a980f22f9822</value><value>test</value><value>node-85991545-e388-4465-a9bf-8f479b8c4489</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-09-28 22:29:56 |

2021-09-28 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:56 | ------------------------------------

2021-09-28 22:29:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-85991545-e388-4465-a9bf-8f479b8c4489)</node-pattern></data>

2021-09-28 22:29:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.216s
2021-09-28 22:29:54 |

2021-09-28 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:54 | ------------------------------------

2021-09-28 22:29:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-85991545-e388-4465-a9bf-8f479b8c4489</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-28 22:29: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.255s
2021-09-28 22:29:56 |

2021-09-28 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:29:56 | ------------------------------------

2021-09-28 22:29:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-85991545-e388-4465-a9bf-8f479b8c4489</node><jids><value>admin@test-domain.com</value></jids></data>

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