Generated by TestNG with ReportNG at 22:49 PDT on Wednesday 05 July 2023
root@8f5c98824654 / 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.593s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2023-07-05 23:04:19 |

2023-07-05 23:04:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:19 | ------------------------------------

2023-07-05 23:04:19 | [Mutex] waiting for: [configured:node:node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4:node-4c2dad19-622f-4238-b802-2662650a2a55]

2023-07-05 23:04:19 | [Mutex] received everything.

2023-07-05 23:04:19 | [Mutex] isItemNotified: configured:node:node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4:node-4c2dad19-622f-4238-b802-2662650a2a55 :: true

2023-07-05 23:04:20 | [Mutex] waiting for: [received:nodes:2c6f718b-382e-4340-9218-8520e2b72326:localhost]

2023-07-05 23:04:20 | [Mutex] received everything.

2023-07-05 23:04:20 | [Mutex] isItemNotified: received:node:2c6f718b-382e-4340-9218-8520e2b72326:localhost:node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4:Node ce78e7f1-d1e6-487c-b21a-88fc8a9505b4 :: true

2023-07-05 23:04:20 | [Mutex] waiting for: [received:nodes:3e6255f7-c045-4745-a888-9d2b56170e0f:localhost]

2023-07-05 23:04:20 | [Mutex] waiting for: [received:nodes:3e6255f7-c045-4745-a888-9d2b56170e0f:localhost]

2023-07-05 23:04:20 | [Mutex] waiting for: [received:nodes:3e6255f7-c045-4745-a888-9d2b56170e0f:localhost]

2023-07-05 23:04:20 | [Mutex] received everything.

2023-07-05 23:04:20 | [Mutex] isItemNotified: received:node:3e6255f7-c045-4745-a888-9d2b56170e0f:localhost:node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4:Node ce78e7f1-d1e6-487c-b21a-88fc8a9505b4 :: false

createNodes 1.461s
2023-07-05 23:04:17 |

2023-07-05 23:04:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:17 | ------------------------------------

2023-07-05 23:04:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ce78e7f1-d1e6-487c-b21a-88fc8a9505b4</title></pubsub></data>

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

2023-07-05 23:04:18 | [Mutex] waiting for: [received:nodes:f4430d24-2919-41c7-9e17-5db9907ebb6d:localhost]

2023-07-05 23:04:18 | [Mutex] waiting for: [received:nodes:f4430d24-2919-41c7-9e17-5db9907ebb6d:localhost]

2023-07-05 23:04:18 | [Mutex] waiting for: [received:nodes:f4430d24-2919-41c7-9e17-5db9907ebb6d:localhost]

2023-07-05 23:04:18 | [Mutex] received everything.

2023-07-05 23:04:18 | [Mutex] isItemNotified: received:node:f4430d24-2919-41c7-9e17-5db9907ebb6d:localhost:node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4:Node ce78e7f1-d1e6-487c-b21a-88fc8a9505b4 :: true

createSubnodes 1.031s
2023-07-05 23:04:18 |

2023-07-05 23:04:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:18 | ------------------------------------

2023-07-05 23:04:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4c2dad19-622f-4238-b802-2662650a2a55</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4c2dad19-622f-4238-b802-2662650a2a55</title></pubsub></data>

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

2023-07-05 23:04:19 | [Mutex] waiting for: [received:nodes:727889d0-90a9-409f-8530-b99a2a1897f4:localhost]

2023-07-05 23:04:19 | [Mutex] waiting for: [received:nodes:727889d0-90a9-409f-8530-b99a2a1897f4:localhost]

2023-07-05 23:04:19 | [Mutex] waiting for: [received:nodes:727889d0-90a9-409f-8530-b99a2a1897f4:localhost]

2023-07-05 23:04:19 | [Mutex] waiting for: [received:nodes:727889d0-90a9-409f-8530-b99a2a1897f4:localhost]

2023-07-05 23:04:19 | [Mutex] received everything.

2023-07-05 23:04:19 | [Mutex] isItemNotified: received:node:727889d0-90a9-409f-8530-b99a2a1897f4:localhost:node-4c2dad19-622f-4238-b802-2662650a2a55:Node 4c2dad19-622f-4238-b802-2662650a2a55 :: true

deleteNodes 1.024s
2023-07-05 23:04:24 |

2023-07-05 23:04:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:24 | ------------------------------------

2023-07-05 23:04:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4c2dad19-622f-4238-b802-2662650a2a55</node></data>

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

2023-07-05 23:04:25 | [Mutex] waiting for: [received:nodes:8637e359-c098-48f3-827c-65a5d0067a3e:localhost]

2023-07-05 23:04:25 | [Mutex] waiting for: [received:nodes:8637e359-c098-48f3-827c-65a5d0067a3e:localhost]

2023-07-05 23:04:25 | [Mutex] waiting for: [received:nodes:8637e359-c098-48f3-827c-65a5d0067a3e:localhost]

2023-07-05 23:04:25 | [Mutex] received everything.

2023-07-05 23:04:25 | [Mutex] isItemNotified: received:node:8637e359-c098-48f3-827c-65a5d0067a3e:localhost:node-4c2dad19-622f-4238-b802-2662650a2a55:Node 4c2dad19-622f-4238-b802-2662650a2a55 :: false

deleteSubnodes 1.151s
2023-07-05 23:04:23 |

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

2023-07-05 23:04:23 | ------------------------------------

2023-07-05 23:04:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4</node></data>

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

2023-07-05 23:04:24 | [Mutex] waiting for: [received:nodes:384703d5-1b71-4529-a8fe-7fededc5fc23:localhost]

2023-07-05 23:04:24 | [Mutex] waiting for: [received:nodes:384703d5-1b71-4529-a8fe-7fededc5fc23:localhost]

2023-07-05 23:04:24 | [Mutex] waiting for: [received:nodes:384703d5-1b71-4529-a8fe-7fededc5fc23:localhost]

2023-07-05 23:04:24 | [Mutex] waiting for: [received:nodes:384703d5-1b71-4529-a8fe-7fededc5fc23:localhost]

2023-07-05 23:04:24 | [Mutex] received everything.

2023-07-05 23:04:24 | [Mutex] isItemNotified: received:node:384703d5-1b71-4529-a8fe-7fededc5fc23:localhost:node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4:Node ce78e7f1-d1e6-487c-b21a-88fc8a9505b4 :: false

2023-07-05 23:04:24 | [Mutex] waiting for: [received:nodes:3d07413e-cca8-487d-906f-0cb31d03bc34:localhost]

2023-07-05 23:04:24 | [Mutex] received everything.

2023-07-05 23:04:24 | [Mutex] isItemNotified: received:node:3d07413e-cca8-487d-906f-0cb31d03bc34:localhost:node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4:Node ce78e7f1-d1e6-487c-b21a-88fc8a9505b4 :: false

publishItemsToNodes 0.234s
2023-07-05 23:04:21 |

2023-07-05 23:04:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:21 | ------------------------------------

2023-07-05 23:04:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4</node><item-id>item-88ef8c25-5ffb-489d-95ed-87cd7b091bac</item-id><entry><test>item-88ef8c25-5ffb-489d-95ed-87cd7b091bac</test></entry></data>

2023-07-05 23:04:21 | 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-88ef8c25-5ffb-489d-95ed-87cd7b091bac</value></item-id></result>

2023-07-05 23:04:21 | [Mutex] waiting for: [published:item:notifieditem-88ef8c25-5ffb-489d-95ed-87cd7b091bac:admin@test-domain.com]

2023-07-05 23:04:21 | [Mutex] received everything.

2023-07-05 23:04:21 | [Mutex] isItemNotified: published:item:notifieditem-88ef8c25-5ffb-489d-95ed-87cd7b091bac:admin@test-domain.com :: true

retractItemsFromNodes 0.331s
2023-07-05 23:04:22 |

2023-07-05 23:04:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:22 | ------------------------------------

2023-07-05 23:04:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4</node><item-id>item-88ef8c25-5ffb-489d-95ed-87cd7b091bac</item-id></data>

2023-07-05 23:04:22 | 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-88ef8c25-5ffb-489d-95ed-87cd7b091bac</value></item-id></result>

2023-07-05 23:04:22 | [Mutex] received everything.

2023-07-05 23:04:22 | [Mutex] isItemNotified: retracted:item:notifieditem-88ef8c25-5ffb-489d-95ed-87cd7b091bac:admin@test-domain.com :: true

retrieveItemsFromNodes 0.184s
2023-07-05 23:04:21 |

2023-07-05 23:04:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:21 | ------------------------------------

2023-07-05 23:04:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4</node><item-id>item-88ef8c25-5ffb-489d-95ed-87cd7b091bac</item-id></data>

2023-07-05 23:04:22 | 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-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4</value></node><item-id type="text-single" label="Item ID"><value>item-88ef8c25-5ffb-489d-95ed-87cd7b091bac</value></item-id><item type="text-multi" label="Item"><value><item id="item-88ef8c25-5ffb-489d-95ed-87cd7b091bac"><test>item-88ef8c25-5ffb-489d-95ed-87cd7b091bac</test></item></value></item></result>

2023-07-05 23:04:22 | [Mutex] notify: [retrieved:item:item-88ef8c25-5ffb-489d-95ed-87cd7b091bac:payload-matches:true:localhost]

2023-07-05 23:04:22 | [Mutex] received everything.

2023-07-05 23:04:22 | [Mutex] isItemNotified: retrieved:item:item-88ef8c25-5ffb-489d-95ed-87cd7b091bac:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2023-07-05 23:04:22 |

2023-07-05 23:04:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:22 | ------------------------------------

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

2023-07-05 23:04:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4</value><value>node-4c2dad19-622f-4238-b802-2662650a2a55</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-05 23:04:22 |

2023-07-05 23:04:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:22 | ------------------------------------

2023-07-05 23:04:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4)</node-pattern></data>

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

subscribeNodes 1.130s
2023-07-05 23:04:20 |

2023-07-05 23:04:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:20 | ------------------------------------

2023-07-05 23:04:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.207s
2023-07-05 23:04:22 |

2023-07-05 23:04:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:22 | ------------------------------------

2023-07-05 23:04:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ce78e7f1-d1e6-487c-b21a-88fc8a9505b4</node><jids><value>admin@test-domain.com</value></jids></data>

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