Generated by TestNG with ReportNG at 22:25 PDT on Sunday 15 May 2022
root@21fb2cc9076b / 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.849s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2022-05-15 22:39:29 |

2022-05-15 22:39:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-15 22:39:29 | ------------------------------------

2022-05-15 22:39:29 | [Mutex] waiting for: [configured:node:node-6898f670-5634-44d8-a665-ddb14695723b:node-51abfacb-152f-4f00-8e08-be7fa7e19d4b]

2022-05-15 22:39:29 | [Mutex] received everything.

2022-05-15 22:39:29 | [Mutex] isItemNotified: configured:node:node-6898f670-5634-44d8-a665-ddb14695723b:node-51abfacb-152f-4f00-8e08-be7fa7e19d4b :: true

2022-05-15 22:39:30 | [Mutex] waiting for: [received:nodes:bd0d8e4f-c040-42ca-a635-7341a6eadf1d:localhost]

2022-05-15 22:39:30 | [Mutex] received everything.

2022-05-15 22:39:30 | [Mutex] isItemNotified: received:node:bd0d8e4f-c040-42ca-a635-7341a6eadf1d:localhost:node-6898f670-5634-44d8-a665-ddb14695723b:Node 6898f670-5634-44d8-a665-ddb14695723b :: true

2022-05-15 22:39:30 | [Mutex] waiting for: [received:nodes:d8a50d18-8137-4171-96ec-9f1132899c14:localhost]

2022-05-15 22:39:30 | [Mutex] waiting for: [received:nodes:d8a50d18-8137-4171-96ec-9f1132899c14:localhost]

2022-05-15 22:39:30 | [Mutex] received everything.

2022-05-15 22:39:30 | [Mutex] isItemNotified: received:node:d8a50d18-8137-4171-96ec-9f1132899c14:localhost:node-6898f670-5634-44d8-a665-ddb14695723b:Node 6898f670-5634-44d8-a665-ddb14695723b :: false

createNodes 1.457s
2022-05-15 22:39:26 |

2022-05-15 22:39:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-15 22:39:26 | ------------------------------------

2022-05-15 22:39:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6898f670-5634-44d8-a665-ddb14695723b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6898f670-5634-44d8-a665-ddb14695723b</title></pubsub></data>

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

2022-05-15 22:39:28 | [Mutex] waiting for: [received:nodes:9f14259a-a885-466b-81cc-eccc1d374c5e:localhost]

2022-05-15 22:39:28 | [Mutex] waiting for: [received:nodes:9f14259a-a885-466b-81cc-eccc1d374c5e:localhost]

2022-05-15 22:39:28 | [Mutex] received everything.

2022-05-15 22:39:28 | [Mutex] isItemNotified: received:node:9f14259a-a885-466b-81cc-eccc1d374c5e:localhost:node-6898f670-5634-44d8-a665-ddb14695723b:Node 6898f670-5634-44d8-a665-ddb14695723b :: true

createSubnodes 1.030s
2022-05-15 22:39:28 |

2022-05-15 22:39:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-15 22:39:28 | ------------------------------------

2022-05-15 22:39:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-51abfacb-152f-4f00-8e08-be7fa7e19d4b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 51abfacb-152f-4f00-8e08-be7fa7e19d4b</title></pubsub></data>

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

2022-05-15 22:39:29 | [Mutex] waiting for: [received:nodes:0c8197c5-3694-4393-a647-15e283e71cbd:localhost]

2022-05-15 22:39:29 | [Mutex] received everything.

2022-05-15 22:39:29 | [Mutex] isItemNotified: received:node:0c8197c5-3694-4393-a647-15e283e71cbd:localhost:node-51abfacb-152f-4f00-8e08-be7fa7e19d4b:Node 51abfacb-152f-4f00-8e08-be7fa7e19d4b :: true

deleteNodes 1.022s
2022-05-15 22:39:34 |

2022-05-15 22:39:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-15 22:39:34 | ------------------------------------

2022-05-15 22:39:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-51abfacb-152f-4f00-8e08-be7fa7e19d4b</node></data>

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

2022-05-15 22:39:35 | [Mutex] waiting for: [received:nodes:b66a6104-0630-466e-93b7-d3f13a2c0dd0:localhost]

2022-05-15 22:39:35 | [Mutex] received everything.

2022-05-15 22:39:35 | [Mutex] isItemNotified: received:node:b66a6104-0630-466e-93b7-d3f13a2c0dd0:localhost:node-51abfacb-152f-4f00-8e08-be7fa7e19d4b:Node 51abfacb-152f-4f00-8e08-be7fa7e19d4b :: false

deleteSubnodes 1.142s
2022-05-15 22:39:33 |

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

2022-05-15 22:39:33 | ------------------------------------

2022-05-15 22:39:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6898f670-5634-44d8-a665-ddb14695723b</node></data>

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

2022-05-15 22:39:34 | [Mutex] waiting for: [received:nodes:a4b8942e-ef2c-4227-9f8e-19a32a4d5e8d:localhost]

2022-05-15 22:39:34 | [Mutex] received everything.

2022-05-15 22:39:34 | [Mutex] isItemNotified: received:node:a4b8942e-ef2c-4227-9f8e-19a32a4d5e8d:localhost:node-6898f670-5634-44d8-a665-ddb14695723b:Node 6898f670-5634-44d8-a665-ddb14695723b :: false

2022-05-15 22:39:34 | [Mutex] waiting for: [received:nodes:71d2bdc3-a2c3-4515-8254-54a97b572972:localhost]

2022-05-15 22:39:34 | [Mutex] received everything.

2022-05-15 22:39:34 | [Mutex] isItemNotified: received:node:71d2bdc3-a2c3-4515-8254-54a97b572972:localhost:node-6898f670-5634-44d8-a665-ddb14695723b:Node 6898f670-5634-44d8-a665-ddb14695723b :: false

publishItemsToNodes 0.265s
2022-05-15 22:39:31 |

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

2022-05-15 22:39:31 | ------------------------------------

2022-05-15 22:39:31 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6898f670-5634-44d8-a665-ddb14695723b</node><item-id>item-3f5644a3-0943-44f4-9750-c44d78c31a54</item-id><entry><test>item-3f5644a3-0943-44f4-9750-c44d78c31a54</test></entry></data>

2022-05-15 22:39:31 | 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-3f5644a3-0943-44f4-9750-c44d78c31a54</value></item-id></result>

2022-05-15 22:39:31 | [Mutex] received everything.

2022-05-15 22:39:31 | [Mutex] isItemNotified: published:item:notifieditem-3f5644a3-0943-44f4-9750-c44d78c31a54:admin@test-domain.com :: true

retractItemsFromNodes 0.359s
2022-05-15 22:39:32 |

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

2022-05-15 22:39:32 | ------------------------------------

2022-05-15 22:39:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6898f670-5634-44d8-a665-ddb14695723b</node><item-id>item-3f5644a3-0943-44f4-9750-c44d78c31a54</item-id></data>

2022-05-15 22:39:32 | 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-3f5644a3-0943-44f4-9750-c44d78c31a54</value></item-id></result>

2022-05-15 22:39:32 | [Mutex] received everything.

2022-05-15 22:39:32 | [Mutex] isItemNotified: retracted:item:notifieditem-3f5644a3-0943-44f4-9750-c44d78c31a54:admin@test-domain.com :: true

retrieveItemsFromNodes 0.202s
2022-05-15 22:39:31 |

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

2022-05-15 22:39:31 | ------------------------------------

2022-05-15 22:39:31 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6898f670-5634-44d8-a665-ddb14695723b</node><item-id>item-3f5644a3-0943-44f4-9750-c44d78c31a54</item-id></data>

2022-05-15 22:39:32 | 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-6898f670-5634-44d8-a665-ddb14695723b</value></node><item-id type="text-single" label="Item ID"><value>item-3f5644a3-0943-44f4-9750-c44d78c31a54</value></item-id><item type="text-multi" label="Item"><value><item id="item-3f5644a3-0943-44f4-9750-c44d78c31a54"><test>item-3f5644a3-0943-44f4-9750-c44d78c31a54</test></item></value></item></result>

2022-05-15 22:39:32 | [Mutex] notify: [retrieved:item:item-3f5644a3-0943-44f4-9750-c44d78c31a54:payload-matches:true:localhost]

2022-05-15 22:39:32 | [Mutex] received everything.

2022-05-15 22:39:32 | [Mutex] isItemNotified: retrieved:item:item-3f5644a3-0943-44f4-9750-c44d78c31a54:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-15 22:39:32 |

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

2022-05-15 22:39:32 | ------------------------------------

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

2022-05-15 22:39:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-6898f670-5634-44d8-a665-ddb14695723b</value><value>test</value><value>node-51abfacb-152f-4f00-8e08-be7fa7e19d4b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-15 22:39:32 |

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

2022-05-15 22:39:32 | ------------------------------------

2022-05-15 22:39:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6898f670-5634-44d8-a665-ddb14695723b)</node-pattern></data>

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

subscribeNodes 1.133s
2022-05-15 22:39:30 |

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

2022-05-15 22:39:30 | ------------------------------------

2022-05-15 22:39:30 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6898f670-5634-44d8-a665-ddb14695723b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.227s
2022-05-15 22:39:32 |

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

2022-05-15 22:39:32 | ------------------------------------

2022-05-15 22:39:32 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6898f670-5634-44d8-a665-ddb14695723b</node><jids><value>admin@test-domain.com</value></jids></data>

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