Generated by TestNG with ReportNG at 21:46 PST on Wednesday 23 February 2022
root@f29ef40080b5 / 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.253s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.132s
2022-02-23 22:01:35 |

2022-02-23 22:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:35 | ------------------------------------

2022-02-23 22:01:35 | [Mutex] waiting for: [configured:node:node-cefd9571-a5b6-457e-8a5a-99da8dd791a3:node-481925cb-c464-438c-8010-da5cec649ac8]

2022-02-23 22:01:35 | [Mutex] received everything.

2022-02-23 22:01:35 | [Mutex] isItemNotified: configured:node:node-cefd9571-a5b6-457e-8a5a-99da8dd791a3:node-481925cb-c464-438c-8010-da5cec649ac8 :: true

2022-02-23 22:01:36 | [Mutex] waiting for: [received:nodes:b3c1cc4f-abf7-4e5e-8996-859dd66f0843:localhost]

2022-02-23 22:01:36 | [Mutex] received everything.

2022-02-23 22:01:36 | [Mutex] isItemNotified: received:node:b3c1cc4f-abf7-4e5e-8996-859dd66f0843:localhost:node-cefd9571-a5b6-457e-8a5a-99da8dd791a3:Node cefd9571-a5b6-457e-8a5a-99da8dd791a3 :: true

2022-02-23 22:01:36 | [Mutex] waiting for: [received:nodes:19dcd248-bc85-43b6-b691-3439d11705cb:localhost]

2022-02-23 22:01:36 | [Mutex] received everything.

2022-02-23 22:01:36 | [Mutex] isItemNotified: received:node:19dcd248-bc85-43b6-b691-3439d11705cb:localhost:node-cefd9571-a5b6-457e-8a5a-99da8dd791a3:Node cefd9571-a5b6-457e-8a5a-99da8dd791a3 :: false

createNodes 1.486s
2022-02-23 22:01:32 |

2022-02-23 22:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:32 | ------------------------------------

2022-02-23 22:01:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cefd9571-a5b6-457e-8a5a-99da8dd791a3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cefd9571-a5b6-457e-8a5a-99da8dd791a3</title></pubsub></data>

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

2022-02-23 22:01:34 | [Mutex] waiting for: [received:nodes:dd6cd58b-ab96-425e-b5bb-25b0e4bcd152:localhost]

2022-02-23 22:01:34 | [Mutex] waiting for: [received:nodes:dd6cd58b-ab96-425e-b5bb-25b0e4bcd152:localhost]

2022-02-23 22:01:34 | [Mutex] received everything.

2022-02-23 22:01:34 | [Mutex] isItemNotified: received:node:dd6cd58b-ab96-425e-b5bb-25b0e4bcd152:localhost:node-cefd9571-a5b6-457e-8a5a-99da8dd791a3:Node cefd9571-a5b6-457e-8a5a-99da8dd791a3 :: true

createSubnodes 1.030s
2022-02-23 22:01:34 |

2022-02-23 22:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:34 | ------------------------------------

2022-02-23 22:01:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-481925cb-c464-438c-8010-da5cec649ac8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 481925cb-c464-438c-8010-da5cec649ac8</title></pubsub></data>

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

2022-02-23 22:01:35 | [Mutex] waiting for: [received:nodes:5ea5f22c-6ebf-4604-8362-800aa122739f:localhost]

2022-02-23 22:01:35 | [Mutex] received everything.

2022-02-23 22:01:35 | [Mutex] isItemNotified: received:node:5ea5f22c-6ebf-4604-8362-800aa122739f:localhost:node-481925cb-c464-438c-8010-da5cec649ac8:Node 481925cb-c464-438c-8010-da5cec649ac8 :: true

deleteNodes 1.022s
2022-02-23 22:01:40 |

2022-02-23 22:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:40 | ------------------------------------

2022-02-23 22:01:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-481925cb-c464-438c-8010-da5cec649ac8</node></data>

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

2022-02-23 22:01:41 | [Mutex] waiting for: [received:nodes:770d6039-e1a7-443d-a2bd-b4b4602cfa44:localhost]

2022-02-23 22:01:41 | [Mutex] waiting for: [received:nodes:770d6039-e1a7-443d-a2bd-b4b4602cfa44:localhost]

2022-02-23 22:01:41 | [Mutex] received everything.

2022-02-23 22:01:41 | [Mutex] isItemNotified: received:node:770d6039-e1a7-443d-a2bd-b4b4602cfa44:localhost:node-481925cb-c464-438c-8010-da5cec649ac8:Node 481925cb-c464-438c-8010-da5cec649ac8 :: false

deleteSubnodes 1.129s
2022-02-23 22:01:39 |

2022-02-23 22:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:39 | ------------------------------------

2022-02-23 22:01:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cefd9571-a5b6-457e-8a5a-99da8dd791a3</node></data>

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

2022-02-23 22:01:40 | [Mutex] waiting for: [received:nodes:6509e755-277d-4cae-8dd3-38f99906f65b:localhost]

2022-02-23 22:01:40 | [Mutex] received everything.

2022-02-23 22:01:40 | [Mutex] isItemNotified: received:node:6509e755-277d-4cae-8dd3-38f99906f65b:localhost:node-cefd9571-a5b6-457e-8a5a-99da8dd791a3:Node cefd9571-a5b6-457e-8a5a-99da8dd791a3 :: false

2022-02-23 22:01:40 | [Mutex] waiting for: [received:nodes:ef4e9e43-65fd-44be-ba3a-85f301a69c15:localhost]

2022-02-23 22:01:40 | [Mutex] received everything.

2022-02-23 22:01:40 | [Mutex] isItemNotified: received:node:ef4e9e43-65fd-44be-ba3a-85f301a69c15:localhost:node-cefd9571-a5b6-457e-8a5a-99da8dd791a3:Node cefd9571-a5b6-457e-8a5a-99da8dd791a3 :: false

publishItemsToNodes 0.268s
2022-02-23 22:01:37 |

2022-02-23 22:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:37 | ------------------------------------

2022-02-23 22:01:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cefd9571-a5b6-457e-8a5a-99da8dd791a3</node><item-id>item-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c</item-id><entry><test>item-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c</test></entry></data>

2022-02-23 22:01:37 | 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-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c</value></item-id></result>

2022-02-23 22:01:37 | [Mutex] waiting for: [published:item:notifieditem-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c:admin@test-domain.com]

2022-02-23 22:01:37 | [Mutex] received everything.

2022-02-23 22:01:37 | [Mutex] isItemNotified: published:item:notifieditem-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-02-23 22:01:38 |

2022-02-23 22:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:38 | ------------------------------------

2022-02-23 22:01:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cefd9571-a5b6-457e-8a5a-99da8dd791a3</node><item-id>item-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c</item-id></data>

2022-02-23 22:01:38 | 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-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c</value></item-id></result>

2022-02-23 22:01:38 | [Mutex] received everything.

2022-02-23 22:01:38 | [Mutex] isItemNotified: retracted:item:notifieditem-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.261s
2022-02-23 22:01:37 |

2022-02-23 22:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:37 | ------------------------------------

2022-02-23 22:01:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cefd9571-a5b6-457e-8a5a-99da8dd791a3</node><item-id>item-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c</item-id></data>

2022-02-23 22:01:37 | 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-cefd9571-a5b6-457e-8a5a-99da8dd791a3</value></node><item-id label="Item ID" type="text-single"><value>item-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c</value></item-id><item label="Item" type="text-multi"><value><item id="item-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c"><test>item-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c</test></item></value></item></result>

2022-02-23 22:01:37 | [Mutex] notify: [retrieved:item:item-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c:payload-matches:true:localhost]

2022-02-23 22:01:37 | [Mutex] received everything.

2022-02-23 22:01:37 | [Mutex] isItemNotified: retrieved:item:item-0189d62b-ba30-4d1b-b5f9-83cf8a005a7c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-02-23 22:01:37 |

2022-02-23 22:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:37 | ------------------------------------

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

2022-02-23 22:01:37 | 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-cefd9571-a5b6-457e-8a5a-99da8dd791a3</value><value>node-481925cb-c464-438c-8010-da5cec649ac8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-23 22:01:37 |

2022-02-23 22:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:37 | ------------------------------------

2022-02-23 22:01:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cefd9571-a5b6-457e-8a5a-99da8dd791a3)</node-pattern></data>

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

subscribeNodes 1.151s
2022-02-23 22:01:36 |

2022-02-23 22:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:36 | ------------------------------------

2022-02-23 22:01:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cefd9571-a5b6-457e-8a5a-99da8dd791a3</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.303s
2022-02-23 22:01:38 |

2022-02-23 22:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:01:38 | ------------------------------------

2022-02-23 22:01:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cefd9571-a5b6-457e-8a5a-99da8dd791a3</node><jids><value>admin@test-domain.com</value></jids></data>

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