Generated by TestNG with ReportNG at 22:22 PDT on Monday 02 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 9.676s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2022-05-02 22:37:32 |

2022-05-02 22:37:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:32 | ------------------------------------

2022-05-02 22:37:32 | [Mutex] waiting for: [configured:node:node-061935eb-fa49-4b8f-8dc8-ea420cc40378:node-3b0cbebe-ba3c-49d3-bd0d-e5e8570f6a39]

2022-05-02 22:37:32 | [Mutex] received everything.

2022-05-02 22:37:32 | [Mutex] isItemNotified: configured:node:node-061935eb-fa49-4b8f-8dc8-ea420cc40378:node-3b0cbebe-ba3c-49d3-bd0d-e5e8570f6a39 :: true

2022-05-02 22:37:33 | [Mutex] waiting for: [received:nodes:6755fb49-91e6-474c-9840-14583ddf0201:localhost]

2022-05-02 22:37:33 | [Mutex] received everything.

2022-05-02 22:37:33 | [Mutex] isItemNotified: received:node:6755fb49-91e6-474c-9840-14583ddf0201:localhost:node-061935eb-fa49-4b8f-8dc8-ea420cc40378:Node 061935eb-fa49-4b8f-8dc8-ea420cc40378 :: true

2022-05-02 22:37:33 | [Mutex] waiting for: [received:nodes:dd6c6b5c-b97b-4149-a851-53ecb5a15a71:localhost]

2022-05-02 22:37:33 | [Mutex] received everything.

2022-05-02 22:37:33 | [Mutex] isItemNotified: received:node:dd6c6b5c-b97b-4149-a851-53ecb5a15a71:localhost:node-061935eb-fa49-4b8f-8dc8-ea420cc40378:Node 061935eb-fa49-4b8f-8dc8-ea420cc40378 :: false

createNodes 1.429s
2022-05-02 22:37:30 |

2022-05-02 22:37:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:30 | ------------------------------------

2022-05-02 22:37:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-061935eb-fa49-4b8f-8dc8-ea420cc40378</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 061935eb-fa49-4b8f-8dc8-ea420cc40378</title></pubsub></data>

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

2022-05-02 22:37:31 | [Mutex] waiting for: [received:nodes:b64d35a3-fc69-4c7d-a149-5432b905ffb4:localhost]

2022-05-02 22:37:31 | [Mutex] waiting for: [received:nodes:b64d35a3-fc69-4c7d-a149-5432b905ffb4:localhost]

2022-05-02 22:37:31 | [Mutex] received everything.

2022-05-02 22:37:31 | [Mutex] isItemNotified: received:node:b64d35a3-fc69-4c7d-a149-5432b905ffb4:localhost:node-061935eb-fa49-4b8f-8dc8-ea420cc40378:Node 061935eb-fa49-4b8f-8dc8-ea420cc40378 :: true

createSubnodes 1.025s
2022-05-02 22:37:31 |

2022-05-02 22:37:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:31 | ------------------------------------

2022-05-02 22:37:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3b0cbebe-ba3c-49d3-bd0d-e5e8570f6a39</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3b0cbebe-ba3c-49d3-bd0d-e5e8570f6a39</title></pubsub></data>

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

2022-05-02 22:37:32 | [Mutex] waiting for: [received:nodes:e50a2b8d-1271-4c9b-a01d-31beb06760e1:localhost]

2022-05-02 22:37:32 | [Mutex] received everything.

2022-05-02 22:37:32 | [Mutex] isItemNotified: received:node:e50a2b8d-1271-4c9b-a01d-31beb06760e1:localhost:node-3b0cbebe-ba3c-49d3-bd0d-e5e8570f6a39:Node 3b0cbebe-ba3c-49d3-bd0d-e5e8570f6a39 :: true

deleteNodes 1.018s
2022-05-02 22:37:38 |

2022-05-02 22:37:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:38 | ------------------------------------

2022-05-02 22:37:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3b0cbebe-ba3c-49d3-bd0d-e5e8570f6a39</node></data>

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

2022-05-02 22:37:39 | [Mutex] waiting for: [received:nodes:d0157895-e9e8-4558-b58e-3fd7cda789b5:localhost]

2022-05-02 22:37:39 | [Mutex] waiting for: [received:nodes:d0157895-e9e8-4558-b58e-3fd7cda789b5:localhost]

2022-05-02 22:37:39 | [Mutex] received everything.

2022-05-02 22:37:39 | [Mutex] isItemNotified: received:node:d0157895-e9e8-4558-b58e-3fd7cda789b5:localhost:node-3b0cbebe-ba3c-49d3-bd0d-e5e8570f6a39:Node 3b0cbebe-ba3c-49d3-bd0d-e5e8570f6a39 :: false

deleteSubnodes 1.147s
2022-05-02 22:37:37 |

2022-05-02 22:37:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:37 | ------------------------------------

2022-05-02 22:37:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-061935eb-fa49-4b8f-8dc8-ea420cc40378</node></data>

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

2022-05-02 22:37:38 | [Mutex] waiting for: [received:nodes:a4960abc-c14b-409d-87b4-9d6c203e50a2:localhost]

2022-05-02 22:37:38 | [Mutex] waiting for: [received:nodes:a4960abc-c14b-409d-87b4-9d6c203e50a2:localhost]

2022-05-02 22:37:38 | [Mutex] waiting for: [received:nodes:a4960abc-c14b-409d-87b4-9d6c203e50a2:localhost]

2022-05-02 22:37:38 | [Mutex] received everything.

2022-05-02 22:37:38 | [Mutex] isItemNotified: received:node:a4960abc-c14b-409d-87b4-9d6c203e50a2:localhost:node-061935eb-fa49-4b8f-8dc8-ea420cc40378:Node 061935eb-fa49-4b8f-8dc8-ea420cc40378 :: false

2022-05-02 22:37:38 | [Mutex] waiting for: [received:nodes:8146352f-df7b-45ce-91a5-f1ebbe3cc34b:localhost]

2022-05-02 22:37:38 | [Mutex] received everything.

2022-05-02 22:37:38 | [Mutex] isItemNotified: received:node:8146352f-df7b-45ce-91a5-f1ebbe3cc34b:localhost:node-061935eb-fa49-4b8f-8dc8-ea420cc40378:Node 061935eb-fa49-4b8f-8dc8-ea420cc40378 :: false

publishItemsToNodes 0.255s
2022-05-02 22:37:35 |

2022-05-02 22:37:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:35 | ------------------------------------

2022-05-02 22:37:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-061935eb-fa49-4b8f-8dc8-ea420cc40378</node><item-id>item-f85b9e07-7b15-4315-af14-75424d50e474</item-id><entry><test>item-f85b9e07-7b15-4315-af14-75424d50e474</test></entry></data>

2022-05-02 22:37:35 | 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-f85b9e07-7b15-4315-af14-75424d50e474</value></item-id></result>

2022-05-02 22:37:35 | [Mutex] received everything.

2022-05-02 22:37:35 | [Mutex] isItemNotified: published:item:notifieditem-f85b9e07-7b15-4315-af14-75424d50e474:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2022-05-02 22:37:35 |

2022-05-02 22:37:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:35 | ------------------------------------

2022-05-02 22:37:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-061935eb-fa49-4b8f-8dc8-ea420cc40378</node><item-id>item-f85b9e07-7b15-4315-af14-75424d50e474</item-id></data>

2022-05-02 22:37:35 | 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-f85b9e07-7b15-4315-af14-75424d50e474</value></item-id></result>

2022-05-02 22:37:35 | [Mutex] received everything.

2022-05-02 22:37:35 | [Mutex] isItemNotified: retracted:item:notifieditem-f85b9e07-7b15-4315-af14-75424d50e474:admin@test-domain.com :: true

retrieveItemsFromNodes 0.255s
2022-05-02 22:37:35 |

2022-05-02 22:37:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:35 | ------------------------------------

2022-05-02 22:37:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-061935eb-fa49-4b8f-8dc8-ea420cc40378</node><item-id>item-f85b9e07-7b15-4315-af14-75424d50e474</item-id></data>

2022-05-02 22:37:35 | 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-061935eb-fa49-4b8f-8dc8-ea420cc40378</value></node><item-id type="text-single" label="Item ID"><value>item-f85b9e07-7b15-4315-af14-75424d50e474</value></item-id><item type="text-multi" label="Item"><value><item id="item-f85b9e07-7b15-4315-af14-75424d50e474"><test>item-f85b9e07-7b15-4315-af14-75424d50e474</test></item></value></item></result>

2022-05-02 22:37:35 | [Mutex] notify: [retrieved:item:item-f85b9e07-7b15-4315-af14-75424d50e474:payload-matches:true:localhost]

2022-05-02 22:37:35 | [Mutex] received everything.

2022-05-02 22:37:35 | [Mutex] isItemNotified: retrieved:item:item-f85b9e07-7b15-4315-af14-75424d50e474:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-02 22:37:35 |

2022-05-02 22:37:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:35 | ------------------------------------

2022-05-02 22:37:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-02 22:37:35 | 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-3b0cbebe-ba3c-49d3-bd0d-e5e8570f6a39</value><value>node-061935eb-fa49-4b8f-8dc8-ea420cc40378</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-02 22:37:35 |

2022-05-02 22:37:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:35 | ------------------------------------

2022-05-02 22:37:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-061935eb-fa49-4b8f-8dc8-ea420cc40378)</node-pattern></data>

2022-05-02 22:37:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.107s
2022-05-02 22:37:33 |

2022-05-02 22:37:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:33 | ------------------------------------

2022-05-02 22:37:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-061935eb-fa49-4b8f-8dc8-ea420cc40378</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-02 22:37:34 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.219s
2022-05-02 22:37:35 |

2022-05-02 22:37:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:37:35 | ------------------------------------

2022-05-02 22:37:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-061935eb-fa49-4b8f-8dc8-ea420cc40378</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-02 22:37:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>