Generated by TestNG with ReportNG at 04:13 PDT on Tuesday 25 October 2022
root@f9c07ffec79b / 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.466s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-10-25 04:33:44 |

2022-10-25 04:33:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:44 | ------------------------------------

2022-10-25 04:33:44 | [Mutex] waiting for: [configured:node:node-205004a7-e368-4943-8d6a-3a50903bfd25:node-da457064-b6f8-474e-bd7b-40ac29352a38]

2022-10-25 04:33:44 | [Mutex] received everything.

2022-10-25 04:33:44 | [Mutex] isItemNotified: configured:node:node-205004a7-e368-4943-8d6a-3a50903bfd25:node-da457064-b6f8-474e-bd7b-40ac29352a38 :: true

2022-10-25 04:33:45 | [Mutex] waiting for: [received:nodes:019b9c5a-cbbc-4c50-9a1b-841b76077d03:localhost]

2022-10-25 04:33:45 | [Mutex] received everything.

2022-10-25 04:33:45 | [Mutex] isItemNotified: received:node:019b9c5a-cbbc-4c50-9a1b-841b76077d03:localhost:node-205004a7-e368-4943-8d6a-3a50903bfd25:Node 205004a7-e368-4943-8d6a-3a50903bfd25 :: true

2022-10-25 04:33:45 | [Mutex] waiting for: [received:nodes:affd1c28-cc14-432c-b12f-d5568d01ee6a:localhost]

2022-10-25 04:33:45 | [Mutex] waiting for: [received:nodes:affd1c28-cc14-432c-b12f-d5568d01ee6a:localhost]

2022-10-25 04:33:45 | [Mutex] received everything.

2022-10-25 04:33:45 | [Mutex] isItemNotified: received:node:affd1c28-cc14-432c-b12f-d5568d01ee6a:localhost:node-205004a7-e368-4943-8d6a-3a50903bfd25:Node 205004a7-e368-4943-8d6a-3a50903bfd25 :: false

createNodes 1.434s
2022-10-25 04:33:41 |

2022-10-25 04:33:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:41 | ------------------------------------

2022-10-25 04:33:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-205004a7-e368-4943-8d6a-3a50903bfd25</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 205004a7-e368-4943-8d6a-3a50903bfd25</title></pubsub></data>

2022-10-25 04:33:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-25 04:33:43 | [Mutex] waiting for: [received:nodes:56f9bdf8-98a9-47ef-9d4d-3920d6bba09e:localhost]

2022-10-25 04:33:43 | [Mutex] received everything.

2022-10-25 04:33:43 | [Mutex] isItemNotified: received:node:56f9bdf8-98a9-47ef-9d4d-3920d6bba09e:localhost:node-205004a7-e368-4943-8d6a-3a50903bfd25:Node 205004a7-e368-4943-8d6a-3a50903bfd25 :: true

createSubnodes 1.023s
2022-10-25 04:33:43 |

2022-10-25 04:33:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:43 | ------------------------------------

2022-10-25 04:33:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-da457064-b6f8-474e-bd7b-40ac29352a38</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node da457064-b6f8-474e-bd7b-40ac29352a38</title></pubsub></data>

2022-10-25 04:33:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-25 04:33:44 | [Mutex] waiting for: [received:nodes:75844603-7360-4017-a6c2-280b8d9c3ac8:localhost]

2022-10-25 04:33:44 | [Mutex] received everything.

2022-10-25 04:33:44 | [Mutex] isItemNotified: received:node:75844603-7360-4017-a6c2-280b8d9c3ac8:localhost:node-da457064-b6f8-474e-bd7b-40ac29352a38:Node da457064-b6f8-474e-bd7b-40ac29352a38 :: true

deleteNodes 1.015s
2022-10-25 04:33:49 |

2022-10-25 04:33:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:49 | ------------------------------------

2022-10-25 04:33:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-da457064-b6f8-474e-bd7b-40ac29352a38</node></data>

2022-10-25 04:33:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-25 04:33:50 | [Mutex] waiting for: [received:nodes:d9702aae-9002-4b37-a960-60922fd4a357:localhost]

2022-10-25 04:33:50 | [Mutex] received everything.

2022-10-25 04:33:50 | [Mutex] isItemNotified: received:node:d9702aae-9002-4b37-a960-60922fd4a357:localhost:node-da457064-b6f8-474e-bd7b-40ac29352a38:Node da457064-b6f8-474e-bd7b-40ac29352a38 :: false

deleteSubnodes 1.117s
2022-10-25 04:33:48 |

2022-10-25 04:33:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:48 | ------------------------------------

2022-10-25 04:33:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-205004a7-e368-4943-8d6a-3a50903bfd25</node></data>

2022-10-25 04:33:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-25 04:33:49 | [Mutex] waiting for: [received:nodes:56e9426b-4792-4809-85c3-dfa40f973eff:localhost]

2022-10-25 04:33:49 | [Mutex] waiting for: [received:nodes:56e9426b-4792-4809-85c3-dfa40f973eff:localhost]

2022-10-25 04:33:49 | [Mutex] received everything.

2022-10-25 04:33:49 | [Mutex] isItemNotified: received:node:56e9426b-4792-4809-85c3-dfa40f973eff:localhost:node-205004a7-e368-4943-8d6a-3a50903bfd25:Node 205004a7-e368-4943-8d6a-3a50903bfd25 :: false

2022-10-25 04:33:49 | [Mutex] waiting for: [received:nodes:a69db86a-5362-4fde-9d11-ca86ada3038f:localhost]

2022-10-25 04:33:49 | [Mutex] received everything.

2022-10-25 04:33:49 | [Mutex] isItemNotified: received:node:a69db86a-5362-4fde-9d11-ca86ada3038f:localhost:node-205004a7-e368-4943-8d6a-3a50903bfd25:Node 205004a7-e368-4943-8d6a-3a50903bfd25 :: false

publishItemsToNodes 0.225s
2022-10-25 04:33:46 |

2022-10-25 04:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:46 | ------------------------------------

2022-10-25 04:33:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-205004a7-e368-4943-8d6a-3a50903bfd25</node><item-id>item-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff</item-id><entry><test>item-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff</test></entry></data>

2022-10-25 04:33:46 | 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-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff</value></item-id></result>

2022-10-25 04:33:46 | [Mutex] waiting for: [published:item:notifieditem-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff:admin@test-domain.com]

2022-10-25 04:33:46 | [Mutex] received everything.

2022-10-25 04:33:46 | [Mutex] isItemNotified: published:item:notifieditem-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff:admin@test-domain.com :: true

retractItemsFromNodes 0.191s
2022-10-25 04:33:46 |

2022-10-25 04:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:46 | ------------------------------------

2022-10-25 04:33:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-205004a7-e368-4943-8d6a-3a50903bfd25</node><item-id>item-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff</item-id></data>

2022-10-25 04:33:47 | 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-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff</value></item-id></result>

2022-10-25 04:33:47 | [Mutex] received everything.

2022-10-25 04:33:47 | [Mutex] isItemNotified: retracted:item:notifieditem-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff:admin@test-domain.com :: true

retrieveItemsFromNodes 0.225s
2022-10-25 04:33:46 |

2022-10-25 04:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:46 | ------------------------------------

2022-10-25 04:33:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-205004a7-e368-4943-8d6a-3a50903bfd25</node><item-id>item-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff</item-id></data>

2022-10-25 04:33:46 | 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-205004a7-e368-4943-8d6a-3a50903bfd25</value></node><item-id label="Item ID" type="text-single"><value>item-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff</value></item-id><item label="Item" type="text-multi"><value><item id="item-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff"><test>item-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff</test></item></value></item></result>

2022-10-25 04:33:46 | [Mutex] notify: [retrieved:item:item-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff:payload-matches:true:localhost]

2022-10-25 04:33:46 | [Mutex] received everything.

2022-10-25 04:33:46 | [Mutex] isItemNotified: retrieved:item:item-0ed35aec-19a2-44d7-8b9c-927ccb1e22ff:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-10-25 04:33:46 |

2022-10-25 04:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:46 | ------------------------------------

2022-10-25 04:33:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-25 04:33:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-da457064-b6f8-474e-bd7b-40ac29352a38</value><value>test</value><value>node-205004a7-e368-4943-8d6a-3a50903bfd25</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-10-25 04:33:46 |

2022-10-25 04:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:46 | ------------------------------------

2022-10-25 04:33:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-205004a7-e368-4943-8d6a-3a50903bfd25)</node-pattern></data>

2022-10-25 04:33:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.122s
2022-10-25 04:33:45 |

2022-10-25 04:33:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:45 | ------------------------------------

2022-10-25 04:33:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-205004a7-e368-4943-8d6a-3a50903bfd25</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-25 04:33:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.191s
2022-10-25 04:33:47 |

2022-10-25 04:33:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:33:47 | ------------------------------------

2022-10-25 04:33:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-205004a7-e368-4943-8d6a-3a50903bfd25</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-25 04:33:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>