Generated by TestNG with ReportNG at 22:15 PDT on Monday 27 March 2023
root@7c41cec37518 / Java 17.0.2 (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.308s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2023-03-27 22:29:42 |

2023-03-27 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:42 | ------------------------------------

2023-03-27 22:29:42 | [Mutex] waiting for: [configured:node:node-35071b0e-9052-46f9-8a47-058939d57ea6:node-3e42efbd-93b1-4b46-8329-69ff419993ad]

2023-03-27 22:29:43 | [Mutex] received everything.

2023-03-27 22:29:43 | [Mutex] isItemNotified: configured:node:node-35071b0e-9052-46f9-8a47-058939d57ea6:node-3e42efbd-93b1-4b46-8329-69ff419993ad :: true

2023-03-27 22:29:44 | [Mutex] waiting for: [received:nodes:7ff8cfeb-d0e5-4071-873e-e8ae136b3aa0:localhost]

2023-03-27 22:29:44 | [Mutex] received everything.

2023-03-27 22:29:44 | [Mutex] isItemNotified: received:node:7ff8cfeb-d0e5-4071-873e-e8ae136b3aa0:localhost:node-35071b0e-9052-46f9-8a47-058939d57ea6:Node 35071b0e-9052-46f9-8a47-058939d57ea6 :: true

2023-03-27 22:29:44 | [Mutex] waiting for: [received:nodes:1d399326-f9f6-469c-9393-68f885dea1e4:localhost]

2023-03-27 22:29:44 | [Mutex] waiting for: [received:nodes:1d399326-f9f6-469c-9393-68f885dea1e4:localhost]

2023-03-27 22:29:44 | [Mutex] waiting for: [received:nodes:1d399326-f9f6-469c-9393-68f885dea1e4:localhost]

2023-03-27 22:29:44 | [Mutex] received everything.

2023-03-27 22:29:44 | [Mutex] isItemNotified: received:node:1d399326-f9f6-469c-9393-68f885dea1e4:localhost:node-35071b0e-9052-46f9-8a47-058939d57ea6:Node 35071b0e-9052-46f9-8a47-058939d57ea6 :: false

createNodes 1.350s
2023-03-27 22:29:40 |

2023-03-27 22:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:40 | ------------------------------------

2023-03-27 22:29:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-35071b0e-9052-46f9-8a47-058939d57ea6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 35071b0e-9052-46f9-8a47-058939d57ea6</title></pubsub></data>

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

2023-03-27 22:29:41 | [Mutex] waiting for: [received:nodes:1e5d6d6f-f3c9-4247-9429-17f0eab77a52:localhost]

2023-03-27 22:29:41 | [Mutex] waiting for: [received:nodes:1e5d6d6f-f3c9-4247-9429-17f0eab77a52:localhost]

2023-03-27 22:29:41 | [Mutex] waiting for: [received:nodes:1e5d6d6f-f3c9-4247-9429-17f0eab77a52:localhost]

2023-03-27 22:29:41 | [Mutex] received everything.

2023-03-27 22:29:41 | [Mutex] isItemNotified: received:node:1e5d6d6f-f3c9-4247-9429-17f0eab77a52:localhost:node-35071b0e-9052-46f9-8a47-058939d57ea6:Node 35071b0e-9052-46f9-8a47-058939d57ea6 :: true

createSubnodes 1.024s
2023-03-27 22:29:41 |

2023-03-27 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:41 | ------------------------------------

2023-03-27 22:29:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3e42efbd-93b1-4b46-8329-69ff419993ad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3e42efbd-93b1-4b46-8329-69ff419993ad</title></pubsub></data>

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

2023-03-27 22:29:42 | [Mutex] waiting for: [received:nodes:8549ce32-ca70-408b-bd3f-6b2fa88ca196:localhost]

2023-03-27 22:29:42 | [Mutex] waiting for: [received:nodes:8549ce32-ca70-408b-bd3f-6b2fa88ca196:localhost]

2023-03-27 22:29:42 | [Mutex] waiting for: [received:nodes:8549ce32-ca70-408b-bd3f-6b2fa88ca196:localhost]

2023-03-27 22:29:42 | [Mutex] waiting for: [received:nodes:8549ce32-ca70-408b-bd3f-6b2fa88ca196:localhost]

2023-03-27 22:29:42 | [Mutex] waiting for: [received:nodes:8549ce32-ca70-408b-bd3f-6b2fa88ca196:localhost]

2023-03-27 22:29:42 | [Mutex] received everything.

2023-03-27 22:29:42 | [Mutex] isItemNotified: received:node:8549ce32-ca70-408b-bd3f-6b2fa88ca196:localhost:node-3e42efbd-93b1-4b46-8329-69ff419993ad:Node 3e42efbd-93b1-4b46-8329-69ff419993ad :: true

deleteNodes 1.019s
2023-03-27 22:29:48 |

2023-03-27 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:48 | ------------------------------------

2023-03-27 22:29:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3e42efbd-93b1-4b46-8329-69ff419993ad</node></data>

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

2023-03-27 22:29:49 | [Mutex] waiting for: [received:nodes:15da65d5-a12f-403b-9fee-e1a6a90d4eae:localhost]

2023-03-27 22:29:49 | [Mutex] waiting for: [received:nodes:15da65d5-a12f-403b-9fee-e1a6a90d4eae:localhost]

2023-03-27 22:29:49 | [Mutex] waiting for: [received:nodes:15da65d5-a12f-403b-9fee-e1a6a90d4eae:localhost]

2023-03-27 22:29:49 | [Mutex] received everything.

2023-03-27 22:29:49 | [Mutex] isItemNotified: received:node:15da65d5-a12f-403b-9fee-e1a6a90d4eae:localhost:node-3e42efbd-93b1-4b46-8329-69ff419993ad:Node 3e42efbd-93b1-4b46-8329-69ff419993ad :: false

deleteSubnodes 1.126s
2023-03-27 22:29:47 |

2023-03-27 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:47 | ------------------------------------

2023-03-27 22:29:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-35071b0e-9052-46f9-8a47-058939d57ea6</node></data>

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

2023-03-27 22:29:48 | [Mutex] waiting for: [received:nodes:9c4c8129-8307-40f7-ba02-9f4b70876690:localhost]

2023-03-27 22:29:48 | [Mutex] waiting for: [received:nodes:9c4c8129-8307-40f7-ba02-9f4b70876690:localhost]

2023-03-27 22:29:48 | [Mutex] waiting for: [received:nodes:9c4c8129-8307-40f7-ba02-9f4b70876690:localhost]

2023-03-27 22:29:48 | [Mutex] received everything.

2023-03-27 22:29:48 | [Mutex] isItemNotified: received:node:9c4c8129-8307-40f7-ba02-9f4b70876690:localhost:node-35071b0e-9052-46f9-8a47-058939d57ea6:Node 35071b0e-9052-46f9-8a47-058939d57ea6 :: false

2023-03-27 22:29:48 | [Mutex] waiting for: [received:nodes:0d4b8f05-98d8-4530-b3fb-7e82357fc357:localhost]

2023-03-27 22:29:48 | [Mutex] received everything.

2023-03-27 22:29:48 | [Mutex] isItemNotified: received:node:0d4b8f05-98d8-4530-b3fb-7e82357fc357:localhost:node-35071b0e-9052-46f9-8a47-058939d57ea6:Node 35071b0e-9052-46f9-8a47-058939d57ea6 :: false

publishItemsToNodes 0.221s
2023-03-27 22:29:45 |

2023-03-27 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:45 | ------------------------------------

2023-03-27 22:29:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-35071b0e-9052-46f9-8a47-058939d57ea6</node><item-id>item-94d10db3-5f90-41f4-b66c-884a16c66748</item-id><entry><test>item-94d10db3-5f90-41f4-b66c-884a16c66748</test></entry></data>

2023-03-27 22:29:45 | 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-94d10db3-5f90-41f4-b66c-884a16c66748</value></item-id></result>

2023-03-27 22:29:45 | [Mutex] received everything.

2023-03-27 22:29:45 | [Mutex] isItemNotified: published:item:notifieditem-94d10db3-5f90-41f4-b66c-884a16c66748:admin@test-domain.com :: true

retractItemsFromNodes 0.223s
2023-03-27 22:29:45 |

2023-03-27 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:45 | ------------------------------------

2023-03-27 22:29:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-35071b0e-9052-46f9-8a47-058939d57ea6</node><item-id>item-94d10db3-5f90-41f4-b66c-884a16c66748</item-id></data>

2023-03-27 22:29:45 | 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-94d10db3-5f90-41f4-b66c-884a16c66748</value></item-id></result>

2023-03-27 22:29:45 | [Mutex] received everything.

2023-03-27 22:29:45 | [Mutex] isItemNotified: retracted:item:notifieditem-94d10db3-5f90-41f4-b66c-884a16c66748:admin@test-domain.com :: true

retrieveItemsFromNodes 0.202s
2023-03-27 22:29:45 |

2023-03-27 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:45 | ------------------------------------

2023-03-27 22:29:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-35071b0e-9052-46f9-8a47-058939d57ea6</node><item-id>item-94d10db3-5f90-41f4-b66c-884a16c66748</item-id></data>

2023-03-27 22:29:45 | 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-35071b0e-9052-46f9-8a47-058939d57ea6</value></node><item-id type="text-single" label="Item ID"><value>item-94d10db3-5f90-41f4-b66c-884a16c66748</value></item-id><item type="text-multi" label="Item"><value><item id="item-94d10db3-5f90-41f4-b66c-884a16c66748"><test>item-94d10db3-5f90-41f4-b66c-884a16c66748</test></item></value></item></result>

2023-03-27 22:29:45 | [Mutex] notify: [retrieved:item:item-94d10db3-5f90-41f4-b66c-884a16c66748:payload-matches:true:localhost]

2023-03-27 22:29:45 | [Mutex] received everything.

2023-03-27 22:29:45 | [Mutex] isItemNotified: retrieved:item:item-94d10db3-5f90-41f4-b66c-884a16c66748:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-27 22:29:45 |

2023-03-27 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:45 | ------------------------------------

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

2023-03-27 22:29:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-35071b0e-9052-46f9-8a47-058939d57ea6</value><value>node-3e42efbd-93b1-4b46-8329-69ff419993ad</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-03-27 22:29:45 |

2023-03-27 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:45 | ------------------------------------

2023-03-27 22:29:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-35071b0e-9052-46f9-8a47-058939d57ea6)</node-pattern></data>

2023-03-27 22:29:45 | 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-03-27 22:29:44 |

2023-03-27 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:44 | ------------------------------------

2023-03-27 22:29:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-35071b0e-9052-46f9-8a47-058939d57ea6</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-27 22:29:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.259s
2023-03-27 22:29:45 |

2023-03-27 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:29:45 | ------------------------------------

2023-03-27 22:29:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-35071b0e-9052-46f9-8a47-058939d57ea6</node><jids><value>admin@test-domain.com</value></jids></data>

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