Generated by TestNG with ReportNG at 22:43 PDT on Thursday 17 June 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.434s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.125s
2021-06-17 22:58:24 |

2021-06-17 22:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:24 | ------------------------------------

2021-06-17 22:58:24 | [Mutex] waiting for: [configured:node:node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b:node-4b76c683-da1b-4393-ad93-96a985e109dd]

2021-06-17 22:58:24 | [Mutex] received everything.

2021-06-17 22:58:24 | [Mutex] isItemNotified: configured:node:node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b:node-4b76c683-da1b-4393-ad93-96a985e109dd :: true

2021-06-17 22:58:25 | [Mutex] waiting for: [received:nodes:313aa76c-15b0-48e9-995f-f58d1eca259f:localhost]

2021-06-17 22:58:25 | [Mutex] received everything.

2021-06-17 22:58:25 | [Mutex] isItemNotified: received:node:313aa76c-15b0-48e9-995f-f58d1eca259f:localhost:node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b:Node c1b3c71b-3134-4bb8-b566-7e47fa5c835b :: true

2021-06-17 22:58:25 | [Mutex] waiting for: [received:nodes:89617624-b518-4d05-8ae9-97afcf2807c9:localhost]

2021-06-17 22:58:25 | [Mutex] received everything.

2021-06-17 22:58:25 | [Mutex] isItemNotified: received:node:89617624-b518-4d05-8ae9-97afcf2807c9:localhost:node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b:Node c1b3c71b-3134-4bb8-b566-7e47fa5c835b :: false

createNodes 1.483s
2021-06-17 22:58:22 |

2021-06-17 22:58:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:22 | ------------------------------------

2021-06-17 22:58:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c1b3c71b-3134-4bb8-b566-7e47fa5c835b</title></pubsub></data>

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

2021-06-17 22:58:23 | [Mutex] waiting for: [received:nodes:fb0683e9-5879-404b-9c8c-4455f1f84388:localhost]

2021-06-17 22:58:23 | [Mutex] waiting for: [received:nodes:fb0683e9-5879-404b-9c8c-4455f1f84388:localhost]

2021-06-17 22:58:23 | [Mutex] received everything.

2021-06-17 22:58:23 | [Mutex] isItemNotified: received:node:fb0683e9-5879-404b-9c8c-4455f1f84388:localhost:node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b:Node c1b3c71b-3134-4bb8-b566-7e47fa5c835b :: true

createSubnodes 1.029s
2021-06-17 22:58:23 |

2021-06-17 22:58:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:23 | ------------------------------------

2021-06-17 22:58:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4b76c683-da1b-4393-ad93-96a985e109dd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4b76c683-da1b-4393-ad93-96a985e109dd</title></pubsub></data>

2021-06-17 22:58:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-17 22:58:24 | [Mutex] waiting for: [received:nodes:a6f72b73-0d96-4352-846b-8e6aba93a509:localhost]

2021-06-17 22:58:24 | [Mutex] received everything.

2021-06-17 22:58:24 | [Mutex] isItemNotified: received:node:a6f72b73-0d96-4352-846b-8e6aba93a509:localhost:node-4b76c683-da1b-4393-ad93-96a985e109dd:Node 4b76c683-da1b-4393-ad93-96a985e109dd :: true

deleteNodes 1.021s
2021-06-17 22:58:30 |

2021-06-17 22:58:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:30 | ------------------------------------

2021-06-17 22:58:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4b76c683-da1b-4393-ad93-96a985e109dd</node></data>

2021-06-17 22:58:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-17 22:58:31 | [Mutex] waiting for: [received:nodes:6d53838e-76d3-4cf5-92bc-abf5d010cdf0:localhost]

2021-06-17 22:58:31 | [Mutex] received everything.

2021-06-17 22:58:31 | [Mutex] isItemNotified: received:node:6d53838e-76d3-4cf5-92bc-abf5d010cdf0:localhost:node-4b76c683-da1b-4393-ad93-96a985e109dd:Node 4b76c683-da1b-4393-ad93-96a985e109dd :: false

deleteSubnodes 1.150s
2021-06-17 22:58:29 |

2021-06-17 22:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:29 | ------------------------------------

2021-06-17 22:58:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b</node></data>

2021-06-17 22:58:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-17 22:58:30 | [Mutex] waiting for: [received:nodes:e8fb4f6d-0dc3-4d41-aa80-20c4056f1c2c:localhost]

2021-06-17 22:58:30 | [Mutex] received everything.

2021-06-17 22:58:30 | [Mutex] isItemNotified: received:node:e8fb4f6d-0dc3-4d41-aa80-20c4056f1c2c:localhost:node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b:Node c1b3c71b-3134-4bb8-b566-7e47fa5c835b :: false

2021-06-17 22:58:30 | [Mutex] waiting for: [received:nodes:a4716485-2e3f-4bde-a2fc-540218bad527:localhost]

2021-06-17 22:58:30 | [Mutex] received everything.

2021-06-17 22:58:30 | [Mutex] isItemNotified: received:node:a4716485-2e3f-4bde-a2fc-540218bad527:localhost:node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b:Node c1b3c71b-3134-4bb8-b566-7e47fa5c835b :: false

publishItemsToNodes 0.232s
2021-06-17 22:58:27 |

2021-06-17 22:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:27 | ------------------------------------

2021-06-17 22:58:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b</node><item-id>item-8e63e272-58ee-4919-96ea-9b06f2912bb8</item-id><entry><test>item-8e63e272-58ee-4919-96ea-9b06f2912bb8</test></entry></data>

2021-06-17 22:58:27 | 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-8e63e272-58ee-4919-96ea-9b06f2912bb8</value></item-id></result>

2021-06-17 22:58:27 | [Mutex] received everything.

2021-06-17 22:58:27 | [Mutex] isItemNotified: published:item:notifieditem-8e63e272-58ee-4919-96ea-9b06f2912bb8:admin@test-domain.com :: true

retractItemsFromNodes 0.223s
2021-06-17 22:58:27 |

2021-06-17 22:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:27 | ------------------------------------

2021-06-17 22:58:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b</node><item-id>item-8e63e272-58ee-4919-96ea-9b06f2912bb8</item-id></data>

2021-06-17 22:58:27 | 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-8e63e272-58ee-4919-96ea-9b06f2912bb8</value></item-id></result>

2021-06-17 22:58:27 | [Mutex] received everything.

2021-06-17 22:58:27 | [Mutex] isItemNotified: retracted:item:notifieditem-8e63e272-58ee-4919-96ea-9b06f2912bb8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.347s
2021-06-17 22:58:27 |

2021-06-17 22:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:27 | ------------------------------------

2021-06-17 22:58:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b</node><item-id>item-8e63e272-58ee-4919-96ea-9b06f2912bb8</item-id></data>

2021-06-17 22:58:27 | 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-c1b3c71b-3134-4bb8-b566-7e47fa5c835b</value></node><item-id label="Item ID" type="text-single"><value>item-8e63e272-58ee-4919-96ea-9b06f2912bb8</value></item-id><item label="Item" type="text-multi"><value><item id="item-8e63e272-58ee-4919-96ea-9b06f2912bb8"><test>item-8e63e272-58ee-4919-96ea-9b06f2912bb8</test></item></value></item></result>

2021-06-17 22:58:27 | [Mutex] notify: [retrieved:item:item-8e63e272-58ee-4919-96ea-9b06f2912bb8:payload-matches:true:localhost]

2021-06-17 22:58:27 | [Mutex] received everything.

2021-06-17 22:58:27 | [Mutex] isItemNotified: retrieved:item:item-8e63e272-58ee-4919-96ea-9b06f2912bb8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-06-17 22:58:27 |

2021-06-17 22:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:27 | ------------------------------------

2021-06-17 22:58:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-17 22:58:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-4b76c683-da1b-4393-ad93-96a985e109dd</value><value>node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-06-17 22:58:27 |

2021-06-17 22:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:27 | ------------------------------------

2021-06-17 22:58:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b)</node-pattern></data>

2021-06-17 22:58:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.257s
2021-06-17 22:58:25 |

2021-06-17 22:58:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:25 | ------------------------------------

2021-06-17 22:58:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-17 22:58:26 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.431s
2021-06-17 22:58:27 |

2021-06-17 22:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:58:27 | ------------------------------------

2021-06-17 22:58:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c1b3c71b-3134-4bb8-b566-7e47fa5c835b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-17 22:58:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>