Generated by TestNG with ReportNG at 22:50 PDT on Monday 03 April 2023
root@cc7d7fbb25f7 / Java 17.0.6 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.347s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2023-04-03 23:04:33 |

2023-04-03 23:04:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:33 | ------------------------------------

2023-04-03 23:04:33 | [Mutex] waiting for: [configured:node:node-7eff42cd-c203-4b9c-a000-a310b29c374e:node-3b8876bc-6f10-4e02-888a-63793f264170]

2023-04-03 23:04:33 | [Mutex] received everything.

2023-04-03 23:04:33 | [Mutex] isItemNotified: configured:node:node-7eff42cd-c203-4b9c-a000-a310b29c374e:node-3b8876bc-6f10-4e02-888a-63793f264170 :: true

2023-04-03 23:04:34 | [Mutex] waiting for: [received:nodes:69e8a3ff-5f9b-422e-a63e-61651d634567:localhost]

2023-04-03 23:04:34 | [Mutex] received everything.

2023-04-03 23:04:34 | [Mutex] isItemNotified: received:node:69e8a3ff-5f9b-422e-a63e-61651d634567:localhost:node-7eff42cd-c203-4b9c-a000-a310b29c374e:Node 7eff42cd-c203-4b9c-a000-a310b29c374e :: true

2023-04-03 23:04:34 | [Mutex] waiting for: [received:nodes:791a4a26-79b6-42dc-8183-a93fc771a0e1:localhost]

2023-04-03 23:04:34 | [Mutex] waiting for: [received:nodes:791a4a26-79b6-42dc-8183-a93fc771a0e1:localhost]

2023-04-03 23:04:34 | [Mutex] waiting for: [received:nodes:791a4a26-79b6-42dc-8183-a93fc771a0e1:localhost]

2023-04-03 23:04:34 | [Mutex] received everything.

2023-04-03 23:04:34 | [Mutex] isItemNotified: received:node:791a4a26-79b6-42dc-8183-a93fc771a0e1:localhost:node-7eff42cd-c203-4b9c-a000-a310b29c374e:Node 7eff42cd-c203-4b9c-a000-a310b29c374e :: false

createNodes 1.388s
2023-04-03 23:04:31 |

2023-04-03 23:04:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:31 | ------------------------------------

2023-04-03 23:04:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7eff42cd-c203-4b9c-a000-a310b29c374e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7eff42cd-c203-4b9c-a000-a310b29c374e</title></pubsub></data>

2023-04-03 23:04:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-04-03 23:04:32 | [Mutex] waiting for: [received:nodes:0e5ff00e-7a43-490d-adbf-27d9cf123448:localhost]

2023-04-03 23:04:32 | [Mutex] waiting for: [received:nodes:0e5ff00e-7a43-490d-adbf-27d9cf123448:localhost]

2023-04-03 23:04:32 | [Mutex] received everything.

2023-04-03 23:04:32 | [Mutex] isItemNotified: received:node:0e5ff00e-7a43-490d-adbf-27d9cf123448:localhost:node-7eff42cd-c203-4b9c-a000-a310b29c374e:Node 7eff42cd-c203-4b9c-a000-a310b29c374e :: true

createSubnodes 1.019s
2023-04-03 23:04:32 |

2023-04-03 23:04:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:32 | ------------------------------------

2023-04-03 23:04:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3b8876bc-6f10-4e02-888a-63793f264170</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3b8876bc-6f10-4e02-888a-63793f264170</title></pubsub></data>

2023-04-03 23:04:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-04-03 23:04:33 | [Mutex] waiting for: [received:nodes:4d40bbdc-c197-4d35-88e4-5befdb001a40:localhost]

2023-04-03 23:04:33 | [Mutex] waiting for: [received:nodes:4d40bbdc-c197-4d35-88e4-5befdb001a40:localhost]

2023-04-03 23:04:33 | [Mutex] waiting for: [received:nodes:4d40bbdc-c197-4d35-88e4-5befdb001a40:localhost]

2023-04-03 23:04:33 | [Mutex] waiting for: [received:nodes:4d40bbdc-c197-4d35-88e4-5befdb001a40:localhost]

2023-04-03 23:04:33 | [Mutex] waiting for: [received:nodes:4d40bbdc-c197-4d35-88e4-5befdb001a40:localhost]

2023-04-03 23:04:33 | [Mutex] received everything.

2023-04-03 23:04:33 | [Mutex] isItemNotified: received:node:4d40bbdc-c197-4d35-88e4-5befdb001a40:localhost:node-3b8876bc-6f10-4e02-888a-63793f264170:Node 3b8876bc-6f10-4e02-888a-63793f264170 :: true

deleteNodes 1.015s
2023-04-03 23:04:38 |

2023-04-03 23:04:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:38 | ------------------------------------

2023-04-03 23:04:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3b8876bc-6f10-4e02-888a-63793f264170</node></data>

2023-04-03 23:04:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-04-03 23:04:39 | [Mutex] waiting for: [received:nodes:0b07a5ba-547e-41e1-b938-e4c36360766f:localhost]

2023-04-03 23:04:39 | [Mutex] waiting for: [received:nodes:0b07a5ba-547e-41e1-b938-e4c36360766f:localhost]

2023-04-03 23:04:39 | [Mutex] waiting for: [received:nodes:0b07a5ba-547e-41e1-b938-e4c36360766f:localhost]

2023-04-03 23:04:39 | [Mutex] received everything.

2023-04-03 23:04:39 | [Mutex] isItemNotified: received:node:0b07a5ba-547e-41e1-b938-e4c36360766f:localhost:node-3b8876bc-6f10-4e02-888a-63793f264170:Node 3b8876bc-6f10-4e02-888a-63793f264170 :: false

deleteSubnodes 1.136s
2023-04-03 23:04:37 |

2023-04-03 23:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:37 | ------------------------------------

2023-04-03 23:04:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7eff42cd-c203-4b9c-a000-a310b29c374e</node></data>

2023-04-03 23:04:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-04-03 23:04:38 | [Mutex] waiting for: [received:nodes:b0805fc7-21d8-4b82-a495-955395b2c814:localhost]

2023-04-03 23:04:38 | [Mutex] waiting for: [received:nodes:b0805fc7-21d8-4b82-a495-955395b2c814:localhost]

2023-04-03 23:04:38 | [Mutex] waiting for: [received:nodes:b0805fc7-21d8-4b82-a495-955395b2c814:localhost]

2023-04-03 23:04:38 | [Mutex] waiting for: [received:nodes:b0805fc7-21d8-4b82-a495-955395b2c814:localhost]

2023-04-03 23:04:38 | [Mutex] received everything.

2023-04-03 23:04:38 | [Mutex] isItemNotified: received:node:b0805fc7-21d8-4b82-a495-955395b2c814:localhost:node-7eff42cd-c203-4b9c-a000-a310b29c374e:Node 7eff42cd-c203-4b9c-a000-a310b29c374e :: false

2023-04-03 23:04:38 | [Mutex] waiting for: [received:nodes:8ecf99be-8baf-4a36-bf9a-25b75effc00e:localhost]

2023-04-03 23:04:38 | [Mutex] received everything.

2023-04-03 23:04:38 | [Mutex] isItemNotified: received:node:8ecf99be-8baf-4a36-bf9a-25b75effc00e:localhost:node-7eff42cd-c203-4b9c-a000-a310b29c374e:Node 7eff42cd-c203-4b9c-a000-a310b29c374e :: false

publishItemsToNodes 0.205s
2023-04-03 23:04:35 |

2023-04-03 23:04:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:35 | ------------------------------------

2023-04-03 23:04:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7eff42cd-c203-4b9c-a000-a310b29c374e</node><item-id>item-3443a942-8ef7-4e40-88e6-8bd94e640951</item-id><entry><test>item-3443a942-8ef7-4e40-88e6-8bd94e640951</test></entry></data>

2023-04-03 23:04: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-3443a942-8ef7-4e40-88e6-8bd94e640951</value></item-id></result>

2023-04-03 23:04:35 | [Mutex] received everything.

2023-04-03 23:04:35 | [Mutex] isItemNotified: published:item:notifieditem-3443a942-8ef7-4e40-88e6-8bd94e640951:admin@test-domain.com :: true

retractItemsFromNodes 0.284s
2023-04-03 23:04:36 |

2023-04-03 23:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:36 | ------------------------------------

2023-04-03 23:04:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7eff42cd-c203-4b9c-a000-a310b29c374e</node><item-id>item-3443a942-8ef7-4e40-88e6-8bd94e640951</item-id></data>

2023-04-03 23:04:36 | 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-3443a942-8ef7-4e40-88e6-8bd94e640951</value></item-id></result>

2023-04-03 23:04:36 | [Mutex] received everything.

2023-04-03 23:04:36 | [Mutex] isItemNotified: retracted:item:notifieditem-3443a942-8ef7-4e40-88e6-8bd94e640951:admin@test-domain.com :: true

retrieveItemsFromNodes 0.226s
2023-04-03 23:04:35 |

2023-04-03 23:04:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:35 | ------------------------------------

2023-04-03 23:04:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7eff42cd-c203-4b9c-a000-a310b29c374e</node><item-id>item-3443a942-8ef7-4e40-88e6-8bd94e640951</item-id></data>

2023-04-03 23:04:36 | 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-7eff42cd-c203-4b9c-a000-a310b29c374e</value></node><item-id type="text-single" label="Item ID"><value>item-3443a942-8ef7-4e40-88e6-8bd94e640951</value></item-id><item type="text-multi" label="Item"><value><item id="item-3443a942-8ef7-4e40-88e6-8bd94e640951"><test>item-3443a942-8ef7-4e40-88e6-8bd94e640951</test></item></value></item></result>

2023-04-03 23:04:36 | [Mutex] notify: [retrieved:item:item-3443a942-8ef7-4e40-88e6-8bd94e640951:payload-matches:true:localhost]

2023-04-03 23:04:36 | [Mutex] received everything.

2023-04-03 23:04:36 | [Mutex] isItemNotified: retrieved:item:item-3443a942-8ef7-4e40-88e6-8bd94e640951:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-04-03 23:04:36 |

2023-04-03 23:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:36 | ------------------------------------

2023-04-03 23:04:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-04-03 23:04:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-3b8876bc-6f10-4e02-888a-63793f264170</value><value>test</value><value>node-7eff42cd-c203-4b9c-a000-a310b29c374e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-04-03 23:04:36 |

2023-04-03 23:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:36 | ------------------------------------

2023-04-03 23:04:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7eff42cd-c203-4b9c-a000-a310b29c374e)</node-pattern></data>

2023-04-03 23:04:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.118s
2023-04-03 23:04:34 |

2023-04-03 23:04:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:34 | ------------------------------------

2023-04-03 23:04:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7eff42cd-c203-4b9c-a000-a310b29c374e</node><jids><value>admin@test-domain.com</value></jids></data>

2023-04-03 23:04: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.187s
2023-04-03 23:04:36 |

2023-04-03 23:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:04:36 | ------------------------------------

2023-04-03 23:04:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7eff42cd-c203-4b9c-a000-a310b29c374e</node><jids><value>admin@test-domain.com</value></jids></data>

2023-04-03 23:04:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>