Generated by TestNG with ReportNG at 21:30 PST on Wednesday 09 February 2022
root@b2c2a8eba6e6 / 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.259s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2022-02-09 21:48:22 |

2022-02-09 21:48:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:22 | ------------------------------------

2022-02-09 21:48:22 | [Mutex] waiting for: [configured:node:node-85c00849-c948-4aed-a700-d463565b9d44:node-2daf2f42-8e68-424b-8a24-d9bad1d47e33]

2022-02-09 21:48:22 | [Mutex] received everything.

2022-02-09 21:48:22 | [Mutex] isItemNotified: configured:node:node-85c00849-c948-4aed-a700-d463565b9d44:node-2daf2f42-8e68-424b-8a24-d9bad1d47e33 :: true

2022-02-09 21:48:23 | [Mutex] waiting for: [received:nodes:5ef29d67-afa9-45f9-ac40-b798c13601f9:localhost]

2022-02-09 21:48:23 | [Mutex] received everything.

2022-02-09 21:48:23 | [Mutex] isItemNotified: received:node:5ef29d67-afa9-45f9-ac40-b798c13601f9:localhost:node-85c00849-c948-4aed-a700-d463565b9d44:Node 85c00849-c948-4aed-a700-d463565b9d44 :: true

2022-02-09 21:48:23 | [Mutex] waiting for: [received:nodes:83bb26e3-29ea-4cf4-a9d2-a43aeafebd72:localhost]

2022-02-09 21:48:23 | [Mutex] waiting for: [received:nodes:83bb26e3-29ea-4cf4-a9d2-a43aeafebd72:localhost]

2022-02-09 21:48:23 | [Mutex] received everything.

2022-02-09 21:48:23 | [Mutex] isItemNotified: received:node:83bb26e3-29ea-4cf4-a9d2-a43aeafebd72:localhost:node-85c00849-c948-4aed-a700-d463565b9d44:Node 85c00849-c948-4aed-a700-d463565b9d44 :: false

createNodes 1.615s
2022-02-09 21:48:19 |

2022-02-09 21:48:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:19 | ------------------------------------

2022-02-09 21:48:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-85c00849-c948-4aed-a700-d463565b9d44</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 85c00849-c948-4aed-a700-d463565b9d44</title></pubsub></data>

2022-02-09 21:48:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-09 21:48:21 | [Mutex] waiting for: [received:nodes:561e4822-c25d-44d0-bd43-16b8087b78b3:localhost]

2022-02-09 21:48:21 | [Mutex] waiting for: [received:nodes:561e4822-c25d-44d0-bd43-16b8087b78b3:localhost]

2022-02-09 21:48:21 | [Mutex] received everything.

2022-02-09 21:48:21 | [Mutex] isItemNotified: received:node:561e4822-c25d-44d0-bd43-16b8087b78b3:localhost:node-85c00849-c948-4aed-a700-d463565b9d44:Node 85c00849-c948-4aed-a700-d463565b9d44 :: true

createSubnodes 1.033s
2022-02-09 21:48:21 |

2022-02-09 21:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:21 | ------------------------------------

2022-02-09 21:48:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2daf2f42-8e68-424b-8a24-d9bad1d47e33</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2daf2f42-8e68-424b-8a24-d9bad1d47e33</title></pubsub></data>

2022-02-09 21:48:21 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-09 21:48:22 | [Mutex] waiting for: [received:nodes:79fe3315-8e14-4817-b327-50d73a98ae26:localhost]

2022-02-09 21:48:22 | [Mutex] received everything.

2022-02-09 21:48:22 | [Mutex] isItemNotified: received:node:79fe3315-8e14-4817-b327-50d73a98ae26:localhost:node-2daf2f42-8e68-424b-8a24-d9bad1d47e33:Node 2daf2f42-8e68-424b-8a24-d9bad1d47e33 :: true

deleteNodes 1.017s
2022-02-09 21:48:28 |

2022-02-09 21:48:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:28 | ------------------------------------

2022-02-09 21:48:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2daf2f42-8e68-424b-8a24-d9bad1d47e33</node></data>

2022-02-09 21:48:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-09 21:48:29 | [Mutex] waiting for: [received:nodes:d14c1f85-9b29-47f1-b4e2-e0b4972613de:localhost]

2022-02-09 21:48:29 | [Mutex] received everything.

2022-02-09 21:48:29 | [Mutex] isItemNotified: received:node:d14c1f85-9b29-47f1-b4e2-e0b4972613de:localhost:node-2daf2f42-8e68-424b-8a24-d9bad1d47e33:Node 2daf2f42-8e68-424b-8a24-d9bad1d47e33 :: false

deleteSubnodes 1.187s
2022-02-09 21:48:27 |

2022-02-09 21:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:27 | ------------------------------------

2022-02-09 21:48:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-85c00849-c948-4aed-a700-d463565b9d44</node></data>

2022-02-09 21:48:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-09 21:48:28 | [Mutex] waiting for: [received:nodes:28fa5ce2-4045-4e00-ace4-49cacd2d4e86:localhost]

2022-02-09 21:48:28 | [Mutex] received everything.

2022-02-09 21:48:28 | [Mutex] isItemNotified: received:node:28fa5ce2-4045-4e00-ace4-49cacd2d4e86:localhost:node-85c00849-c948-4aed-a700-d463565b9d44:Node 85c00849-c948-4aed-a700-d463565b9d44 :: false

2022-02-09 21:48:28 | [Mutex] waiting for: [received:nodes:76444d5e-e367-406a-829a-ff1f70690c39:localhost]

2022-02-09 21:48:28 | [Mutex] received everything.

2022-02-09 21:48:28 | [Mutex] isItemNotified: received:node:76444d5e-e367-406a-829a-ff1f70690c39:localhost:node-85c00849-c948-4aed-a700-d463565b9d44:Node 85c00849-c948-4aed-a700-d463565b9d44 :: false

publishItemsToNodes 0.214s
2022-02-09 21:48:24 |

2022-02-09 21:48:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:24 | ------------------------------------

2022-02-09 21:48:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-85c00849-c948-4aed-a700-d463565b9d44</node><item-id>item-232acff9-0dff-404e-ba35-91eea11e2129</item-id><entry><test>item-232acff9-0dff-404e-ba35-91eea11e2129</test></entry></data>

2022-02-09 21:48:25 | 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-232acff9-0dff-404e-ba35-91eea11e2129</value></item-id></result>

2022-02-09 21:48:25 | [Mutex] waiting for: [published:item:notifieditem-232acff9-0dff-404e-ba35-91eea11e2129:admin@test-domain.com]

2022-02-09 21:48:25 | [Mutex] received everything.

2022-02-09 21:48:25 | [Mutex] isItemNotified: published:item:notifieditem-232acff9-0dff-404e-ba35-91eea11e2129:admin@test-domain.com :: true

retractItemsFromNodes 0.268s
2022-02-09 21:48:25 |

2022-02-09 21:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:25 | ------------------------------------

2022-02-09 21:48:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-85c00849-c948-4aed-a700-d463565b9d44</node><item-id>item-232acff9-0dff-404e-ba35-91eea11e2129</item-id></data>

2022-02-09 21:48:25 | 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-232acff9-0dff-404e-ba35-91eea11e2129</value></item-id></result>

2022-02-09 21:48:25 | [Mutex] waiting for: [retracted:item:notifieditem-232acff9-0dff-404e-ba35-91eea11e2129:admin@test-domain.com]

2022-02-09 21:48:25 | [Mutex] received everything.

2022-02-09 21:48:25 | [Mutex] isItemNotified: retracted:item:notifieditem-232acff9-0dff-404e-ba35-91eea11e2129:admin@test-domain.com :: true

retrieveItemsFromNodes 0.276s
2022-02-09 21:48:25 |

2022-02-09 21:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:25 | ------------------------------------

2022-02-09 21:48:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-85c00849-c948-4aed-a700-d463565b9d44</node><item-id>item-232acff9-0dff-404e-ba35-91eea11e2129</item-id></data>

2022-02-09 21:48:25 | 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-85c00849-c948-4aed-a700-d463565b9d44</value></node><item-id label="Item ID" type="text-single"><value>item-232acff9-0dff-404e-ba35-91eea11e2129</value></item-id><item label="Item" type="text-multi"><value><item id="item-232acff9-0dff-404e-ba35-91eea11e2129"><test>item-232acff9-0dff-404e-ba35-91eea11e2129</test></item></value></item></result>

2022-02-09 21:48:25 | [Mutex] notify: [retrieved:item:item-232acff9-0dff-404e-ba35-91eea11e2129:payload-matches:true:localhost]

2022-02-09 21:48:25 | [Mutex] received everything.

2022-02-09 21:48:25 | [Mutex] isItemNotified: retrieved:item:item-232acff9-0dff-404e-ba35-91eea11e2129:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-09 21:48:25 |

2022-02-09 21:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:25 | ------------------------------------

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

2022-02-09 21:48:25 | 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-2daf2f42-8e68-424b-8a24-d9bad1d47e33</value><value>node-85c00849-c948-4aed-a700-d463565b9d44</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-09 21:48:25 |

2022-02-09 21:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:25 | ------------------------------------

2022-02-09 21:48:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-85c00849-c948-4aed-a700-d463565b9d44)</node-pattern></data>

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

subscribeNodes 1.132s
2022-02-09 21:48:23 |

2022-02-09 21:48:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:23 | ------------------------------------

2022-02-09 21:48:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-85c00849-c948-4aed-a700-d463565b9d44</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.346s
2022-02-09 21:48:25 |

2022-02-09 21:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:48:25 | ------------------------------------

2022-02-09 21:48:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-85c00849-c948-4aed-a700-d463565b9d44</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-09 21:48:26 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>