Generated by TestNG with ReportNG at 22:50 PDT on Wednesday 27 July 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.442s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.027s
2022-07-27 23:05:09 |

2022-07-27 23:05:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:09 | ------------------------------------

2022-07-27 23:05:09 | [Mutex] waiting for: [configured:node:node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e:node-76802c0a-65fb-4779-9252-bec1ef926250]

2022-07-27 23:05:09 | [Mutex] received everything.

2022-07-27 23:05:09 | [Mutex] isItemNotified: configured:node:node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e:node-76802c0a-65fb-4779-9252-bec1ef926250 :: true

2022-07-27 23:05:10 | [Mutex] waiting for: [received:nodes:7f71379e-d4cd-4ab8-88cc-b9cfae849fb1:localhost]

2022-07-27 23:05:10 | [Mutex] received everything.

2022-07-27 23:05:10 | [Mutex] isItemNotified: received:node:7f71379e-d4cd-4ab8-88cc-b9cfae849fb1:localhost:node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e:Node fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e :: true

2022-07-27 23:05:10 | [Mutex] waiting for: [received:nodes:75fcab00-0640-4b27-955e-b848285c8a0b:localhost]

2022-07-27 23:05:10 | [Mutex] waiting for: [received:nodes:75fcab00-0640-4b27-955e-b848285c8a0b:localhost]

2022-07-27 23:05:10 | [Mutex] received everything.

2022-07-27 23:05:10 | [Mutex] isItemNotified: received:node:75fcab00-0640-4b27-955e-b848285c8a0b:localhost:node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e:Node fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e :: false

createNodes 1.410s
2022-07-27 23:05:06 |

2022-07-27 23:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:06 | ------------------------------------

2022-07-27 23:05:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e</title></pubsub></data>

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

2022-07-27 23:05:08 | [Mutex] waiting for: [received:nodes:54513806-bf5e-48fe-9ff3-4a4ac7b7e6ef:localhost]

2022-07-27 23:05:08 | [Mutex] waiting for: [received:nodes:54513806-bf5e-48fe-9ff3-4a4ac7b7e6ef:localhost]

2022-07-27 23:05:08 | [Mutex] received everything.

2022-07-27 23:05:08 | [Mutex] isItemNotified: received:node:54513806-bf5e-48fe-9ff3-4a4ac7b7e6ef:localhost:node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e:Node fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e :: true

createSubnodes 1.023s
2022-07-27 23:05:08 |

2022-07-27 23:05:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:08 | ------------------------------------

2022-07-27 23:05:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-76802c0a-65fb-4779-9252-bec1ef926250</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 76802c0a-65fb-4779-9252-bec1ef926250</title></pubsub></data>

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

2022-07-27 23:05:09 | [Mutex] waiting for: [received:nodes:1dfa36d8-408c-4648-ac36-859d2b9766d4:localhost]

2022-07-27 23:05:09 | [Mutex] received everything.

2022-07-27 23:05:09 | [Mutex] isItemNotified: received:node:1dfa36d8-408c-4648-ac36-859d2b9766d4:localhost:node-76802c0a-65fb-4779-9252-bec1ef926250:Node 76802c0a-65fb-4779-9252-bec1ef926250 :: true

deleteNodes 1.015s
2022-07-27 23:05:14 |

2022-07-27 23:05:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:14 | ------------------------------------

2022-07-27 23:05:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-76802c0a-65fb-4779-9252-bec1ef926250</node></data>

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

2022-07-27 23:05:15 | [Mutex] waiting for: [received:nodes:cdf4f200-5da3-4374-81b3-eb17c5ba1a03:localhost]

2022-07-27 23:05:15 | [Mutex] received everything.

2022-07-27 23:05:15 | [Mutex] isItemNotified: received:node:cdf4f200-5da3-4374-81b3-eb17c5ba1a03:localhost:node-76802c0a-65fb-4779-9252-bec1ef926250:Node 76802c0a-65fb-4779-9252-bec1ef926250 :: false

deleteSubnodes 1.133s
2022-07-27 23:05:13 |

2022-07-27 23:05:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:13 | ------------------------------------

2022-07-27 23:05:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e</node></data>

2022-07-27 23:05:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-27 23:05:14 | [Mutex] waiting for: [received:nodes:de4789da-a003-4482-b678-e6d31f2a4645:localhost]

2022-07-27 23:05:14 | [Mutex] waiting for: [received:nodes:de4789da-a003-4482-b678-e6d31f2a4645:localhost]

2022-07-27 23:05:14 | [Mutex] waiting for: [received:nodes:de4789da-a003-4482-b678-e6d31f2a4645:localhost]

2022-07-27 23:05:14 | [Mutex] waiting for: [received:nodes:de4789da-a003-4482-b678-e6d31f2a4645:localhost]

2022-07-27 23:05:14 | [Mutex] received everything.

2022-07-27 23:05:14 | [Mutex] isItemNotified: received:node:de4789da-a003-4482-b678-e6d31f2a4645:localhost:node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e:Node fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e :: false

2022-07-27 23:05:14 | [Mutex] waiting for: [received:nodes:60264423-e939-4b21-8b60-8cbef05addb4:localhost]

2022-07-27 23:05:14 | [Mutex] received everything.

2022-07-27 23:05:14 | [Mutex] isItemNotified: received:node:60264423-e939-4b21-8b60-8cbef05addb4:localhost:node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e:Node fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e :: false

publishItemsToNodes 0.208s
2022-07-27 23:05:11 |

2022-07-27 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:11 | ------------------------------------

2022-07-27 23:05:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e</node><item-id>item-6ca9cfee-2c52-404f-8022-27d86237cca3</item-id><entry><test>item-6ca9cfee-2c52-404f-8022-27d86237cca3</test></entry></data>

2022-07-27 23:05: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-6ca9cfee-2c52-404f-8022-27d86237cca3</value></item-id></result>

2022-07-27 23:05:11 | [Mutex] received everything.

2022-07-27 23:05:11 | [Mutex] isItemNotified: published:item:notifieditem-6ca9cfee-2c52-404f-8022-27d86237cca3:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2022-07-27 23:05:11 |

2022-07-27 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:11 | ------------------------------------

2022-07-27 23:05:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e</node><item-id>item-6ca9cfee-2c52-404f-8022-27d86237cca3</item-id></data>

2022-07-27 23:05:12 | 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-6ca9cfee-2c52-404f-8022-27d86237cca3</value></item-id></result>

2022-07-27 23:05:12 | [Mutex] received everything.

2022-07-27 23:05:12 | [Mutex] isItemNotified: retracted:item:notifieditem-6ca9cfee-2c52-404f-8022-27d86237cca3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.291s
2022-07-27 23:05:11 |

2022-07-27 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:11 | ------------------------------------

2022-07-27 23:05:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e</node><item-id>item-6ca9cfee-2c52-404f-8022-27d86237cca3</item-id></data>

2022-07-27 23:05: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-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e</value></node><item-id type="text-single" label="Item ID"><value>item-6ca9cfee-2c52-404f-8022-27d86237cca3</value></item-id><item type="text-multi" label="Item"><value><item id="item-6ca9cfee-2c52-404f-8022-27d86237cca3"><test>item-6ca9cfee-2c52-404f-8022-27d86237cca3</test></item></value></item></result>

2022-07-27 23:05:11 | [Mutex] notify: [retrieved:item:item-6ca9cfee-2c52-404f-8022-27d86237cca3:payload-matches:true:localhost]

2022-07-27 23:05:11 | [Mutex] received everything.

2022-07-27 23:05:11 | [Mutex] isItemNotified: retrieved:item:item-6ca9cfee-2c52-404f-8022-27d86237cca3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-27 23:05:11 |

2022-07-27 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:11 | ------------------------------------

2022-07-27 23:05:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-27 23:05:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-76802c0a-65fb-4779-9252-bec1ef926250</value><value>test</value><value>node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-27 23:05:11 |

2022-07-27 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:11 | ------------------------------------

2022-07-27 23:05: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-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e)</node-pattern></data>

2022-07-27 23:05:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.101s
2022-07-27 23:05:10 |

2022-07-27 23:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:10 | ------------------------------------

2022-07-27 23:05:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-27 23:05: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.179s
2022-07-27 23:05:12 |

2022-07-27 23:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:05:12 | ------------------------------------

2022-07-27 23:05:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fd6fa46b-80d3-4f1d-8dc0-d515cdbeee2e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-27 23:05:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>