Generated by TestNG with ReportNG at 23:02 PDT on Friday 10 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.625s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2022-06-10 23:17:44 |

2022-06-10 23:17:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:44 | ------------------------------------

2022-06-10 23:17:44 | [Mutex] waiting for: [configured:node:node-460eed96-be2b-4dbb-9048-bf45a02b8063:node-f0818109-e788-4ba5-bd33-e38825fb16c9]

2022-06-10 23:17:45 | [Mutex] received everything.

2022-06-10 23:17:45 | [Mutex] isItemNotified: configured:node:node-460eed96-be2b-4dbb-9048-bf45a02b8063:node-f0818109-e788-4ba5-bd33-e38825fb16c9 :: true

2022-06-10 23:17:46 | [Mutex] waiting for: [received:nodes:43efccb1-017d-406d-a815-b655f5249fd0:localhost]

2022-06-10 23:17:46 | [Mutex] received everything.

2022-06-10 23:17:46 | [Mutex] isItemNotified: received:node:43efccb1-017d-406d-a815-b655f5249fd0:localhost:node-460eed96-be2b-4dbb-9048-bf45a02b8063:Node 460eed96-be2b-4dbb-9048-bf45a02b8063 :: true

2022-06-10 23:17:46 | [Mutex] waiting for: [received:nodes:4785a1f8-6f78-4b97-a462-04c1b1bfa01f:localhost]

2022-06-10 23:17:46 | [Mutex] waiting for: [received:nodes:4785a1f8-6f78-4b97-a462-04c1b1bfa01f:localhost]

2022-06-10 23:17:46 | [Mutex] waiting for: [received:nodes:4785a1f8-6f78-4b97-a462-04c1b1bfa01f:localhost]

2022-06-10 23:17:46 | [Mutex] received everything.

2022-06-10 23:17:46 | [Mutex] isItemNotified: received:node:4785a1f8-6f78-4b97-a462-04c1b1bfa01f:localhost:node-460eed96-be2b-4dbb-9048-bf45a02b8063:Node 460eed96-be2b-4dbb-9048-bf45a02b8063 :: false

createNodes 1.513s
2022-06-10 23:17:42 |

2022-06-10 23:17:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:42 | ------------------------------------

2022-06-10 23:17:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-460eed96-be2b-4dbb-9048-bf45a02b8063</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 460eed96-be2b-4dbb-9048-bf45a02b8063</title></pubsub></data>

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

2022-06-10 23:17:43 | [Mutex] waiting for: [received:nodes:b553e427-68e2-479e-9b33-e936b4608e30:localhost]

2022-06-10 23:17:43 | [Mutex] received everything.

2022-06-10 23:17:43 | [Mutex] isItemNotified: received:node:b553e427-68e2-479e-9b33-e936b4608e30:localhost:node-460eed96-be2b-4dbb-9048-bf45a02b8063:Node 460eed96-be2b-4dbb-9048-bf45a02b8063 :: true

createSubnodes 1.029s
2022-06-10 23:17:43 |

2022-06-10 23:17:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:43 | ------------------------------------

2022-06-10 23:17:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f0818109-e788-4ba5-bd33-e38825fb16c9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f0818109-e788-4ba5-bd33-e38825fb16c9</title></pubsub></data>

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

2022-06-10 23:17:44 | [Mutex] waiting for: [received:nodes:b32c5e08-26eb-4195-8703-61ce406a2079:localhost]

2022-06-10 23:17:44 | [Mutex] received everything.

2022-06-10 23:17:44 | [Mutex] isItemNotified: received:node:b32c5e08-26eb-4195-8703-61ce406a2079:localhost:node-f0818109-e788-4ba5-bd33-e38825fb16c9:Node f0818109-e788-4ba5-bd33-e38825fb16c9 :: true

deleteNodes 1.021s
2022-06-10 23:17:50 |

2022-06-10 23:17:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:50 | ------------------------------------

2022-06-10 23:17:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f0818109-e788-4ba5-bd33-e38825fb16c9</node></data>

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

2022-06-10 23:17:51 | [Mutex] waiting for: [received:nodes:7a62f3b2-aadf-44dc-9910-da42614dd9ae:localhost]

2022-06-10 23:17:51 | [Mutex] received everything.

2022-06-10 23:17:51 | [Mutex] isItemNotified: received:node:7a62f3b2-aadf-44dc-9910-da42614dd9ae:localhost:node-f0818109-e788-4ba5-bd33-e38825fb16c9:Node f0818109-e788-4ba5-bd33-e38825fb16c9 :: false

deleteSubnodes 1.151s
2022-06-10 23:17:49 |

2022-06-10 23:17:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:49 | ------------------------------------

2022-06-10 23:17:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-460eed96-be2b-4dbb-9048-bf45a02b8063</node></data>

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

2022-06-10 23:17:50 | [Mutex] waiting for: [received:nodes:ff798b5c-00c0-4624-9dd0-7717795720c9:localhost]

2022-06-10 23:17:50 | [Mutex] received everything.

2022-06-10 23:17:50 | [Mutex] isItemNotified: received:node:ff798b5c-00c0-4624-9dd0-7717795720c9:localhost:node-460eed96-be2b-4dbb-9048-bf45a02b8063:Node 460eed96-be2b-4dbb-9048-bf45a02b8063 :: false

2022-06-10 23:17:50 | [Mutex] waiting for: [received:nodes:016c8095-62e1-4b5a-ae8d-10ecdc51b8e3:localhost]

2022-06-10 23:17:50 | [Mutex] received everything.

2022-06-10 23:17:50 | [Mutex] isItemNotified: received:node:016c8095-62e1-4b5a-ae8d-10ecdc51b8e3:localhost:node-460eed96-be2b-4dbb-9048-bf45a02b8063:Node 460eed96-be2b-4dbb-9048-bf45a02b8063 :: false

publishItemsToNodes 0.218s
2022-06-10 23:17:47 |

2022-06-10 23:17:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:47 | ------------------------------------

2022-06-10 23:17:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-460eed96-be2b-4dbb-9048-bf45a02b8063</node><item-id>item-d1a572fe-f5ed-457c-9e61-4347481bef7e</item-id><entry><test>item-d1a572fe-f5ed-457c-9e61-4347481bef7e</test></entry></data>

2022-06-10 23:17:47 | 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-d1a572fe-f5ed-457c-9e61-4347481bef7e</value></item-id></result>

2022-06-10 23:17:47 | [Mutex] received everything.

2022-06-10 23:17:47 | [Mutex] isItemNotified: published:item:notifieditem-d1a572fe-f5ed-457c-9e61-4347481bef7e:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-06-10 23:17:47 |

2022-06-10 23:17:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:47 | ------------------------------------

2022-06-10 23:17:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-460eed96-be2b-4dbb-9048-bf45a02b8063</node><item-id>item-d1a572fe-f5ed-457c-9e61-4347481bef7e</item-id></data>

2022-06-10 23:17:48 | 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-d1a572fe-f5ed-457c-9e61-4347481bef7e</value></item-id></result>

2022-06-10 23:17:48 | [Mutex] waiting for: [retracted:item:notifieditem-d1a572fe-f5ed-457c-9e61-4347481bef7e:admin@test-domain.com]

2022-06-10 23:17:48 | [Mutex] received everything.

2022-06-10 23:17:48 | [Mutex] isItemNotified: retracted:item:notifieditem-d1a572fe-f5ed-457c-9e61-4347481bef7e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.228s
2022-06-10 23:17:47 |

2022-06-10 23:17:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:47 | ------------------------------------

2022-06-10 23:17:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-460eed96-be2b-4dbb-9048-bf45a02b8063</node><item-id>item-d1a572fe-f5ed-457c-9e61-4347481bef7e</item-id></data>

2022-06-10 23:17:47 | 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-460eed96-be2b-4dbb-9048-bf45a02b8063</value></node><item-id type="text-single" label="Item ID"><value>item-d1a572fe-f5ed-457c-9e61-4347481bef7e</value></item-id><item type="text-multi" label="Item"><value><item id="item-d1a572fe-f5ed-457c-9e61-4347481bef7e"><test>item-d1a572fe-f5ed-457c-9e61-4347481bef7e</test></item></value></item></result>

2022-06-10 23:17:47 | [Mutex] notify: [retrieved:item:item-d1a572fe-f5ed-457c-9e61-4347481bef7e:payload-matches:true:localhost]

2022-06-10 23:17:47 | [Mutex] received everything.

2022-06-10 23:17:47 | [Mutex] isItemNotified: retrieved:item:item-d1a572fe-f5ed-457c-9e61-4347481bef7e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-06-10 23:17:47 |

2022-06-10 23:17:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:47 | ------------------------------------

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

2022-06-10 23:17:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-460eed96-be2b-4dbb-9048-bf45a02b8063</value><value>test</value><value>node-f0818109-e788-4ba5-bd33-e38825fb16c9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-10 23:17:47 |

2022-06-10 23:17:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:47 | ------------------------------------

2022-06-10 23:17:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-460eed96-be2b-4dbb-9048-bf45a02b8063)</node-pattern></data>

2022-06-10 23:17:47 | 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-06-10 23:17:46 |

2022-06-10 23:17:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:46 | ------------------------------------

2022-06-10 23:17:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-460eed96-be2b-4dbb-9048-bf45a02b8063</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-10 23:17:46 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.171s
2022-06-10 23:17:48 |

2022-06-10 23:17:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 23:17:48 | ------------------------------------

2022-06-10 23:17:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-460eed96-be2b-4dbb-9048-bf45a02b8063</node><jids><value>admin@test-domain.com</value></jids></data>

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