Generated by TestNG with ReportNG at 21:30 PST on Sunday 18 December 2022
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.546s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2022-12-18 21:47:11 |

2022-12-18 21:47:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:11 | ------------------------------------

2022-12-18 21:47:11 | [Mutex] waiting for: [configured:node:node-6d515dfc-6bdd-4de7-9703-d854eb724920:node-8e8b4a30-43ea-4e0f-82af-b31af9d55d93]

2022-12-18 21:47:12 | [Mutex] received everything.

2022-12-18 21:47:12 | [Mutex] isItemNotified: configured:node:node-6d515dfc-6bdd-4de7-9703-d854eb724920:node-8e8b4a30-43ea-4e0f-82af-b31af9d55d93 :: true

2022-12-18 21:47:13 | [Mutex] waiting for: [received:nodes:85c7bdf9-44f6-4d91-9a4a-21560a2acb04:localhost]

2022-12-18 21:47:13 | [Mutex] received everything.

2022-12-18 21:47:13 | [Mutex] isItemNotified: received:node:85c7bdf9-44f6-4d91-9a4a-21560a2acb04:localhost:node-6d515dfc-6bdd-4de7-9703-d854eb724920:Node 6d515dfc-6bdd-4de7-9703-d854eb724920 :: true

2022-12-18 21:47:13 | [Mutex] waiting for: [received:nodes:2819a057-a269-4910-8fea-7c0f1cc52cfc:localhost]

2022-12-18 21:47:13 | [Mutex] waiting for: [received:nodes:2819a057-a269-4910-8fea-7c0f1cc52cfc:localhost]

2022-12-18 21:47:13 | [Mutex] waiting for: [received:nodes:2819a057-a269-4910-8fea-7c0f1cc52cfc:localhost]

2022-12-18 21:47:13 | [Mutex] waiting for: [received:nodes:2819a057-a269-4910-8fea-7c0f1cc52cfc:localhost]

2022-12-18 21:47:13 | [Mutex] received everything.

2022-12-18 21:47:13 | [Mutex] isItemNotified: received:node:2819a057-a269-4910-8fea-7c0f1cc52cfc:localhost:node-6d515dfc-6bdd-4de7-9703-d854eb724920:Node 6d515dfc-6bdd-4de7-9703-d854eb724920 :: false

createNodes 1.391s
2022-12-18 21:47:09 |

2022-12-18 21:47:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:09 | ------------------------------------

2022-12-18 21:47:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6d515dfc-6bdd-4de7-9703-d854eb724920</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6d515dfc-6bdd-4de7-9703-d854eb724920</title></pubsub></data>

2022-12-18 21:47:09 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-18 21:47:10 | [Mutex] waiting for: [received:nodes:268e9df9-3c6f-47e5-bfeb-e323bafc4dd0:localhost]

2022-12-18 21:47:10 | [Mutex] waiting for: [received:nodes:268e9df9-3c6f-47e5-bfeb-e323bafc4dd0:localhost]

2022-12-18 21:47:10 | [Mutex] received everything.

2022-12-18 21:47:10 | [Mutex] isItemNotified: received:node:268e9df9-3c6f-47e5-bfeb-e323bafc4dd0:localhost:node-6d515dfc-6bdd-4de7-9703-d854eb724920:Node 6d515dfc-6bdd-4de7-9703-d854eb724920 :: true

createSubnodes 1.031s
2022-12-18 21:47:10 |

2022-12-18 21:47:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:10 | ------------------------------------

2022-12-18 21:47:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8e8b4a30-43ea-4e0f-82af-b31af9d55d93</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8e8b4a30-43ea-4e0f-82af-b31af9d55d93</title></pubsub></data>

2022-12-18 21:47:10 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-18 21:47:11 | [Mutex] waiting for: [received:nodes:7be7a639-f8de-47cc-9de3-04b2fc43e8b6:localhost]

2022-12-18 21:47:11 | [Mutex] waiting for: [received:nodes:7be7a639-f8de-47cc-9de3-04b2fc43e8b6:localhost]

2022-12-18 21:47:11 | [Mutex] received everything.

2022-12-18 21:47:11 | [Mutex] isItemNotified: received:node:7be7a639-f8de-47cc-9de3-04b2fc43e8b6:localhost:node-8e8b4a30-43ea-4e0f-82af-b31af9d55d93:Node 8e8b4a30-43ea-4e0f-82af-b31af9d55d93 :: true

deleteNodes 1.022s
2022-12-18 21:47:17 |

2022-12-18 21:47:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:17 | ------------------------------------

2022-12-18 21:47:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8e8b4a30-43ea-4e0f-82af-b31af9d55d93</node></data>

2022-12-18 21:47:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-18 21:47:18 | [Mutex] waiting for: [received:nodes:f7d7ddaf-bb3f-4ad6-a825-be7c5dfcfe3b:localhost]

2022-12-18 21:47:18 | [Mutex] waiting for: [received:nodes:f7d7ddaf-bb3f-4ad6-a825-be7c5dfcfe3b:localhost]

2022-12-18 21:47:18 | [Mutex] waiting for: [received:nodes:f7d7ddaf-bb3f-4ad6-a825-be7c5dfcfe3b:localhost]

2022-12-18 21:47:18 | [Mutex] received everything.

2022-12-18 21:47:18 | [Mutex] isItemNotified: received:node:f7d7ddaf-bb3f-4ad6-a825-be7c5dfcfe3b:localhost:node-8e8b4a30-43ea-4e0f-82af-b31af9d55d93:Node 8e8b4a30-43ea-4e0f-82af-b31af9d55d93 :: false

deleteSubnodes 1.168s
2022-12-18 21:47:16 |

2022-12-18 21:47:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:16 | ------------------------------------

2022-12-18 21:47:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6d515dfc-6bdd-4de7-9703-d854eb724920</node></data>

2022-12-18 21:47:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-18 21:47:17 | [Mutex] waiting for: [received:nodes:6a2af6d3-d046-4b5d-85c4-68d767c231f1:localhost]

2022-12-18 21:47:17 | [Mutex] waiting for: [received:nodes:6a2af6d3-d046-4b5d-85c4-68d767c231f1:localhost]

2022-12-18 21:47:17 | [Mutex] waiting for: [received:nodes:6a2af6d3-d046-4b5d-85c4-68d767c231f1:localhost]

2022-12-18 21:47:17 | [Mutex] waiting for: [received:nodes:6a2af6d3-d046-4b5d-85c4-68d767c231f1:localhost]

2022-12-18 21:47:17 | [Mutex] received everything.

2022-12-18 21:47:17 | [Mutex] isItemNotified: received:node:6a2af6d3-d046-4b5d-85c4-68d767c231f1:localhost:node-6d515dfc-6bdd-4de7-9703-d854eb724920:Node 6d515dfc-6bdd-4de7-9703-d854eb724920 :: false

2022-12-18 21:47:17 | [Mutex] waiting for: [received:nodes:8c7b3e48-c86a-47ba-8fdf-28ea8cbd25dc:localhost]

2022-12-18 21:47:17 | [Mutex] received everything.

2022-12-18 21:47:17 | [Mutex] isItemNotified: received:node:8c7b3e48-c86a-47ba-8fdf-28ea8cbd25dc:localhost:node-6d515dfc-6bdd-4de7-9703-d854eb724920:Node 6d515dfc-6bdd-4de7-9703-d854eb724920 :: false

publishItemsToNodes 0.206s
2022-12-18 21:47:14 |

2022-12-18 21:47:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:14 | ------------------------------------

2022-12-18 21:47:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6d515dfc-6bdd-4de7-9703-d854eb724920</node><item-id>item-7ff462e9-4975-4207-8431-314ecb20bfc3</item-id><entry><test>item-7ff462e9-4975-4207-8431-314ecb20bfc3</test></entry></data>

2022-12-18 21:47:14 | 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-7ff462e9-4975-4207-8431-314ecb20bfc3</value></item-id></result>

2022-12-18 21:47:14 | [Mutex] received everything.

2022-12-18 21:47:14 | [Mutex] isItemNotified: published:item:notifieditem-7ff462e9-4975-4207-8431-314ecb20bfc3:admin@test-domain.com :: true

retractItemsFromNodes 0.244s
2022-12-18 21:47:14 |

2022-12-18 21:47:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:14 | ------------------------------------

2022-12-18 21:47:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6d515dfc-6bdd-4de7-9703-d854eb724920</node><item-id>item-7ff462e9-4975-4207-8431-314ecb20bfc3</item-id></data>

2022-12-18 21:47:15 | 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-7ff462e9-4975-4207-8431-314ecb20bfc3</value></item-id></result>

2022-12-18 21:47:15 | [Mutex] received everything.

2022-12-18 21:47:15 | [Mutex] isItemNotified: retracted:item:notifieditem-7ff462e9-4975-4207-8431-314ecb20bfc3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.276s
2022-12-18 21:47:14 |

2022-12-18 21:47:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:14 | ------------------------------------

2022-12-18 21:47:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6d515dfc-6bdd-4de7-9703-d854eb724920</node><item-id>item-7ff462e9-4975-4207-8431-314ecb20bfc3</item-id></data>

2022-12-18 21:47:14 | 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-6d515dfc-6bdd-4de7-9703-d854eb724920</value></node><item-id type="text-single" label="Item ID"><value>item-7ff462e9-4975-4207-8431-314ecb20bfc3</value></item-id><item type="text-multi" label="Item"><value><item id="item-7ff462e9-4975-4207-8431-314ecb20bfc3"><test>item-7ff462e9-4975-4207-8431-314ecb20bfc3</test></item></value></item></result>

2022-12-18 21:47:14 | [Mutex] notify: [retrieved:item:item-7ff462e9-4975-4207-8431-314ecb20bfc3:payload-matches:true:localhost]

2022-12-18 21:47:14 | [Mutex] received everything.

2022-12-18 21:47:14 | [Mutex] isItemNotified: retrieved:item:item-7ff462e9-4975-4207-8431-314ecb20bfc3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-12-18 21:47:14 |

2022-12-18 21:47:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:14 | ------------------------------------

2022-12-18 21:47:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-18 21:47:14 | 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-8e8b4a30-43ea-4e0f-82af-b31af9d55d93</value><value>node-6d515dfc-6bdd-4de7-9703-d854eb724920</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-12-18 21:47:14 |

2022-12-18 21:47:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:14 | ------------------------------------

2022-12-18 21:47:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6d515dfc-6bdd-4de7-9703-d854eb724920)</node-pattern></data>

2022-12-18 21:47:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.171s
2022-12-18 21:47:13 |

2022-12-18 21:47:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:13 | ------------------------------------

2022-12-18 21:47:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6d515dfc-6bdd-4de7-9703-d854eb724920</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-18 21:47:13 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.202s
2022-12-18 21:47:15 |

2022-12-18 21:47:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:47:15 | ------------------------------------

2022-12-18 21:47:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6d515dfc-6bdd-4de7-9703-d854eb724920</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-18 21:47:15 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>