Generated by TestNG with ReportNG at 08:12 PDT on Wednesday 27 October 2021
root@785cf647a4ab / 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.458s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.136s
2021-10-27 08:28:57 |

2021-10-27 08:28:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:28:57 | ------------------------------------

2021-10-27 08:28:57 | [Mutex] waiting for: [configured:node:node-c1af958f-e150-4a63-86c0-2526ecb97eb4:node-a6691e63-cacb-44b7-b29d-2665bb2deb9c]

2021-10-27 08:28:57 | [Mutex] received everything.

2021-10-27 08:28:57 | [Mutex] isItemNotified: configured:node:node-c1af958f-e150-4a63-86c0-2526ecb97eb4:node-a6691e63-cacb-44b7-b29d-2665bb2deb9c :: true

2021-10-27 08:28:58 | [Mutex] waiting for: [received:nodes:7bade6dc-6533-46c5-8658-e198e2db3164:localhost]

2021-10-27 08:28:58 | [Mutex] received everything.

2021-10-27 08:28:58 | [Mutex] isItemNotified: received:node:7bade6dc-6533-46c5-8658-e198e2db3164:localhost:node-c1af958f-e150-4a63-86c0-2526ecb97eb4:Node c1af958f-e150-4a63-86c0-2526ecb97eb4 :: true

2021-10-27 08:28:58 | [Mutex] waiting for: [received:nodes:c428161d-6a4d-4b08-8f64-2b23f2067045:localhost]

2021-10-27 08:28:58 | [Mutex] received everything.

2021-10-27 08:28:58 | [Mutex] isItemNotified: received:node:c428161d-6a4d-4b08-8f64-2b23f2067045:localhost:node-c1af958f-e150-4a63-86c0-2526ecb97eb4:Node c1af958f-e150-4a63-86c0-2526ecb97eb4 :: false

createNodes 1.691s
2021-10-27 08:28:54 |

2021-10-27 08:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:28:54 | ------------------------------------

2021-10-27 08:28:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c1af958f-e150-4a63-86c0-2526ecb97eb4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c1af958f-e150-4a63-86c0-2526ecb97eb4</title></pubsub></data>

2021-10-27 08:28:55 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 08:28:56 | [Mutex] waiting for: [received:nodes:5b5d23ca-174d-4ba4-a070-9dd334f3ed3c:localhost]

2021-10-27 08:28:56 | [Mutex] received everything.

2021-10-27 08:28:56 | [Mutex] isItemNotified: received:node:5b5d23ca-174d-4ba4-a070-9dd334f3ed3c:localhost:node-c1af958f-e150-4a63-86c0-2526ecb97eb4:Node c1af958f-e150-4a63-86c0-2526ecb97eb4 :: true

createSubnodes 1.029s
2021-10-27 08:28:56 |

2021-10-27 08:28:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:28:56 | ------------------------------------

2021-10-27 08:28:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a6691e63-cacb-44b7-b29d-2665bb2deb9c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a6691e63-cacb-44b7-b29d-2665bb2deb9c</title></pubsub></data>

2021-10-27 08:28:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 08:28:57 | [Mutex] waiting for: [received:nodes:2ae3747f-493b-4d49-ae98-fe2edda63511:localhost]

2021-10-27 08:28:57 | [Mutex] received everything.

2021-10-27 08:28:57 | [Mutex] isItemNotified: received:node:2ae3747f-493b-4d49-ae98-fe2edda63511:localhost:node-a6691e63-cacb-44b7-b29d-2665bb2deb9c:Node a6691e63-cacb-44b7-b29d-2665bb2deb9c :: true

deleteNodes 1.019s
2021-10-27 08:29:02 |

2021-10-27 08:29:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:29:02 | ------------------------------------

2021-10-27 08:29:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a6691e63-cacb-44b7-b29d-2665bb2deb9c</node></data>

2021-10-27 08:29:02 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 08:29:03 | [Mutex] waiting for: [received:nodes:3318c2fe-efe6-45f1-94fb-c7d15103b2a8:localhost]

2021-10-27 08:29:03 | [Mutex] received everything.

2021-10-27 08:29:03 | [Mutex] isItemNotified: received:node:3318c2fe-efe6-45f1-94fb-c7d15103b2a8:localhost:node-a6691e63-cacb-44b7-b29d-2665bb2deb9c:Node a6691e63-cacb-44b7-b29d-2665bb2deb9c :: false

deleteSubnodes 1.157s
2021-10-27 08:29:01 |

2021-10-27 08:29:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:29:01 | ------------------------------------

2021-10-27 08:29:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c1af958f-e150-4a63-86c0-2526ecb97eb4</node></data>

2021-10-27 08:29:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 08:29:02 | [Mutex] waiting for: [received:nodes:414f091f-41b0-4e29-aeb7-9eb2cc716ccd:localhost]

2021-10-27 08:29:02 | [Mutex] received everything.

2021-10-27 08:29:02 | [Mutex] isItemNotified: received:node:414f091f-41b0-4e29-aeb7-9eb2cc716ccd:localhost:node-c1af958f-e150-4a63-86c0-2526ecb97eb4:Node c1af958f-e150-4a63-86c0-2526ecb97eb4 :: false

2021-10-27 08:29:02 | [Mutex] waiting for: [received:nodes:b62a6347-6147-4dc2-9cbf-aef1bdd627d6:localhost]

2021-10-27 08:29:02 | [Mutex] received everything.

2021-10-27 08:29:02 | [Mutex] isItemNotified: received:node:b62a6347-6147-4dc2-9cbf-aef1bdd627d6:localhost:node-c1af958f-e150-4a63-86c0-2526ecb97eb4:Node c1af958f-e150-4a63-86c0-2526ecb97eb4 :: false

publishItemsToNodes 0.295s
2021-10-27 08:28:59 |

2021-10-27 08:28:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:28:59 | ------------------------------------

2021-10-27 08:28:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c1af958f-e150-4a63-86c0-2526ecb97eb4</node><item-id>item-c75047fd-7a05-4552-b21f-640fcc73c2b8</item-id><entry><test>item-c75047fd-7a05-4552-b21f-640fcc73c2b8</test></entry></data>

2021-10-27 08:28:59 | 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-c75047fd-7a05-4552-b21f-640fcc73c2b8</value></item-id></result>

2021-10-27 08:28:59 | [Mutex] waiting for: [published:item:notifieditem-c75047fd-7a05-4552-b21f-640fcc73c2b8:admin@test-domain.com]

2021-10-27 08:28:59 | [Mutex] received everything.

2021-10-27 08:28:59 | [Mutex] isItemNotified: published:item:notifieditem-c75047fd-7a05-4552-b21f-640fcc73c2b8:admin@test-domain.com :: true

retractItemsFromNodes 0.223s
2021-10-27 08:29:00 |

2021-10-27 08:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:29:00 | ------------------------------------

2021-10-27 08:29:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c1af958f-e150-4a63-86c0-2526ecb97eb4</node><item-id>item-c75047fd-7a05-4552-b21f-640fcc73c2b8</item-id></data>

2021-10-27 08:29:00 | 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-c75047fd-7a05-4552-b21f-640fcc73c2b8</value></item-id></result>

2021-10-27 08:29:00 | [Mutex] received everything.

2021-10-27 08:29:00 | [Mutex] isItemNotified: retracted:item:notifieditem-c75047fd-7a05-4552-b21f-640fcc73c2b8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.336s
2021-10-27 08:28:59 |

2021-10-27 08:28:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:28:59 | ------------------------------------

2021-10-27 08:28:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c1af958f-e150-4a63-86c0-2526ecb97eb4</node><item-id>item-c75047fd-7a05-4552-b21f-640fcc73c2b8</item-id></data>

2021-10-27 08:29:00 | 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-c1af958f-e150-4a63-86c0-2526ecb97eb4</value></node><item-id type="text-single" label="Item ID"><value>item-c75047fd-7a05-4552-b21f-640fcc73c2b8</value></item-id><item type="text-multi" label="Item"><value><item id="item-c75047fd-7a05-4552-b21f-640fcc73c2b8"><test>item-c75047fd-7a05-4552-b21f-640fcc73c2b8</test></item></value></item></result>

2021-10-27 08:29:00 | [Mutex] notify: [retrieved:item:item-c75047fd-7a05-4552-b21f-640fcc73c2b8:payload-matches:true:localhost]

2021-10-27 08:29:00 | [Mutex] received everything.

2021-10-27 08:29:00 | [Mutex] isItemNotified: retrieved:item:item-c75047fd-7a05-4552-b21f-640fcc73c2b8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-10-27 08:29:00 |

2021-10-27 08:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:29:00 | ------------------------------------

2021-10-27 08:29:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-10-27 08:29:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-c1af958f-e150-4a63-86c0-2526ecb97eb4</value><value>test</value><value>node-a6691e63-cacb-44b7-b29d-2665bb2deb9c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-10-27 08:29:00 |

2021-10-27 08:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:29:00 | ------------------------------------

2021-10-27 08:29:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c1af958f-e150-4a63-86c0-2526ecb97eb4)</node-pattern></data>

2021-10-27 08:29:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.159s
2021-10-27 08:28:58 |

2021-10-27 08:28:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:28:58 | ------------------------------------

2021-10-27 08:28:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c1af958f-e150-4a63-86c0-2526ecb97eb4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-27 08:28:58 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.411s
2021-10-27 08:29:00 |

2021-10-27 08:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:29:00 | ------------------------------------

2021-10-27 08:29:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c1af958f-e150-4a63-86c0-2526ecb97eb4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-27 08:29:00 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>