Generated by TestNG with ReportNG at 22:46 PDT on Friday 15 July 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.538s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.082s
2022-07-15 23:07:45 |

2022-07-15 23:07:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:45 | ------------------------------------

2022-07-15 23:07:45 | [Mutex] waiting for: [configured:node:node-108889d8-efed-4b33-b072-5fcaba71b332:node-44b6c234-61fc-43b2-966e-5c551dfee348]

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

2022-07-15 23:07:46 | [Mutex] isItemNotified: configured:node:node-108889d8-efed-4b33-b072-5fcaba71b332:node-44b6c234-61fc-43b2-966e-5c551dfee348 :: true

2022-07-15 23:07:47 | [Mutex] waiting for: [received:nodes:c1efe1fa-2b78-4458-9e35-5fb81b96259e:localhost]

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

2022-07-15 23:07:47 | [Mutex] isItemNotified: received:node:c1efe1fa-2b78-4458-9e35-5fb81b96259e:localhost:node-108889d8-efed-4b33-b072-5fcaba71b332:Node 108889d8-efed-4b33-b072-5fcaba71b332 :: true

2022-07-15 23:07:47 | [Mutex] waiting for: [received:nodes:eafc7c9d-6702-4667-95fa-90e64df592c1:localhost]

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

2022-07-15 23:07:47 | [Mutex] isItemNotified: received:node:eafc7c9d-6702-4667-95fa-90e64df592c1:localhost:node-108889d8-efed-4b33-b072-5fcaba71b332:Node 108889d8-efed-4b33-b072-5fcaba71b332 :: false

createNodes 1.404s
2022-07-15 23:07:43 |

2022-07-15 23:07:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:43 | ------------------------------------

2022-07-15 23:07:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-108889d8-efed-4b33-b072-5fcaba71b332</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 108889d8-efed-4b33-b072-5fcaba71b332</title></pubsub></data>

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

2022-07-15 23:07:44 | [Mutex] waiting for: [received:nodes:9d58050b-4ea2-4493-b793-4328fea5b06e:localhost]

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

2022-07-15 23:07:44 | [Mutex] isItemNotified: received:node:9d58050b-4ea2-4493-b793-4328fea5b06e:localhost:node-108889d8-efed-4b33-b072-5fcaba71b332:Node 108889d8-efed-4b33-b072-5fcaba71b332 :: true

createSubnodes 1.037s
2022-07-15 23:07:44 |

2022-07-15 23:07:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:44 | ------------------------------------

2022-07-15 23:07:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-44b6c234-61fc-43b2-966e-5c551dfee348</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 44b6c234-61fc-43b2-966e-5c551dfee348</title></pubsub></data>

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

2022-07-15 23:07:45 | [Mutex] waiting for: [received:nodes:dfa252fd-c623-41a7-b477-5d1caa6c513b:localhost]

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

2022-07-15 23:07:45 | [Mutex] isItemNotified: received:node:dfa252fd-c623-41a7-b477-5d1caa6c513b:localhost:node-44b6c234-61fc-43b2-966e-5c551dfee348:Node 44b6c234-61fc-43b2-966e-5c551dfee348 :: true

deleteNodes 1.019s
2022-07-15 23:07:51 |

2022-07-15 23:07:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:51 | ------------------------------------

2022-07-15 23:07:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-44b6c234-61fc-43b2-966e-5c551dfee348</node></data>

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

2022-07-15 23:07:52 | [Mutex] waiting for: [received:nodes:c58421d5-7591-4664-ab2c-d2d309666196:localhost]

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

2022-07-15 23:07:52 | [Mutex] isItemNotified: received:node:c58421d5-7591-4664-ab2c-d2d309666196:localhost:node-44b6c234-61fc-43b2-966e-5c551dfee348:Node 44b6c234-61fc-43b2-966e-5c551dfee348 :: false

deleteSubnodes 1.112s
2022-07-15 23:07:50 |

2022-07-15 23:07:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:50 | ------------------------------------

2022-07-15 23:07:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-108889d8-efed-4b33-b072-5fcaba71b332</node></data>

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

2022-07-15 23:07:51 | [Mutex] waiting for: [received:nodes:a3078952-9647-4e71-9001-95a560d0adf5:localhost]

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

2022-07-15 23:07:51 | [Mutex] isItemNotified: received:node:a3078952-9647-4e71-9001-95a560d0adf5:localhost:node-108889d8-efed-4b33-b072-5fcaba71b332:Node 108889d8-efed-4b33-b072-5fcaba71b332 :: false

2022-07-15 23:07:51 | [Mutex] waiting for: [received:nodes:f1fb7577-1cee-4528-af9b-ba3d86291865:localhost]

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

2022-07-15 23:07:51 | [Mutex] isItemNotified: received:node:f1fb7577-1cee-4528-af9b-ba3d86291865:localhost:node-108889d8-efed-4b33-b072-5fcaba71b332:Node 108889d8-efed-4b33-b072-5fcaba71b332 :: false

publishItemsToNodes 0.261s
2022-07-15 23:07:48 |

2022-07-15 23:07:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:48 | ------------------------------------

2022-07-15 23:07:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-108889d8-efed-4b33-b072-5fcaba71b332</node><item-id>item-2f9d4acc-2a22-4ec2-9188-90297de07d2e</item-id><entry><test>item-2f9d4acc-2a22-4ec2-9188-90297de07d2e</test></entry></data>

2022-07-15 23:07:48 | 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-2f9d4acc-2a22-4ec2-9188-90297de07d2e</value></item-id></result>

2022-07-15 23:07:48 | [Mutex] waiting for: [published:item:notifieditem-2f9d4acc-2a22-4ec2-9188-90297de07d2e:admin@test-domain.com]

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

2022-07-15 23:07:48 | [Mutex] isItemNotified: published:item:notifieditem-2f9d4acc-2a22-4ec2-9188-90297de07d2e:admin@test-domain.com :: true

retractItemsFromNodes 0.252s
2022-07-15 23:07:48 |

2022-07-15 23:07:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:48 | ------------------------------------

2022-07-15 23:07:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-108889d8-efed-4b33-b072-5fcaba71b332</node><item-id>item-2f9d4acc-2a22-4ec2-9188-90297de07d2e</item-id></data>

2022-07-15 23:07:49 | 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-2f9d4acc-2a22-4ec2-9188-90297de07d2e</value></item-id></result>

2022-07-15 23:07:49 | [Mutex] waiting for: [retracted:item:notifieditem-2f9d4acc-2a22-4ec2-9188-90297de07d2e:admin@test-domain.com]

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

2022-07-15 23:07:49 | [Mutex] isItemNotified: retracted:item:notifieditem-2f9d4acc-2a22-4ec2-9188-90297de07d2e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.291s
2022-07-15 23:07:48 |

2022-07-15 23:07:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:48 | ------------------------------------

2022-07-15 23:07:48 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-108889d8-efed-4b33-b072-5fcaba71b332</node><item-id>item-2f9d4acc-2a22-4ec2-9188-90297de07d2e</item-id></data>

2022-07-15 23:07:48 | 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-108889d8-efed-4b33-b072-5fcaba71b332</value></node><item-id type="text-single" label="Item ID"><value>item-2f9d4acc-2a22-4ec2-9188-90297de07d2e</value></item-id><item type="text-multi" label="Item"><value><item id="item-2f9d4acc-2a22-4ec2-9188-90297de07d2e"><test>item-2f9d4acc-2a22-4ec2-9188-90297de07d2e</test></item></value></item></result>

2022-07-15 23:07:48 | [Mutex] notify: [retrieved:item:item-2f9d4acc-2a22-4ec2-9188-90297de07d2e:payload-matches:true:localhost]

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

2022-07-15 23:07:48 | [Mutex] isItemNotified: retrieved:item:item-2f9d4acc-2a22-4ec2-9188-90297de07d2e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-15 23:07:48 |

2022-07-15 23:07:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:48 | ------------------------------------

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

2022-07-15 23:07:48 | 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-108889d8-efed-4b33-b072-5fcaba71b332</value><value>node-44b6c234-61fc-43b2-966e-5c551dfee348</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-15 23:07:48 |

2022-07-15 23:07:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:48 | ------------------------------------

2022-07-15 23:07:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-108889d8-efed-4b33-b072-5fcaba71b332)</node-pattern></data>

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

subscribeNodes 1.110s
2022-07-15 23:07:47 |

2022-07-15 23:07:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:47 | ------------------------------------

2022-07-15 23:07:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-108889d8-efed-4b33-b072-5fcaba71b332</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.219s
2022-07-15 23:07:49 |

2022-07-15 23:07:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 23:07:49 | ------------------------------------

2022-07-15 23:07:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-108889d8-efed-4b33-b072-5fcaba71b332</node><jids><value>admin@test-domain.com</value></jids></data>

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