Generated by TestNG with ReportNG at 22:47 PDT on Friday 17 March 2023
root@ed1b7dd8a1b3 / 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.117s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.083s
2023-03-17 23:01:41 |

2023-03-17 23:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:41 | ------------------------------------

2023-03-17 23:01:41 | [Mutex] waiting for: [configured:node:node-4915bba7-db23-4692-8f6b-cdd635012c69:node-62f76906-2e71-4b62-a89e-5118c38bc5f4]

2023-03-17 23:01:41 | [Mutex] received everything.

2023-03-17 23:01:41 | [Mutex] isItemNotified: configured:node:node-4915bba7-db23-4692-8f6b-cdd635012c69:node-62f76906-2e71-4b62-a89e-5118c38bc5f4 :: true

2023-03-17 23:01:42 | [Mutex] waiting for: [received:nodes:3dbd88c1-4f9a-4081-ba29-aab01debf855:localhost]

2023-03-17 23:01:42 | [Mutex] received everything.

2023-03-17 23:01:42 | [Mutex] isItemNotified: received:node:3dbd88c1-4f9a-4081-ba29-aab01debf855:localhost:node-4915bba7-db23-4692-8f6b-cdd635012c69:Node 4915bba7-db23-4692-8f6b-cdd635012c69 :: true

2023-03-17 23:01:42 | [Mutex] waiting for: [received:nodes:3a2c7de3-fa5d-4e43-8bf8-8e3845342007:localhost]

2023-03-17 23:01:42 | [Mutex] waiting for: [received:nodes:3a2c7de3-fa5d-4e43-8bf8-8e3845342007:localhost]

2023-03-17 23:01:42 | [Mutex] waiting for: [received:nodes:3a2c7de3-fa5d-4e43-8bf8-8e3845342007:localhost]

2023-03-17 23:01:42 | [Mutex] received everything.

2023-03-17 23:01:42 | [Mutex] isItemNotified: received:node:3a2c7de3-fa5d-4e43-8bf8-8e3845342007:localhost:node-4915bba7-db23-4692-8f6b-cdd635012c69:Node 4915bba7-db23-4692-8f6b-cdd635012c69 :: false

createNodes 1.398s
2023-03-17 23:01:38 |

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

2023-03-17 23:01:38 | ------------------------------------

2023-03-17 23:01:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4915bba7-db23-4692-8f6b-cdd635012c69</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4915bba7-db23-4692-8f6b-cdd635012c69</title></pubsub></data>

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

2023-03-17 23:01:40 | [Mutex] waiting for: [received:nodes:df9ca153-5210-4c53-b759-2e8355f9bf12:localhost]

2023-03-17 23:01:40 | [Mutex] waiting for: [received:nodes:df9ca153-5210-4c53-b759-2e8355f9bf12:localhost]

2023-03-17 23:01:40 | [Mutex] waiting for: [received:nodes:df9ca153-5210-4c53-b759-2e8355f9bf12:localhost]

2023-03-17 23:01:40 | [Mutex] waiting for: [received:nodes:df9ca153-5210-4c53-b759-2e8355f9bf12:localhost]

2023-03-17 23:01:40 | [Mutex] received everything.

2023-03-17 23:01:40 | [Mutex] isItemNotified: received:node:df9ca153-5210-4c53-b759-2e8355f9bf12:localhost:node-4915bba7-db23-4692-8f6b-cdd635012c69:Node 4915bba7-db23-4692-8f6b-cdd635012c69 :: true

createSubnodes 1.018s
2023-03-17 23:01:40 |

2023-03-17 23:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:40 | ------------------------------------

2023-03-17 23:01:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-62f76906-2e71-4b62-a89e-5118c38bc5f4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 62f76906-2e71-4b62-a89e-5118c38bc5f4</title></pubsub></data>

2023-03-17 23:01: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-17 23:01:41 | [Mutex] waiting for: [received:nodes:9a3e1014-1424-4c30-864f-6425141cf8de:localhost]

2023-03-17 23:01:41 | [Mutex] waiting for: [received:nodes:9a3e1014-1424-4c30-864f-6425141cf8de:localhost]

2023-03-17 23:01:41 | [Mutex] waiting for: [received:nodes:9a3e1014-1424-4c30-864f-6425141cf8de:localhost]

2023-03-17 23:01:41 | [Mutex] waiting for: [received:nodes:9a3e1014-1424-4c30-864f-6425141cf8de:localhost]

2023-03-17 23:01:41 | [Mutex] received everything.

2023-03-17 23:01:41 | [Mutex] isItemNotified: received:node:9a3e1014-1424-4c30-864f-6425141cf8de:localhost:node-62f76906-2e71-4b62-a89e-5118c38bc5f4:Node 62f76906-2e71-4b62-a89e-5118c38bc5f4 :: true

deleteNodes 1.020s
2023-03-17 23:01:46 |

2023-03-17 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:46 | ------------------------------------

2023-03-17 23:01:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-62f76906-2e71-4b62-a89e-5118c38bc5f4</node></data>

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

2023-03-17 23:01:47 | [Mutex] waiting for: [received:nodes:99554298-d2ca-4caf-b31a-7c0eb9a89986:localhost]

2023-03-17 23:01:47 | [Mutex] waiting for: [received:nodes:99554298-d2ca-4caf-b31a-7c0eb9a89986:localhost]

2023-03-17 23:01:47 | [Mutex] waiting for: [received:nodes:99554298-d2ca-4caf-b31a-7c0eb9a89986:localhost]

2023-03-17 23:01:47 | [Mutex] received everything.

2023-03-17 23:01:47 | [Mutex] isItemNotified: received:node:99554298-d2ca-4caf-b31a-7c0eb9a89986:localhost:node-62f76906-2e71-4b62-a89e-5118c38bc5f4:Node 62f76906-2e71-4b62-a89e-5118c38bc5f4 :: false

deleteSubnodes 1.124s
2023-03-17 23:01:45 |

2023-03-17 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:45 | ------------------------------------

2023-03-17 23:01:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4915bba7-db23-4692-8f6b-cdd635012c69</node></data>

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

2023-03-17 23:01:46 | [Mutex] waiting for: [received:nodes:bfa82bc2-ad0f-40d2-a6b0-6cea3f761dff:localhost]

2023-03-17 23:01:46 | [Mutex] waiting for: [received:nodes:bfa82bc2-ad0f-40d2-a6b0-6cea3f761dff:localhost]

2023-03-17 23:01:46 | [Mutex] waiting for: [received:nodes:bfa82bc2-ad0f-40d2-a6b0-6cea3f761dff:localhost]

2023-03-17 23:01:46 | [Mutex] waiting for: [received:nodes:bfa82bc2-ad0f-40d2-a6b0-6cea3f761dff:localhost]

2023-03-17 23:01:46 | [Mutex] received everything.

2023-03-17 23:01:46 | [Mutex] isItemNotified: received:node:bfa82bc2-ad0f-40d2-a6b0-6cea3f761dff:localhost:node-4915bba7-db23-4692-8f6b-cdd635012c69:Node 4915bba7-db23-4692-8f6b-cdd635012c69 :: false

2023-03-17 23:01:46 | [Mutex] waiting for: [received:nodes:c637c23f-936e-4594-890f-ee043db9ba11:localhost]

2023-03-17 23:01:46 | [Mutex] received everything.

2023-03-17 23:01:46 | [Mutex] isItemNotified: received:node:c637c23f-936e-4594-890f-ee043db9ba11:localhost:node-4915bba7-db23-4692-8f6b-cdd635012c69:Node 4915bba7-db23-4692-8f6b-cdd635012c69 :: false

publishItemsToNodes 0.208s
2023-03-17 23:01:43 |

2023-03-17 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:43 | ------------------------------------

2023-03-17 23:01:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4915bba7-db23-4692-8f6b-cdd635012c69</node><item-id>item-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c</item-id><entry><test>item-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c</test></entry></data>

2023-03-17 23:01:43 | 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-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c</value></item-id></result>

2023-03-17 23:01:43 | [Mutex] waiting for: [published:item:notifieditem-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c:admin@test-domain.com]

2023-03-17 23:01:43 | [Mutex] received everything.

2023-03-17 23:01:43 | [Mutex] isItemNotified: published:item:notifieditem-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c:admin@test-domain.com :: true

retractItemsFromNodes 0.151s
2023-03-17 23:01:43 |

2023-03-17 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:43 | ------------------------------------

2023-03-17 23:01:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4915bba7-db23-4692-8f6b-cdd635012c69</node><item-id>item-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c</item-id></data>

2023-03-17 23:01:44 | 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-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c</value></item-id></result>

2023-03-17 23:01:44 | [Mutex] received everything.

2023-03-17 23:01:44 | [Mutex] isItemNotified: retracted:item:notifieditem-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.181s
2023-03-17 23:01:43 |

2023-03-17 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:43 | ------------------------------------

2023-03-17 23:01:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4915bba7-db23-4692-8f6b-cdd635012c69</node><item-id>item-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c</item-id></data>

2023-03-17 23:01:43 | 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-4915bba7-db23-4692-8f6b-cdd635012c69</value></node><item-id label="Item ID" type="text-single"><value>item-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c</value></item-id><item label="Item" type="text-multi"><value><item id="item-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c"><test>item-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c</test></item></value></item></result>

2023-03-17 23:01:43 | [Mutex] notify: [retrieved:item:item-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c:payload-matches:true:localhost]

2023-03-17 23:01:43 | [Mutex] received everything.

2023-03-17 23:01:43 | [Mutex] isItemNotified: retrieved:item:item-e71c1390-d3c1-4b95-8ce9-7bb0c9ab3a4c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-03-17 23:01:43 |

2023-03-17 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:43 | ------------------------------------

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

2023-03-17 23:01:43 | 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-62f76906-2e71-4b62-a89e-5118c38bc5f4</value><value>node-4915bba7-db23-4692-8f6b-cdd635012c69</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-03-17 23:01:43 |

2023-03-17 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:43 | ------------------------------------

2023-03-17 23:01:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4915bba7-db23-4692-8f6b-cdd635012c69)</node-pattern></data>

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

subscribeNodes 1.102s
2023-03-17 23:01:42 |

2023-03-17 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:42 | ------------------------------------

2023-03-17 23:01:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4915bba7-db23-4692-8f6b-cdd635012c69</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.151s
2023-03-17 23:01:44 |

2023-03-17 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 23:01:44 | ------------------------------------

2023-03-17 23:01:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4915bba7-db23-4692-8f6b-cdd635012c69</node><jids><value>admin@test-domain.com</value></jids></data>

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