Generated by TestNG with ReportNG at 22:19 PDT on Sunday 14 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.479s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2022-08-14 22:33:08 |

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

2022-08-14 22:33:08 | ------------------------------------

2022-08-14 22:33:08 | [Mutex] waiting for: [configured:node:node-1a2cea00-ed61-423a-9455-ea0152e64393:node-73054c9b-9a14-4ae4-a763-55b77c8bde12]

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

2022-08-14 22:33:08 | [Mutex] isItemNotified: configured:node:node-1a2cea00-ed61-423a-9455-ea0152e64393:node-73054c9b-9a14-4ae4-a763-55b77c8bde12 :: true

2022-08-14 22:33:09 | [Mutex] waiting for: [received:nodes:953a5c10-0023-46c1-a378-e80923e4fd70:localhost]

2022-08-14 22:33:09 | [Mutex] received everything.

2022-08-14 22:33:09 | [Mutex] isItemNotified: received:node:953a5c10-0023-46c1-a378-e80923e4fd70:localhost:node-1a2cea00-ed61-423a-9455-ea0152e64393:Node 1a2cea00-ed61-423a-9455-ea0152e64393 :: true

2022-08-14 22:33:09 | [Mutex] waiting for: [received:nodes:5c5b9098-125f-42e8-80d2-c90c81c7741f:localhost]

2022-08-14 22:33:09 | [Mutex] received everything.

2022-08-14 22:33:09 | [Mutex] isItemNotified: received:node:5c5b9098-125f-42e8-80d2-c90c81c7741f:localhost:node-1a2cea00-ed61-423a-9455-ea0152e64393:Node 1a2cea00-ed61-423a-9455-ea0152e64393 :: false

createNodes 1.398s
2022-08-14 22:33:06 |

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

2022-08-14 22:33:06 | ------------------------------------

2022-08-14 22:33:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1a2cea00-ed61-423a-9455-ea0152e64393</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1a2cea00-ed61-423a-9455-ea0152e64393</title></pubsub></data>

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

2022-08-14 22:33:07 | [Mutex] waiting for: [received:nodes:7edf8225-e770-4b8b-bf96-5eabd651aa2c:localhost]

2022-08-14 22:33:07 | [Mutex] waiting for: [received:nodes:7edf8225-e770-4b8b-bf96-5eabd651aa2c:localhost]

2022-08-14 22:33:07 | [Mutex] received everything.

2022-08-14 22:33:07 | [Mutex] isItemNotified: received:node:7edf8225-e770-4b8b-bf96-5eabd651aa2c:localhost:node-1a2cea00-ed61-423a-9455-ea0152e64393:Node 1a2cea00-ed61-423a-9455-ea0152e64393 :: true

createSubnodes 1.024s
2022-08-14 22:33:07 |

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

2022-08-14 22:33:07 | ------------------------------------

2022-08-14 22:33:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-73054c9b-9a14-4ae4-a763-55b77c8bde12</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 73054c9b-9a14-4ae4-a763-55b77c8bde12</title></pubsub></data>

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

2022-08-14 22:33:08 | [Mutex] waiting for: [received:nodes:b3a1c50f-9435-4370-ab89-1468ac0d1d56:localhost]

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

2022-08-14 22:33:08 | [Mutex] isItemNotified: received:node:b3a1c50f-9435-4370-ab89-1468ac0d1d56:localhost:node-73054c9b-9a14-4ae4-a763-55b77c8bde12:Node 73054c9b-9a14-4ae4-a763-55b77c8bde12 :: true

deleteNodes 1.021s
2022-08-14 22:33:14 |

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

2022-08-14 22:33:14 | ------------------------------------

2022-08-14 22:33:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-73054c9b-9a14-4ae4-a763-55b77c8bde12</node></data>

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

2022-08-14 22:33:15 | [Mutex] waiting for: [received:nodes:610be262-8c7a-4d8d-8c6e-695c3e543f08:localhost]

2022-08-14 22:33:15 | [Mutex] waiting for: [received:nodes:610be262-8c7a-4d8d-8c6e-695c3e543f08:localhost]

2022-08-14 22:33:15 | [Mutex] received everything.

2022-08-14 22:33:15 | [Mutex] isItemNotified: received:node:610be262-8c7a-4d8d-8c6e-695c3e543f08:localhost:node-73054c9b-9a14-4ae4-a763-55b77c8bde12:Node 73054c9b-9a14-4ae4-a763-55b77c8bde12 :: false

deleteSubnodes 1.130s
2022-08-14 22:33:13 |

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

2022-08-14 22:33:13 | ------------------------------------

2022-08-14 22:33:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1a2cea00-ed61-423a-9455-ea0152e64393</node></data>

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

2022-08-14 22:33:14 | [Mutex] waiting for: [received:nodes:e978f9ba-92e9-4d26-bae8-13ea6113d40a:localhost]

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

2022-08-14 22:33:14 | [Mutex] isItemNotified: received:node:e978f9ba-92e9-4d26-bae8-13ea6113d40a:localhost:node-1a2cea00-ed61-423a-9455-ea0152e64393:Node 1a2cea00-ed61-423a-9455-ea0152e64393 :: false

2022-08-14 22:33:14 | [Mutex] waiting for: [received:nodes:8fa62861-ebf0-416c-9394-15168876908e:localhost]

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

2022-08-14 22:33:14 | [Mutex] isItemNotified: received:node:8fa62861-ebf0-416c-9394-15168876908e:localhost:node-1a2cea00-ed61-423a-9455-ea0152e64393:Node 1a2cea00-ed61-423a-9455-ea0152e64393 :: false

publishItemsToNodes 0.277s
2022-08-14 22:33:11 |

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

2022-08-14 22:33:11 | ------------------------------------

2022-08-14 22:33:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1a2cea00-ed61-423a-9455-ea0152e64393</node><item-id>item-3fc83ea9-991b-4eda-9d22-66d45ee5041b</item-id><entry><test>item-3fc83ea9-991b-4eda-9d22-66d45ee5041b</test></entry></data>

2022-08-14 22:33:11 | 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-3fc83ea9-991b-4eda-9d22-66d45ee5041b</value></item-id></result>

2022-08-14 22:33:11 | [Mutex] waiting for: [published:item:notifieditem-3fc83ea9-991b-4eda-9d22-66d45ee5041b:admin@test-domain.com]

2022-08-14 22:33:11 | [Mutex] received everything.

2022-08-14 22:33:11 | [Mutex] isItemNotified: published:item:notifieditem-3fc83ea9-991b-4eda-9d22-66d45ee5041b:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-08-14 22:33:11 |

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

2022-08-14 22:33:11 | ------------------------------------

2022-08-14 22:33:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1a2cea00-ed61-423a-9455-ea0152e64393</node><item-id>item-3fc83ea9-991b-4eda-9d22-66d45ee5041b</item-id></data>

2022-08-14 22:33:11 | 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-3fc83ea9-991b-4eda-9d22-66d45ee5041b</value></item-id></result>

2022-08-14 22:33:11 | [Mutex] received everything.

2022-08-14 22:33:11 | [Mutex] isItemNotified: retracted:item:notifieditem-3fc83ea9-991b-4eda-9d22-66d45ee5041b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.211s
2022-08-14 22:33:11 |

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

2022-08-14 22:33:11 | ------------------------------------

2022-08-14 22:33:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1a2cea00-ed61-423a-9455-ea0152e64393</node><item-id>item-3fc83ea9-991b-4eda-9d22-66d45ee5041b</item-id></data>

2022-08-14 22:33:11 | 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-1a2cea00-ed61-423a-9455-ea0152e64393</value></node><item-id type="text-single" label="Item ID"><value>item-3fc83ea9-991b-4eda-9d22-66d45ee5041b</value></item-id><item type="text-multi" label="Item"><value><item id="item-3fc83ea9-991b-4eda-9d22-66d45ee5041b"><test>item-3fc83ea9-991b-4eda-9d22-66d45ee5041b</test></item></value></item></result>

2022-08-14 22:33:11 | [Mutex] notify: [retrieved:item:item-3fc83ea9-991b-4eda-9d22-66d45ee5041b:payload-matches:true:localhost]

2022-08-14 22:33:11 | [Mutex] received everything.

2022-08-14 22:33:11 | [Mutex] isItemNotified: retrieved:item:item-3fc83ea9-991b-4eda-9d22-66d45ee5041b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-08-14 22:33:11 |

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

2022-08-14 22:33:11 | ------------------------------------

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

2022-08-14 22:33:11 | 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-73054c9b-9a14-4ae4-a763-55b77c8bde12</value><value>node-1a2cea00-ed61-423a-9455-ea0152e64393</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-08-14 22:33:11 |

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

2022-08-14 22:33:11 | ------------------------------------

2022-08-14 22:33:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1a2cea00-ed61-423a-9455-ea0152e64393)</node-pattern></data>

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

subscribeNodes 1.133s
2022-08-14 22:33:09 |

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

2022-08-14 22:33:09 | ------------------------------------

2022-08-14 22:33:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1a2cea00-ed61-423a-9455-ea0152e64393</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.146s
2022-08-14 22:33:11 |

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

2022-08-14 22:33:11 | ------------------------------------

2022-08-14 22:33:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1a2cea00-ed61-423a-9455-ea0152e64393</node><jids><value>admin@test-domain.com</value></jids></data>

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