Generated by TestNG with ReportNG at 21:18 PST on Tuesday 15 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.070s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-02-15 21:33:16 |

2022-02-15 21:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 21:33:16 | ------------------------------------

2022-02-15 21:33:16 | [Mutex] waiting for: [configured:node:node-935c585c-5044-4449-b9f2-ffd5b49c0274:node-933731c8-e231-4011-8859-fbc4d0e081f6]

2022-02-15 21:33:16 | [Mutex] received everything.

2022-02-15 21:33:16 | [Mutex] isItemNotified: configured:node:node-935c585c-5044-4449-b9f2-ffd5b49c0274:node-933731c8-e231-4011-8859-fbc4d0e081f6 :: true

2022-02-15 21:33:17 | [Mutex] waiting for: [received:nodes:61db6566-58ce-4731-be28-1d0183b333c7:localhost]

2022-02-15 21:33:17 | [Mutex] received everything.

2022-02-15 21:33:17 | [Mutex] isItemNotified: received:node:61db6566-58ce-4731-be28-1d0183b333c7:localhost:node-935c585c-5044-4449-b9f2-ffd5b49c0274:Node 935c585c-5044-4449-b9f2-ffd5b49c0274 :: true

2022-02-15 21:33:17 | [Mutex] waiting for: [received:nodes:54353f80-adb0-4bc3-b1a6-06f3e5ba3e4e:localhost]

2022-02-15 21:33:17 | [Mutex] received everything.

2022-02-15 21:33:17 | [Mutex] isItemNotified: received:node:54353f80-adb0-4bc3-b1a6-06f3e5ba3e4e:localhost:node-935c585c-5044-4449-b9f2-ffd5b49c0274:Node 935c585c-5044-4449-b9f2-ffd5b49c0274 :: false

createNodes 1.460s
2022-02-15 21:33:13 |

2022-02-15 21:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 21:33:13 | ------------------------------------

2022-02-15 21:33:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-935c585c-5044-4449-b9f2-ffd5b49c0274</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 935c585c-5044-4449-b9f2-ffd5b49c0274</title></pubsub></data>

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

2022-02-15 21:33:15 | [Mutex] waiting for: [received:nodes:d289e399-c742-487e-932f-366e7b6352ad:localhost]

2022-02-15 21:33:15 | [Mutex] received everything.

2022-02-15 21:33:15 | [Mutex] isItemNotified: received:node:d289e399-c742-487e-932f-366e7b6352ad:localhost:node-935c585c-5044-4449-b9f2-ffd5b49c0274:Node 935c585c-5044-4449-b9f2-ffd5b49c0274 :: true

createSubnodes 1.025s
2022-02-15 21:33:15 |

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

2022-02-15 21:33:15 | ------------------------------------

2022-02-15 21:33:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-933731c8-e231-4011-8859-fbc4d0e081f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 933731c8-e231-4011-8859-fbc4d0e081f6</title></pubsub></data>

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

2022-02-15 21:33:16 | [Mutex] waiting for: [received:nodes:4d861550-b991-4f9b-a84c-09faa44852e8:localhost]

2022-02-15 21:33:16 | [Mutex] received everything.

2022-02-15 21:33:16 | [Mutex] isItemNotified: received:node:4d861550-b991-4f9b-a84c-09faa44852e8:localhost:node-933731c8-e231-4011-8859-fbc4d0e081f6:Node 933731c8-e231-4011-8859-fbc4d0e081f6 :: true

deleteNodes 1.019s
2022-02-15 21:33:21 |

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

2022-02-15 21:33:21 | ------------------------------------

2022-02-15 21:33:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-933731c8-e231-4011-8859-fbc4d0e081f6</node></data>

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

2022-02-15 21:33:22 | [Mutex] waiting for: [received:nodes:7219d9fc-3237-4c18-b18d-41ecbacc4357:localhost]

2022-02-15 21:33:22 | [Mutex] received everything.

2022-02-15 21:33:22 | [Mutex] isItemNotified: received:node:7219d9fc-3237-4c18-b18d-41ecbacc4357:localhost:node-933731c8-e231-4011-8859-fbc4d0e081f6:Node 933731c8-e231-4011-8859-fbc4d0e081f6 :: false

deleteSubnodes 1.159s
2022-02-15 21:33:20 |

2022-02-15 21:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 21:33:20 | ------------------------------------

2022-02-15 21:33:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-935c585c-5044-4449-b9f2-ffd5b49c0274</node></data>

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

2022-02-15 21:33:21 | [Mutex] waiting for: [received:nodes:08296416-29a4-49c7-a880-91f01a4fc1b4:localhost]

2022-02-15 21:33:21 | [Mutex] received everything.

2022-02-15 21:33:21 | [Mutex] isItemNotified: received:node:08296416-29a4-49c7-a880-91f01a4fc1b4:localhost:node-935c585c-5044-4449-b9f2-ffd5b49c0274:Node 935c585c-5044-4449-b9f2-ffd5b49c0274 :: false

2022-02-15 21:33:21 | [Mutex] waiting for: [received:nodes:516c8836-247c-4dbe-930b-6b6c4280879c:localhost]

2022-02-15 21:33:21 | [Mutex] received everything.

2022-02-15 21:33:21 | [Mutex] isItemNotified: received:node:516c8836-247c-4dbe-930b-6b6c4280879c:localhost:node-935c585c-5044-4449-b9f2-ffd5b49c0274:Node 935c585c-5044-4449-b9f2-ffd5b49c0274 :: false

publishItemsToNodes 0.274s
2022-02-15 21:33:18 |

2022-02-15 21:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 21:33:18 | ------------------------------------

2022-02-15 21:33:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-935c585c-5044-4449-b9f2-ffd5b49c0274</node><item-id>item-7ae35325-0b5f-4b22-975f-00885c0cde46</item-id><entry><test>item-7ae35325-0b5f-4b22-975f-00885c0cde46</test></entry></data>

2022-02-15 21:33:18 | 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-7ae35325-0b5f-4b22-975f-00885c0cde46</value></item-id></result>

2022-02-15 21:33:18 | [Mutex] received everything.

2022-02-15 21:33:18 | [Mutex] isItemNotified: published:item:notifieditem-7ae35325-0b5f-4b22-975f-00885c0cde46:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2022-02-15 21:33:19 |

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

2022-02-15 21:33:19 | ------------------------------------

2022-02-15 21:33:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-935c585c-5044-4449-b9f2-ffd5b49c0274</node><item-id>item-7ae35325-0b5f-4b22-975f-00885c0cde46</item-id></data>

2022-02-15 21:33:19 | 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-7ae35325-0b5f-4b22-975f-00885c0cde46</value></item-id></result>

2022-02-15 21:33:19 | [Mutex] received everything.

2022-02-15 21:33:19 | [Mutex] isItemNotified: retracted:item:notifieditem-7ae35325-0b5f-4b22-975f-00885c0cde46:admin@test-domain.com :: true

retrieveItemsFromNodes 0.387s
2022-02-15 21:33:18 |

2022-02-15 21:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 21:33:18 | ------------------------------------

2022-02-15 21:33:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-935c585c-5044-4449-b9f2-ffd5b49c0274</node><item-id>item-7ae35325-0b5f-4b22-975f-00885c0cde46</item-id></data>

2022-02-15 21:33:19 | 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-935c585c-5044-4449-b9f2-ffd5b49c0274</value></node><item-id type="text-single" label="Item ID"><value>item-7ae35325-0b5f-4b22-975f-00885c0cde46</value></item-id><item type="text-multi" label="Item"><value><item id="item-7ae35325-0b5f-4b22-975f-00885c0cde46"><test>item-7ae35325-0b5f-4b22-975f-00885c0cde46</test></item></value></item></result>

2022-02-15 21:33:19 | [Mutex] notify: [retrieved:item:item-7ae35325-0b5f-4b22-975f-00885c0cde46:payload-matches:true:localhost]

2022-02-15 21:33:19 | [Mutex] received everything.

2022-02-15 21:33:19 | [Mutex] isItemNotified: retrieved:item:item-7ae35325-0b5f-4b22-975f-00885c0cde46:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-15 21:33:19 |

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

2022-02-15 21:33:19 | ------------------------------------

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

2022-02-15 21:33:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-933731c8-e231-4011-8859-fbc4d0e081f6</value><value>node-935c585c-5044-4449-b9f2-ffd5b49c0274</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-15 21:33:19 |

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

2022-02-15 21:33:19 | ------------------------------------

2022-02-15 21:33:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-935c585c-5044-4449-b9f2-ffd5b49c0274)</node-pattern></data>

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

subscribeNodes 1.121s
2022-02-15 21:33:17 |

2022-02-15 21:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 21:33:17 | ------------------------------------

2022-02-15 21:33:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-935c585c-5044-4449-b9f2-ffd5b49c0274</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.291s
2022-02-15 21:33:19 |

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

2022-02-15 21:33:19 | ------------------------------------

2022-02-15 21:33:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-935c585c-5044-4449-b9f2-ffd5b49c0274</node><jids><value>admin@test-domain.com</value></jids></data>

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