Generated by TestNG with ReportNG at 23:04 PDT on Sunday 12 June 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.627s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-06-12 23:18:36 |

2022-06-12 23:18:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:36 | ------------------------------------

2022-06-12 23:18:36 | [Mutex] waiting for: [configured:node:node-b39ba20d-a3c5-4938-af09-3025f8558c7a:node-b6d454cc-6a14-41a7-96d9-ecf77a999bbc]

2022-06-12 23:18:36 | [Mutex] received everything.

2022-06-12 23:18:36 | [Mutex] isItemNotified: configured:node:node-b39ba20d-a3c5-4938-af09-3025f8558c7a:node-b6d454cc-6a14-41a7-96d9-ecf77a999bbc :: true

2022-06-12 23:18:37 | [Mutex] waiting for: [received:nodes:c8366d55-f9a2-4be3-bea2-f6c47db666d6:localhost]

2022-06-12 23:18:37 | [Mutex] received everything.

2022-06-12 23:18:37 | [Mutex] isItemNotified: received:node:c8366d55-f9a2-4be3-bea2-f6c47db666d6:localhost:node-b39ba20d-a3c5-4938-af09-3025f8558c7a:Node b39ba20d-a3c5-4938-af09-3025f8558c7a :: true

2022-06-12 23:18:37 | [Mutex] waiting for: [received:nodes:ef16c12a-16bb-4df7-9018-d017c897bf39:localhost]

2022-06-12 23:18:37 | [Mutex] received everything.

2022-06-12 23:18:37 | [Mutex] isItemNotified: received:node:ef16c12a-16bb-4df7-9018-d017c897bf39:localhost:node-b39ba20d-a3c5-4938-af09-3025f8558c7a:Node b39ba20d-a3c5-4938-af09-3025f8558c7a :: false

createNodes 1.450s
2022-06-12 23:18:33 |

2022-06-12 23:18:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:33 | ------------------------------------

2022-06-12 23:18:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b39ba20d-a3c5-4938-af09-3025f8558c7a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b39ba20d-a3c5-4938-af09-3025f8558c7a</title></pubsub></data>

2022-06-12 23:18:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-12 23:18:35 | [Mutex] waiting for: [received:nodes:87bc1a16-649b-4a9a-98b4-5b6d1a545d0e:localhost]

2022-06-12 23:18:35 | [Mutex] received everything.

2022-06-12 23:18:35 | [Mutex] isItemNotified: received:node:87bc1a16-649b-4a9a-98b4-5b6d1a545d0e:localhost:node-b39ba20d-a3c5-4938-af09-3025f8558c7a:Node b39ba20d-a3c5-4938-af09-3025f8558c7a :: true

createSubnodes 1.024s
2022-06-12 23:18:35 |

2022-06-12 23:18:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:35 | ------------------------------------

2022-06-12 23:18:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b6d454cc-6a14-41a7-96d9-ecf77a999bbc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b6d454cc-6a14-41a7-96d9-ecf77a999bbc</title></pubsub></data>

2022-06-12 23:18:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-12 23:18:36 | [Mutex] waiting for: [received:nodes:4abb2bdd-e0ac-46b4-b8d8-a9a13a0b6a0b:localhost]

2022-06-12 23:18:36 | [Mutex] received everything.

2022-06-12 23:18:36 | [Mutex] isItemNotified: received:node:4abb2bdd-e0ac-46b4-b8d8-a9a13a0b6a0b:localhost:node-b6d454cc-6a14-41a7-96d9-ecf77a999bbc:Node b6d454cc-6a14-41a7-96d9-ecf77a999bbc :: true

deleteNodes 1.016s
2022-06-12 23:18:41 |

2022-06-12 23:18:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:41 | ------------------------------------

2022-06-12 23:18:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b6d454cc-6a14-41a7-96d9-ecf77a999bbc</node></data>

2022-06-12 23:18:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-12 23:18:42 | [Mutex] waiting for: [received:nodes:9a94a623-dc7c-477d-b55c-bcdcaf700c2f:localhost]

2022-06-12 23:18:42 | [Mutex] received everything.

2022-06-12 23:18:42 | [Mutex] isItemNotified: received:node:9a94a623-dc7c-477d-b55c-bcdcaf700c2f:localhost:node-b6d454cc-6a14-41a7-96d9-ecf77a999bbc:Node b6d454cc-6a14-41a7-96d9-ecf77a999bbc :: false

deleteSubnodes 1.133s
2022-06-12 23:18:40 |

2022-06-12 23:18:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:40 | ------------------------------------

2022-06-12 23:18:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b39ba20d-a3c5-4938-af09-3025f8558c7a</node></data>

2022-06-12 23:18:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-12 23:18:41 | [Mutex] waiting for: [received:nodes:5005688e-364a-41ac-b8b7-276c37fbe1d6:localhost]

2022-06-12 23:18:41 | [Mutex] waiting for: [received:nodes:5005688e-364a-41ac-b8b7-276c37fbe1d6:localhost]

2022-06-12 23:18:41 | [Mutex] received everything.

2022-06-12 23:18:41 | [Mutex] isItemNotified: received:node:5005688e-364a-41ac-b8b7-276c37fbe1d6:localhost:node-b39ba20d-a3c5-4938-af09-3025f8558c7a:Node b39ba20d-a3c5-4938-af09-3025f8558c7a :: false

2022-06-12 23:18:41 | [Mutex] waiting for: [received:nodes:ae2730bf-2337-4d6f-a2b1-f16602902d3f:localhost]

2022-06-12 23:18:41 | [Mutex] received everything.

2022-06-12 23:18:41 | [Mutex] isItemNotified: received:node:ae2730bf-2337-4d6f-a2b1-f16602902d3f:localhost:node-b39ba20d-a3c5-4938-af09-3025f8558c7a:Node b39ba20d-a3c5-4938-af09-3025f8558c7a :: false

publishItemsToNodes 0.256s
2022-06-12 23:18:38 |

2022-06-12 23:18:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:38 | ------------------------------------

2022-06-12 23:18:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b39ba20d-a3c5-4938-af09-3025f8558c7a</node><item-id>item-f6be47c5-6961-49c9-b5a7-cf79cbfab07c</item-id><entry><test>item-f6be47c5-6961-49c9-b5a7-cf79cbfab07c</test></entry></data>

2022-06-12 23:18:38 | 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-f6be47c5-6961-49c9-b5a7-cf79cbfab07c</value></item-id></result>

2022-06-12 23:18:38 | [Mutex] received everything.

2022-06-12 23:18:38 | [Mutex] isItemNotified: published:item:notifieditem-f6be47c5-6961-49c9-b5a7-cf79cbfab07c:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2022-06-12 23:18:39 |

2022-06-12 23:18:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:39 | ------------------------------------

2022-06-12 23:18:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b39ba20d-a3c5-4938-af09-3025f8558c7a</node><item-id>item-f6be47c5-6961-49c9-b5a7-cf79cbfab07c</item-id></data>

2022-06-12 23:18:39 | 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-f6be47c5-6961-49c9-b5a7-cf79cbfab07c</value></item-id></result>

2022-06-12 23:18:39 | [Mutex] received everything.

2022-06-12 23:18:39 | [Mutex] isItemNotified: retracted:item:notifieditem-f6be47c5-6961-49c9-b5a7-cf79cbfab07c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.233s
2022-06-12 23:18:38 |

2022-06-12 23:18:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:38 | ------------------------------------

2022-06-12 23:18:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b39ba20d-a3c5-4938-af09-3025f8558c7a</node><item-id>item-f6be47c5-6961-49c9-b5a7-cf79cbfab07c</item-id></data>

2022-06-12 23:18:39 | 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-b39ba20d-a3c5-4938-af09-3025f8558c7a</value></node><item-id label="Item ID" type="text-single"><value>item-f6be47c5-6961-49c9-b5a7-cf79cbfab07c</value></item-id><item label="Item" type="text-multi"><value><item id="item-f6be47c5-6961-49c9-b5a7-cf79cbfab07c"><test>item-f6be47c5-6961-49c9-b5a7-cf79cbfab07c</test></item></value></item></result>

2022-06-12 23:18:39 | [Mutex] notify: [retrieved:item:item-f6be47c5-6961-49c9-b5a7-cf79cbfab07c:payload-matches:true:localhost]

2022-06-12 23:18:39 | [Mutex] received everything.

2022-06-12 23:18:39 | [Mutex] isItemNotified: retrieved:item:item-f6be47c5-6961-49c9-b5a7-cf79cbfab07c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-12 23:18:39 |

2022-06-12 23:18:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:39 | ------------------------------------

2022-06-12 23:18:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-12 23:18:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-b39ba20d-a3c5-4938-af09-3025f8558c7a</value><value>node-b6d454cc-6a14-41a7-96d9-ecf77a999bbc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-12 23:18:39 |

2022-06-12 23:18:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:39 | ------------------------------------

2022-06-12 23:18:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b39ba20d-a3c5-4938-af09-3025f8558c7a)</node-pattern></data>

2022-06-12 23:18:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.109s
2022-06-12 23:18:37 |

2022-06-12 23:18:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:37 | ------------------------------------

2022-06-12 23:18:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b39ba20d-a3c5-4938-af09-3025f8558c7a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-12 23:18:37 | 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
2022-06-12 23:18:39 |

2022-06-12 23:18:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-12 23:18:39 | ------------------------------------

2022-06-12 23:18:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b39ba20d-a3c5-4938-af09-3025f8558c7a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-12 23:18:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>