Generated by TestNG with ReportNG at 10:35 PST on Friday 16 December 2022
root@ed1b7dd8a1b3 / 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.440s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2022-12-16 10:51:23 |

2022-12-16 10:51:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:23 | ------------------------------------

2022-12-16 10:51:23 | [Mutex] waiting for: [configured:node:node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c:node-3908859e-74fa-4b16-81de-e4ecc6c4c14d]

2022-12-16 10:51:23 | [Mutex] received everything.

2022-12-16 10:51:23 | [Mutex] isItemNotified: configured:node:node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c:node-3908859e-74fa-4b16-81de-e4ecc6c4c14d :: true

2022-12-16 10:51:24 | [Mutex] waiting for: [received:nodes:acfed4fd-ad2f-49b6-89dd-1a00cfca13f1:localhost]

2022-12-16 10:51:24 | [Mutex] received everything.

2022-12-16 10:51:24 | [Mutex] isItemNotified: received:node:acfed4fd-ad2f-49b6-89dd-1a00cfca13f1:localhost:node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c:Node 81be6536-b60c-4ad0-9cf5-9fe4c816e68c :: true

2022-12-16 10:51:24 | [Mutex] waiting for: [received:nodes:6527b60e-e104-4225-a330-fe7708d55c22:localhost]

2022-12-16 10:51:24 | [Mutex] waiting for: [received:nodes:6527b60e-e104-4225-a330-fe7708d55c22:localhost]

2022-12-16 10:51:24 | [Mutex] waiting for: [received:nodes:6527b60e-e104-4225-a330-fe7708d55c22:localhost]

2022-12-16 10:51:24 | [Mutex] waiting for: [received:nodes:6527b60e-e104-4225-a330-fe7708d55c22:localhost]

2022-12-16 10:51:24 | [Mutex] received everything.

2022-12-16 10:51:24 | [Mutex] isItemNotified: received:node:6527b60e-e104-4225-a330-fe7708d55c22:localhost:node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c:Node 81be6536-b60c-4ad0-9cf5-9fe4c816e68c :: false

createNodes 1.399s
2022-12-16 10:51:21 |

2022-12-16 10:51:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:21 | ------------------------------------

2022-12-16 10:51:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 81be6536-b60c-4ad0-9cf5-9fe4c816e68c</title></pubsub></data>

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

2022-12-16 10:51:22 | [Mutex] waiting for: [received:nodes:3d86bb56-392f-4c9e-b97c-ac8d50e310e8:localhost]

2022-12-16 10:51:22 | [Mutex] waiting for: [received:nodes:3d86bb56-392f-4c9e-b97c-ac8d50e310e8:localhost]

2022-12-16 10:51:22 | [Mutex] waiting for: [received:nodes:3d86bb56-392f-4c9e-b97c-ac8d50e310e8:localhost]

2022-12-16 10:51:22 | [Mutex] waiting for: [received:nodes:3d86bb56-392f-4c9e-b97c-ac8d50e310e8:localhost]

2022-12-16 10:51:22 | [Mutex] received everything.

2022-12-16 10:51:22 | [Mutex] isItemNotified: received:node:3d86bb56-392f-4c9e-b97c-ac8d50e310e8:localhost:node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c:Node 81be6536-b60c-4ad0-9cf5-9fe4c816e68c :: true

createSubnodes 1.027s
2022-12-16 10:51:22 |

2022-12-16 10:51:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:22 | ------------------------------------

2022-12-16 10:51:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3908859e-74fa-4b16-81de-e4ecc6c4c14d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3908859e-74fa-4b16-81de-e4ecc6c4c14d</title></pubsub></data>

2022-12-16 10:51:22 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-16 10:51:23 | [Mutex] waiting for: [received:nodes:c6c8e1cd-5505-41c6-b1e7-9c6b623f4654:localhost]

2022-12-16 10:51:23 | [Mutex] waiting for: [received:nodes:c6c8e1cd-5505-41c6-b1e7-9c6b623f4654:localhost]

2022-12-16 10:51:23 | [Mutex] waiting for: [received:nodes:c6c8e1cd-5505-41c6-b1e7-9c6b623f4654:localhost]

2022-12-16 10:51:23 | [Mutex] waiting for: [received:nodes:c6c8e1cd-5505-41c6-b1e7-9c6b623f4654:localhost]

2022-12-16 10:51:23 | [Mutex] waiting for: [received:nodes:c6c8e1cd-5505-41c6-b1e7-9c6b623f4654:localhost]

2022-12-16 10:51:23 | [Mutex] received everything.

2022-12-16 10:51:23 | [Mutex] isItemNotified: received:node:c6c8e1cd-5505-41c6-b1e7-9c6b623f4654:localhost:node-3908859e-74fa-4b16-81de-e4ecc6c4c14d:Node 3908859e-74fa-4b16-81de-e4ecc6c4c14d :: true

deleteNodes 1.060s
2022-12-16 10:51:29 |

2022-12-16 10:51:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:29 | ------------------------------------

2022-12-16 10:51:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3908859e-74fa-4b16-81de-e4ecc6c4c14d</node></data>

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

2022-12-16 10:51:30 | [Mutex] waiting for: [received:nodes:792e4d02-2d6f-4746-8aaa-3681211ef231:localhost]

2022-12-16 10:51:30 | [Mutex] waiting for: [received:nodes:792e4d02-2d6f-4746-8aaa-3681211ef231:localhost]

2022-12-16 10:51:30 | [Mutex] received everything.

2022-12-16 10:51:30 | [Mutex] isItemNotified: received:node:792e4d02-2d6f-4746-8aaa-3681211ef231:localhost:node-3908859e-74fa-4b16-81de-e4ecc6c4c14d:Node 3908859e-74fa-4b16-81de-e4ecc6c4c14d :: false

deleteSubnodes 1.137s
2022-12-16 10:51:28 |

2022-12-16 10:51:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:28 | ------------------------------------

2022-12-16 10:51:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c</node></data>

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

2022-12-16 10:51:29 | [Mutex] waiting for: [received:nodes:a1ae1e26-4bd7-43e3-8480-112b5af6b164:localhost]

2022-12-16 10:51:29 | [Mutex] waiting for: [received:nodes:a1ae1e26-4bd7-43e3-8480-112b5af6b164:localhost]

2022-12-16 10:51:29 | [Mutex] waiting for: [received:nodes:a1ae1e26-4bd7-43e3-8480-112b5af6b164:localhost]

2022-12-16 10:51:29 | [Mutex] waiting for: [received:nodes:a1ae1e26-4bd7-43e3-8480-112b5af6b164:localhost]

2022-12-16 10:51:29 | [Mutex] received everything.

2022-12-16 10:51:29 | [Mutex] isItemNotified: received:node:a1ae1e26-4bd7-43e3-8480-112b5af6b164:localhost:node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c:Node 81be6536-b60c-4ad0-9cf5-9fe4c816e68c :: false

2022-12-16 10:51:29 | [Mutex] waiting for: [received:nodes:7b000b63-4b97-44c0-ac1b-9e62ae85be05:localhost]

2022-12-16 10:51:29 | [Mutex] received everything.

2022-12-16 10:51:29 | [Mutex] isItemNotified: received:node:7b000b63-4b97-44c0-ac1b-9e62ae85be05:localhost:node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c:Node 81be6536-b60c-4ad0-9cf5-9fe4c816e68c :: false

publishItemsToNodes 0.209s
2022-12-16 10:51:26 |

2022-12-16 10:51:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:26 | ------------------------------------

2022-12-16 10:51:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c</node><item-id>item-18039d11-591e-4812-9de8-5b7918296323</item-id><entry><test>item-18039d11-591e-4812-9de8-5b7918296323</test></entry></data>

2022-12-16 10:51:26 | 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-18039d11-591e-4812-9de8-5b7918296323</value></item-id></result>

2022-12-16 10:51:26 | [Mutex] waiting for: [published:item:notifieditem-18039d11-591e-4812-9de8-5b7918296323:admin@test-domain.com]

2022-12-16 10:51:26 | [Mutex] received everything.

2022-12-16 10:51:26 | [Mutex] isItemNotified: published:item:notifieditem-18039d11-591e-4812-9de8-5b7918296323:admin@test-domain.com :: true

retractItemsFromNodes 0.255s
2022-12-16 10:51:26 |

2022-12-16 10:51:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:26 | ------------------------------------

2022-12-16 10:51:26 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c</node><item-id>item-18039d11-591e-4812-9de8-5b7918296323</item-id></data>

2022-12-16 10:51:26 | 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-18039d11-591e-4812-9de8-5b7918296323</value></item-id></result>

2022-12-16 10:51:26 | [Mutex] received everything.

2022-12-16 10:51:26 | [Mutex] isItemNotified: retracted:item:notifieditem-18039d11-591e-4812-9de8-5b7918296323:admin@test-domain.com :: true

retrieveItemsFromNodes 0.256s
2022-12-16 10:51:26 |

2022-12-16 10:51:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:26 | ------------------------------------

2022-12-16 10:51:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c</node><item-id>item-18039d11-591e-4812-9de8-5b7918296323</item-id></data>

2022-12-16 10:51:26 | 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-81be6536-b60c-4ad0-9cf5-9fe4c816e68c</value></node><item-id type="text-single" label="Item ID"><value>item-18039d11-591e-4812-9de8-5b7918296323</value></item-id><item type="text-multi" label="Item"><value><item id="item-18039d11-591e-4812-9de8-5b7918296323"><test>item-18039d11-591e-4812-9de8-5b7918296323</test></item></value></item></result>

2022-12-16 10:51:26 | [Mutex] notify: [retrieved:item:item-18039d11-591e-4812-9de8-5b7918296323:payload-matches:true:localhost]

2022-12-16 10:51:26 | [Mutex] received everything.

2022-12-16 10:51:26 | [Mutex] isItemNotified: retrieved:item:item-18039d11-591e-4812-9de8-5b7918296323:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-12-16 10:51:26 |

2022-12-16 10:51:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:26 | ------------------------------------

2022-12-16 10:51:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-16 10:51:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c</value><value>test</value><value>node-3908859e-74fa-4b16-81de-e4ecc6c4c14d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-12-16 10:51:26 |

2022-12-16 10:51:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:26 | ------------------------------------

2022-12-16 10:51:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c)</node-pattern></data>

2022-12-16 10:51:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.148s
2022-12-16 10:51:24 |

2022-12-16 10:51:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:24 | ------------------------------------

2022-12-16 10:51:24 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-16 10:51:25 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.155s
2022-12-16 10:51:26 |

2022-12-16 10:51:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-16 10:51:26 | ------------------------------------

2022-12-16 10:51:26 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-81be6536-b60c-4ad0-9cf5-9fe4c816e68c</node><jids><value>admin@test-domain.com</value></jids></data>

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