Generated by TestNG with ReportNG at 21:46 PST on Thursday 10 February 2022
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.679s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-02-10 22:03:11 |

2022-02-10 22:03:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:11 | ------------------------------------

2022-02-10 22:03:11 | [Mutex] waiting for: [configured:node:node-95af26ec-d26b-474e-91fe-68e66430547c:node-4794c6a8-fd17-41b0-848e-1cffddfdbb55]

2022-02-10 22:03:11 | [Mutex] received everything.

2022-02-10 22:03:11 | [Mutex] isItemNotified: configured:node:node-95af26ec-d26b-474e-91fe-68e66430547c:node-4794c6a8-fd17-41b0-848e-1cffddfdbb55 :: true

2022-02-10 22:03:12 | [Mutex] waiting for: [received:nodes:f23c508f-6a50-45e2-a473-d97e3a78b8aa:localhost]

2022-02-10 22:03:12 | [Mutex] waiting for: [received:nodes:f23c508f-6a50-45e2-a473-d97e3a78b8aa:localhost]

2022-02-10 22:03:12 | [Mutex] received everything.

2022-02-10 22:03:12 | [Mutex] isItemNotified: received:node:f23c508f-6a50-45e2-a473-d97e3a78b8aa:localhost:node-95af26ec-d26b-474e-91fe-68e66430547c:Node 95af26ec-d26b-474e-91fe-68e66430547c :: true

2022-02-10 22:03:12 | [Mutex] waiting for: [received:nodes:ec0ba786-e3af-41f5-85d8-957a8eca7143:localhost]

2022-02-10 22:03:12 | [Mutex] received everything.

2022-02-10 22:03:12 | [Mutex] isItemNotified: received:node:ec0ba786-e3af-41f5-85d8-957a8eca7143:localhost:node-95af26ec-d26b-474e-91fe-68e66430547c:Node 95af26ec-d26b-474e-91fe-68e66430547c :: false

createNodes 1.548s
2022-02-10 22:03:08 |

2022-02-10 22:03:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:08 | ------------------------------------

2022-02-10 22:03:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-95af26ec-d26b-474e-91fe-68e66430547c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 95af26ec-d26b-474e-91fe-68e66430547c</title></pubsub></data>

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

2022-02-10 22:03:10 | [Mutex] waiting for: [received:nodes:9e3b963e-d4bd-45ee-81e8-eb8e48066dc3:localhost]

2022-02-10 22:03:10 | [Mutex] received everything.

2022-02-10 22:03:10 | [Mutex] isItemNotified: received:node:9e3b963e-d4bd-45ee-81e8-eb8e48066dc3:localhost:node-95af26ec-d26b-474e-91fe-68e66430547c:Node 95af26ec-d26b-474e-91fe-68e66430547c :: true

createSubnodes 1.035s
2022-02-10 22:03:10 |

2022-02-10 22:03:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:10 | ------------------------------------

2022-02-10 22:03:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4794c6a8-fd17-41b0-848e-1cffddfdbb55</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4794c6a8-fd17-41b0-848e-1cffddfdbb55</title></pubsub></data>

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

2022-02-10 22:03:11 | [Mutex] waiting for: [received:nodes:d35d0616-fa7f-4d78-822d-2309d05cdaee:localhost]

2022-02-10 22:03:11 | [Mutex] received everything.

2022-02-10 22:03:11 | [Mutex] isItemNotified: received:node:d35d0616-fa7f-4d78-822d-2309d05cdaee:localhost:node-4794c6a8-fd17-41b0-848e-1cffddfdbb55:Node 4794c6a8-fd17-41b0-848e-1cffddfdbb55 :: true

deleteNodes 1.025s
2022-02-10 22:03:17 |

2022-02-10 22:03:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:17 | ------------------------------------

2022-02-10 22:03:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4794c6a8-fd17-41b0-848e-1cffddfdbb55</node></data>

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

2022-02-10 22:03:18 | [Mutex] waiting for: [received:nodes:d483fc41-09ea-4e93-a8ba-7cdbff7437b7:localhost]

2022-02-10 22:03:18 | [Mutex] received everything.

2022-02-10 22:03:18 | [Mutex] isItemNotified: received:node:d483fc41-09ea-4e93-a8ba-7cdbff7437b7:localhost:node-4794c6a8-fd17-41b0-848e-1cffddfdbb55:Node 4794c6a8-fd17-41b0-848e-1cffddfdbb55 :: false

deleteSubnodes 1.176s
2022-02-10 22:03:15 |

2022-02-10 22:03:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:15 | ------------------------------------

2022-02-10 22:03:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-95af26ec-d26b-474e-91fe-68e66430547c</node></data>

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

2022-02-10 22:03:17 | [Mutex] waiting for: [received:nodes:1f3675a8-b5e1-4c45-8bd8-980972dcf32d:localhost]

2022-02-10 22:03:17 | [Mutex] waiting for: [received:nodes:1f3675a8-b5e1-4c45-8bd8-980972dcf32d:localhost]

2022-02-10 22:03:17 | [Mutex] received everything.

2022-02-10 22:03:17 | [Mutex] isItemNotified: received:node:1f3675a8-b5e1-4c45-8bd8-980972dcf32d:localhost:node-95af26ec-d26b-474e-91fe-68e66430547c:Node 95af26ec-d26b-474e-91fe-68e66430547c :: false

2022-02-10 22:03:17 | [Mutex] waiting for: [received:nodes:a06ca5e1-e72f-48bb-b956-e02bf26d4d70:localhost]

2022-02-10 22:03:17 | [Mutex] received everything.

2022-02-10 22:03:17 | [Mutex] isItemNotified: received:node:a06ca5e1-e72f-48bb-b956-e02bf26d4d70:localhost:node-95af26ec-d26b-474e-91fe-68e66430547c:Node 95af26ec-d26b-474e-91fe-68e66430547c :: false

publishItemsToNodes 0.413s
2022-02-10 22:03:13 |

2022-02-10 22:03:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:13 | ------------------------------------

2022-02-10 22:03:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-95af26ec-d26b-474e-91fe-68e66430547c</node><item-id>item-96f080a1-72df-47ee-bbf4-3dd6201e11b4</item-id><entry><test>item-96f080a1-72df-47ee-bbf4-3dd6201e11b4</test></entry></data>

2022-02-10 22:03:13 | 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-96f080a1-72df-47ee-bbf4-3dd6201e11b4</value></item-id></result>

2022-02-10 22:03:13 | [Mutex] waiting for: [published:item:notifieditem-96f080a1-72df-47ee-bbf4-3dd6201e11b4:admin@test-domain.com]

2022-02-10 22:03:13 | [Mutex] received everything.

2022-02-10 22:03:13 | [Mutex] isItemNotified: published:item:notifieditem-96f080a1-72df-47ee-bbf4-3dd6201e11b4:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-02-10 22:03:14 |

2022-02-10 22:03:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:14 | ------------------------------------

2022-02-10 22:03:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-95af26ec-d26b-474e-91fe-68e66430547c</node><item-id>item-96f080a1-72df-47ee-bbf4-3dd6201e11b4</item-id></data>

2022-02-10 22:03:14 | 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-96f080a1-72df-47ee-bbf4-3dd6201e11b4</value></item-id></result>

2022-02-10 22:03:14 | [Mutex] received everything.

2022-02-10 22:03:14 | [Mutex] isItemNotified: retracted:item:notifieditem-96f080a1-72df-47ee-bbf4-3dd6201e11b4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.491s
2022-02-10 22:03:13 |

2022-02-10 22:03:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:13 | ------------------------------------

2022-02-10 22:03:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-95af26ec-d26b-474e-91fe-68e66430547c</node><item-id>item-96f080a1-72df-47ee-bbf4-3dd6201e11b4</item-id></data>

2022-02-10 22:03:14 | 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-95af26ec-d26b-474e-91fe-68e66430547c</value></node><item-id label="Item ID" type="text-single"><value>item-96f080a1-72df-47ee-bbf4-3dd6201e11b4</value></item-id><item label="Item" type="text-multi"><value><item id="item-96f080a1-72df-47ee-bbf4-3dd6201e11b4"><test>item-96f080a1-72df-47ee-bbf4-3dd6201e11b4</test></item></value></item></result>

2022-02-10 22:03:14 | [Mutex] notify: [retrieved:item:item-96f080a1-72df-47ee-bbf4-3dd6201e11b4:payload-matches:true:localhost]

2022-02-10 22:03:14 | [Mutex] received everything.

2022-02-10 22:03:14 | [Mutex] isItemNotified: retrieved:item:item-96f080a1-72df-47ee-bbf4-3dd6201e11b4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-10 22:03:14 |

2022-02-10 22:03:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:14 | ------------------------------------

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

2022-02-10 22:03:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-4794c6a8-fd17-41b0-848e-1cffddfdbb55</value><value>test</value><value>node-95af26ec-d26b-474e-91fe-68e66430547c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-10 22:03:14 |

2022-02-10 22:03:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:14 | ------------------------------------

2022-02-10 22:03:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-95af26ec-d26b-474e-91fe-68e66430547c)</node-pattern></data>

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

subscribeNodes 1.199s
2022-02-10 22:03:12 |

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

2022-02-10 22:03:12 | ------------------------------------

2022-02-10 22:03:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-95af26ec-d26b-474e-91fe-68e66430547c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.247s
2022-02-10 22:03:14 |

2022-02-10 22:03:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-10 22:03:14 | ------------------------------------

2022-02-10 22:03:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-95af26ec-d26b-474e-91fe-68e66430547c</node><jids><value>admin@test-domain.com</value></jids></data>

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