Generated by TestNG with ReportNG at 22:30 PDT on Thursday 04 May 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.585s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.135s
2023-05-04 22:44:33 |

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

2023-05-04 22:44:33 | ------------------------------------

2023-05-04 22:44:33 | [Mutex] waiting for: [configured:node:node-007d485d-dc92-46d8-94da-936b1843b3e7:node-d466c765-53db-42b3-a015-bd8521493bf0]

2023-05-04 22:44:33 | [Mutex] received everything.

2023-05-04 22:44:33 | [Mutex] isItemNotified: configured:node:node-007d485d-dc92-46d8-94da-936b1843b3e7:node-d466c765-53db-42b3-a015-bd8521493bf0 :: true

2023-05-04 22:44:34 | [Mutex] waiting for: [received:nodes:2c2a9480-9ab5-44e8-bdb9-d166dc7b225d:localhost]

2023-05-04 22:44:34 | [Mutex] received everything.

2023-05-04 22:44:34 | [Mutex] isItemNotified: received:node:2c2a9480-9ab5-44e8-bdb9-d166dc7b225d:localhost:node-007d485d-dc92-46d8-94da-936b1843b3e7:Node 007d485d-dc92-46d8-94da-936b1843b3e7 :: true

2023-05-04 22:44:34 | [Mutex] waiting for: [received:nodes:02873eb0-e0f4-4deb-91ea-761e7b059ce7:localhost]

2023-05-04 22:44:34 | [Mutex] waiting for: [received:nodes:02873eb0-e0f4-4deb-91ea-761e7b059ce7:localhost]

2023-05-04 22:44:34 | [Mutex] received everything.

2023-05-04 22:44:34 | [Mutex] isItemNotified: received:node:02873eb0-e0f4-4deb-91ea-761e7b059ce7:localhost:node-007d485d-dc92-46d8-94da-936b1843b3e7:Node 007d485d-dc92-46d8-94da-936b1843b3e7 :: false

createNodes 1.392s
2023-05-04 22:44:31 |

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

2023-05-04 22:44:31 | ------------------------------------

2023-05-04 22:44:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-007d485d-dc92-46d8-94da-936b1843b3e7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 007d485d-dc92-46d8-94da-936b1843b3e7</title></pubsub></data>

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

2023-05-04 22:44:32 | [Mutex] waiting for: [received:nodes:574467a3-9c28-4750-8c4d-acb8d50f02a3:localhost]

2023-05-04 22:44:32 | [Mutex] waiting for: [received:nodes:574467a3-9c28-4750-8c4d-acb8d50f02a3:localhost]

2023-05-04 22:44:32 | [Mutex] received everything.

2023-05-04 22:44:32 | [Mutex] isItemNotified: received:node:574467a3-9c28-4750-8c4d-acb8d50f02a3:localhost:node-007d485d-dc92-46d8-94da-936b1843b3e7:Node 007d485d-dc92-46d8-94da-936b1843b3e7 :: true

createSubnodes 1.045s
2023-05-04 22:44:32 |

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

2023-05-04 22:44:32 | ------------------------------------

2023-05-04 22:44:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d466c765-53db-42b3-a015-bd8521493bf0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d466c765-53db-42b3-a015-bd8521493bf0</title></pubsub></data>

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

2023-05-04 22:44:33 | [Mutex] waiting for: [received:nodes:c23067dc-03d7-4fcf-8f64-4326aa6528f0:localhost]

2023-05-04 22:44:33 | [Mutex] waiting for: [received:nodes:c23067dc-03d7-4fcf-8f64-4326aa6528f0:localhost]

2023-05-04 22:44:33 | [Mutex] waiting for: [received:nodes:c23067dc-03d7-4fcf-8f64-4326aa6528f0:localhost]

2023-05-04 22:44:33 | [Mutex] waiting for: [received:nodes:c23067dc-03d7-4fcf-8f64-4326aa6528f0:localhost]

2023-05-04 22:44:33 | [Mutex] received everything.

2023-05-04 22:44:33 | [Mutex] isItemNotified: received:node:c23067dc-03d7-4fcf-8f64-4326aa6528f0:localhost:node-d466c765-53db-42b3-a015-bd8521493bf0:Node d466c765-53db-42b3-a015-bd8521493bf0 :: true

deleteNodes 1.024s
2023-05-04 22:44:39 |

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

2023-05-04 22:44:39 | ------------------------------------

2023-05-04 22:44:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d466c765-53db-42b3-a015-bd8521493bf0</node></data>

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

2023-05-04 22:44:40 | [Mutex] waiting for: [received:nodes:a26558df-9936-4426-a910-d649fd8eba1f:localhost]

2023-05-04 22:44:40 | [Mutex] waiting for: [received:nodes:a26558df-9936-4426-a910-d649fd8eba1f:localhost]

2023-05-04 22:44:40 | [Mutex] waiting for: [received:nodes:a26558df-9936-4426-a910-d649fd8eba1f:localhost]

2023-05-04 22:44:40 | [Mutex] received everything.

2023-05-04 22:44:40 | [Mutex] isItemNotified: received:node:a26558df-9936-4426-a910-d649fd8eba1f:localhost:node-d466c765-53db-42b3-a015-bd8521493bf0:Node d466c765-53db-42b3-a015-bd8521493bf0 :: false

deleteSubnodes 1.177s
2023-05-04 22:44:38 |

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

2023-05-04 22:44:38 | ------------------------------------

2023-05-04 22:44:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-007d485d-dc92-46d8-94da-936b1843b3e7</node></data>

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

2023-05-04 22:44:39 | [Mutex] waiting for: [received:nodes:6d1f3dbb-107b-4049-84ec-ba6219e4490a:localhost]

2023-05-04 22:44:39 | [Mutex] waiting for: [received:nodes:6d1f3dbb-107b-4049-84ec-ba6219e4490a:localhost]

2023-05-04 22:44:39 | [Mutex] received everything.

2023-05-04 22:44:39 | [Mutex] isItemNotified: received:node:6d1f3dbb-107b-4049-84ec-ba6219e4490a:localhost:node-007d485d-dc92-46d8-94da-936b1843b3e7:Node 007d485d-dc92-46d8-94da-936b1843b3e7 :: false

2023-05-04 22:44:39 | [Mutex] waiting for: [received:nodes:1dffa175-0e28-48a3-8457-7db5705ee37b:localhost]

2023-05-04 22:44:39 | [Mutex] received everything.

2023-05-04 22:44:39 | [Mutex] isItemNotified: received:node:1dffa175-0e28-48a3-8457-7db5705ee37b:localhost:node-007d485d-dc92-46d8-94da-936b1843b3e7:Node 007d485d-dc92-46d8-94da-936b1843b3e7 :: false

publishItemsToNodes 0.260s
2023-05-04 22:44:35 |

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

2023-05-04 22:44:35 | ------------------------------------

2023-05-04 22:44:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-007d485d-dc92-46d8-94da-936b1843b3e7</node><item-id>item-39f3625b-4f56-440a-a070-b27a9e303d33</item-id><entry><test>item-39f3625b-4f56-440a-a070-b27a9e303d33</test></entry></data>

2023-05-04 22:44:36 | 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-39f3625b-4f56-440a-a070-b27a9e303d33</value></item-id></result>

2023-05-04 22:44:36 | [Mutex] received everything.

2023-05-04 22:44:36 | [Mutex] isItemNotified: published:item:notifieditem-39f3625b-4f56-440a-a070-b27a9e303d33:admin@test-domain.com :: true

retractItemsFromNodes 0.293s
2023-05-04 22:44:36 |

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

2023-05-04 22:44:36 | ------------------------------------

2023-05-04 22:44:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-007d485d-dc92-46d8-94da-936b1843b3e7</node><item-id>item-39f3625b-4f56-440a-a070-b27a9e303d33</item-id></data>

2023-05-04 22:44:36 | 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-39f3625b-4f56-440a-a070-b27a9e303d33</value></item-id></result>

2023-05-04 22:44:36 | [Mutex] received everything.

2023-05-04 22:44:36 | [Mutex] isItemNotified: retracted:item:notifieditem-39f3625b-4f56-440a-a070-b27a9e303d33:admin@test-domain.com :: true

retrieveItemsFromNodes 0.188s
2023-05-04 22:44:36 |

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

2023-05-04 22:44:36 | ------------------------------------

2023-05-04 22:44:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-007d485d-dc92-46d8-94da-936b1843b3e7</node><item-id>item-39f3625b-4f56-440a-a070-b27a9e303d33</item-id></data>

2023-05-04 22:44:36 | 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-007d485d-dc92-46d8-94da-936b1843b3e7</value></node><item-id label="Item ID" type="text-single"><value>item-39f3625b-4f56-440a-a070-b27a9e303d33</value></item-id><item label="Item" type="text-multi"><value><item id="item-39f3625b-4f56-440a-a070-b27a9e303d33"><test>item-39f3625b-4f56-440a-a070-b27a9e303d33</test></item></value></item></result>

2023-05-04 22:44:36 | [Mutex] notify: [retrieved:item:item-39f3625b-4f56-440a-a070-b27a9e303d33:payload-matches:true:localhost]

2023-05-04 22:44:36 | [Mutex] received everything.

2023-05-04 22:44:36 | [Mutex] isItemNotified: retrieved:item:item-39f3625b-4f56-440a-a070-b27a9e303d33:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-05-04 22:44:36 |

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

2023-05-04 22:44:36 | ------------------------------------

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

2023-05-04 22:44:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d466c765-53db-42b3-a015-bd8521493bf0</value><value>test</value><value>node-007d485d-dc92-46d8-94da-936b1843b3e7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.082s
2023-05-04 22:44:36 |

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

2023-05-04 22:44:36 | ------------------------------------

2023-05-04 22:44: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-007d485d-dc92-46d8-94da-936b1843b3e7)</node-pattern></data>

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

subscribeNodes 1.148s
2023-05-04 22:44:34 |

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

2023-05-04 22:44:34 | ------------------------------------

2023-05-04 22:44:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-007d485d-dc92-46d8-94da-936b1843b3e7</node><jids><value>admin@test-domain.com</value></jids></data>

2023-05-04 22:44: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.214s
2023-05-04 22:44:36 |

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

2023-05-04 22:44:36 | ------------------------------------

2023-05-04 22:44:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-007d485d-dc92-46d8-94da-936b1843b3e7</node><jids><value>admin@test-domain.com</value></jids></data>

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