Generated by TestNG with ReportNG at 22:19 PDT on Thursday 18 August 2022
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.574s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2022-08-18 22:40:32 |

2022-08-18 22:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:32 | ------------------------------------

2022-08-18 22:40:32 | [Mutex] waiting for: [configured:node:node-63de6055-28a2-4af4-a9f8-61eda9127c7b:node-23dfecad-2bdb-485d-a793-bd14a3955ef0]

2022-08-18 22:40:32 | [Mutex] received everything.

2022-08-18 22:40:32 | [Mutex] isItemNotified: configured:node:node-63de6055-28a2-4af4-a9f8-61eda9127c7b:node-23dfecad-2bdb-485d-a793-bd14a3955ef0 :: true

2022-08-18 22:40:33 | [Mutex] waiting for: [received:nodes:1d22d28b-e8ea-4f4b-94a5-633374263a48:localhost]

2022-08-18 22:40:33 | [Mutex] received everything.

2022-08-18 22:40:33 | [Mutex] isItemNotified: received:node:1d22d28b-e8ea-4f4b-94a5-633374263a48:localhost:node-63de6055-28a2-4af4-a9f8-61eda9127c7b:Node 63de6055-28a2-4af4-a9f8-61eda9127c7b :: true

2022-08-18 22:40:33 | [Mutex] waiting for: [received:nodes:5ffb0142-4968-4456-89e5-d9edd2e33a8e:localhost]

2022-08-18 22:40:33 | [Mutex] received everything.

2022-08-18 22:40:33 | [Mutex] isItemNotified: received:node:5ffb0142-4968-4456-89e5-d9edd2e33a8e:localhost:node-63de6055-28a2-4af4-a9f8-61eda9127c7b:Node 63de6055-28a2-4af4-a9f8-61eda9127c7b :: false

createNodes 1.448s
2022-08-18 22:40:29 |

2022-08-18 22:40:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:29 | ------------------------------------

2022-08-18 22:40:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-63de6055-28a2-4af4-a9f8-61eda9127c7b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 63de6055-28a2-4af4-a9f8-61eda9127c7b</title></pubsub></data>

2022-08-18 22:40:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 22:40:31 | [Mutex] waiting for: [received:nodes:efcfdf9d-e2cd-4900-9b50-5bb1f810efb1:localhost]

2022-08-18 22:40:31 | [Mutex] received everything.

2022-08-18 22:40:31 | [Mutex] isItemNotified: received:node:efcfdf9d-e2cd-4900-9b50-5bb1f810efb1:localhost:node-63de6055-28a2-4af4-a9f8-61eda9127c7b:Node 63de6055-28a2-4af4-a9f8-61eda9127c7b :: true

createSubnodes 1.023s
2022-08-18 22:40:31 |

2022-08-18 22:40:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:31 | ------------------------------------

2022-08-18 22:40:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-23dfecad-2bdb-485d-a793-bd14a3955ef0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 23dfecad-2bdb-485d-a793-bd14a3955ef0</title></pubsub></data>

2022-08-18 22:40:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 22:40:32 | [Mutex] waiting for: [received:nodes:02288321-0b79-42bb-a252-16e8b21bae18:localhost]

2022-08-18 22:40:32 | [Mutex] waiting for: [received:nodes:02288321-0b79-42bb-a252-16e8b21bae18:localhost]

2022-08-18 22:40:32 | [Mutex] received everything.

2022-08-18 22:40:32 | [Mutex] isItemNotified: received:node:02288321-0b79-42bb-a252-16e8b21bae18:localhost:node-23dfecad-2bdb-485d-a793-bd14a3955ef0:Node 23dfecad-2bdb-485d-a793-bd14a3955ef0 :: true

deleteNodes 1.016s
2022-08-18 22:40:37 |

2022-08-18 22:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:37 | ------------------------------------

2022-08-18 22:40:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-23dfecad-2bdb-485d-a793-bd14a3955ef0</node></data>

2022-08-18 22:40:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 22:40:38 | [Mutex] waiting for: [received:nodes:4857c1e5-1f22-4e51-b1a9-06a0465c1d77:localhost]

2022-08-18 22:40:38 | [Mutex] received everything.

2022-08-18 22:40:38 | [Mutex] isItemNotified: received:node:4857c1e5-1f22-4e51-b1a9-06a0465c1d77:localhost:node-23dfecad-2bdb-485d-a793-bd14a3955ef0:Node 23dfecad-2bdb-485d-a793-bd14a3955ef0 :: false

deleteSubnodes 1.130s
2022-08-18 22:40:36 |

2022-08-18 22:40:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:36 | ------------------------------------

2022-08-18 22:40:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-63de6055-28a2-4af4-a9f8-61eda9127c7b</node></data>

2022-08-18 22:40:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 22:40:37 | [Mutex] waiting for: [received:nodes:050d8bcc-5b13-4768-a1f0-40f7acf40690:localhost]

2022-08-18 22:40:37 | [Mutex] waiting for: [received:nodes:050d8bcc-5b13-4768-a1f0-40f7acf40690:localhost]

2022-08-18 22:40:37 | [Mutex] received everything.

2022-08-18 22:40:37 | [Mutex] isItemNotified: received:node:050d8bcc-5b13-4768-a1f0-40f7acf40690:localhost:node-63de6055-28a2-4af4-a9f8-61eda9127c7b:Node 63de6055-28a2-4af4-a9f8-61eda9127c7b :: false

2022-08-18 22:40:37 | [Mutex] waiting for: [received:nodes:e28bb50f-de8a-41d2-9fee-518250ff1258:localhost]

2022-08-18 22:40:37 | [Mutex] received everything.

2022-08-18 22:40:37 | [Mutex] isItemNotified: received:node:e28bb50f-de8a-41d2-9fee-518250ff1258:localhost:node-63de6055-28a2-4af4-a9f8-61eda9127c7b:Node 63de6055-28a2-4af4-a9f8-61eda9127c7b :: false

publishItemsToNodes 0.254s
2022-08-18 22:40:34 |

2022-08-18 22:40:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:34 | ------------------------------------

2022-08-18 22:40:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-63de6055-28a2-4af4-a9f8-61eda9127c7b</node><item-id>item-2f070dc1-78e0-4041-b81d-1378af55a739</item-id><entry><test>item-2f070dc1-78e0-4041-b81d-1378af55a739</test></entry></data>

2022-08-18 22:40:34 | 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-2f070dc1-78e0-4041-b81d-1378af55a739</value></item-id></result>

2022-08-18 22:40:34 | [Mutex] waiting for: [published:item:notifieditem-2f070dc1-78e0-4041-b81d-1378af55a739:admin@test-domain.com]

2022-08-18 22:40:34 | [Mutex] received everything.

2022-08-18 22:40:34 | [Mutex] isItemNotified: published:item:notifieditem-2f070dc1-78e0-4041-b81d-1378af55a739:admin@test-domain.com :: true

retractItemsFromNodes 0.312s
2022-08-18 22:40:35 |

2022-08-18 22:40:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:35 | ------------------------------------

2022-08-18 22:40:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-63de6055-28a2-4af4-a9f8-61eda9127c7b</node><item-id>item-2f070dc1-78e0-4041-b81d-1378af55a739</item-id></data>

2022-08-18 22:40:35 | 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-2f070dc1-78e0-4041-b81d-1378af55a739</value></item-id></result>

2022-08-18 22:40:35 | [Mutex] waiting for: [retracted:item:notifieditem-2f070dc1-78e0-4041-b81d-1378af55a739:admin@test-domain.com]

2022-08-18 22:40:35 | [Mutex] received everything.

2022-08-18 22:40:35 | [Mutex] isItemNotified: retracted:item:notifieditem-2f070dc1-78e0-4041-b81d-1378af55a739:admin@test-domain.com :: true

retrieveItemsFromNodes 0.283s
2022-08-18 22:40:34 |

2022-08-18 22:40:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:34 | ------------------------------------

2022-08-18 22:40:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-63de6055-28a2-4af4-a9f8-61eda9127c7b</node><item-id>item-2f070dc1-78e0-4041-b81d-1378af55a739</item-id></data>

2022-08-18 22:40:35 | 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-63de6055-28a2-4af4-a9f8-61eda9127c7b</value></node><item-id type="text-single" label="Item ID"><value>item-2f070dc1-78e0-4041-b81d-1378af55a739</value></item-id><item type="text-multi" label="Item"><value><item id="item-2f070dc1-78e0-4041-b81d-1378af55a739"><test>item-2f070dc1-78e0-4041-b81d-1378af55a739</test></item></value></item></result>

2022-08-18 22:40:35 | [Mutex] notify: [retrieved:item:item-2f070dc1-78e0-4041-b81d-1378af55a739:payload-matches:true:localhost]

2022-08-18 22:40:35 | [Mutex] received everything.

2022-08-18 22:40:35 | [Mutex] isItemNotified: retrieved:item:item-2f070dc1-78e0-4041-b81d-1378af55a739:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-08-18 22:40:35 |

2022-08-18 22:40:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:35 | ------------------------------------

2022-08-18 22:40:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-18 22:40:35 | 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-63de6055-28a2-4af4-a9f8-61eda9127c7b</value><value>node-23dfecad-2bdb-485d-a793-bd14a3955ef0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-18 22:40:35 |

2022-08-18 22:40:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:35 | ------------------------------------

2022-08-18 22:40:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-63de6055-28a2-4af4-a9f8-61eda9127c7b)</node-pattern></data>

2022-08-18 22:40:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.119s
2022-08-18 22:40:33 |

2022-08-18 22:40:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:33 | ------------------------------------

2022-08-18 22:40:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-63de6055-28a2-4af4-a9f8-61eda9127c7b</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-18 22:40:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.178s
2022-08-18 22:40:35 |

2022-08-18 22:40:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 22:40:35 | ------------------------------------

2022-08-18 22:40:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-63de6055-28a2-4af4-a9f8-61eda9127c7b</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-18 22:40:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>