Generated by TestNG with ReportNG at 23:44 PDT on Monday 14 September 2020
root@78ec7f12f637 / 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.030s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2020-09-15 00:01:33 |

2020-09-15 00:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:33 | ------------------------------------

2020-09-15 00:01:33 | [Mutex] waiting for: [configured:node:node-78076451-cc47-41e2-804c-2c2a09e95290:node-170e50ce-59bd-4e84-b037-9e5e3aa74c9d]

2020-09-15 00:01:34 | [Mutex] received everything.

2020-09-15 00:01:34 | [Mutex] isItemNotified: configured:node:node-78076451-cc47-41e2-804c-2c2a09e95290:node-170e50ce-59bd-4e84-b037-9e5e3aa74c9d :: true

2020-09-15 00:01:35 | [Mutex] waiting for: [received:nodes:19a67174-ae8e-4a32-8452-c17d989ad8d7:localhost]

2020-09-15 00:01:35 | [Mutex] received everything.

2020-09-15 00:01:35 | [Mutex] isItemNotified: received:node:19a67174-ae8e-4a32-8452-c17d989ad8d7:localhost:node-78076451-cc47-41e2-804c-2c2a09e95290:Node 78076451-cc47-41e2-804c-2c2a09e95290 :: true

2020-09-15 00:01:35 | [Mutex] waiting for: [received:nodes:bf268e63-dd6d-41e1-a36e-a9b0872608c5:localhost]

2020-09-15 00:01:35 | [Mutex] received everything.

2020-09-15 00:01:35 | [Mutex] isItemNotified: received:node:bf268e63-dd6d-41e1-a36e-a9b0872608c5:localhost:node-78076451-cc47-41e2-804c-2c2a09e95290:Node 78076451-cc47-41e2-804c-2c2a09e95290 :: false

createNodes 1.406s
2020-09-15 00:01:31 |

2020-09-15 00:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:31 | ------------------------------------

2020-09-15 00:01:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-78076451-cc47-41e2-804c-2c2a09e95290</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 78076451-cc47-41e2-804c-2c2a09e95290</title></pubsub></data>

2020-09-15 00:01:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-15 00:01:32 | [Mutex] waiting for: [received:nodes:e3c4d5a3-ad29-4808-a024-6e3c6304ab4a:localhost]

2020-09-15 00:01:32 | [Mutex] received everything.

2020-09-15 00:01:32 | [Mutex] isItemNotified: received:node:e3c4d5a3-ad29-4808-a024-6e3c6304ab4a:localhost:node-78076451-cc47-41e2-804c-2c2a09e95290:Node 78076451-cc47-41e2-804c-2c2a09e95290 :: true

createSubnodes 1.028s
2020-09-15 00:01:32 |

2020-09-15 00:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:32 | ------------------------------------

2020-09-15 00:01:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-170e50ce-59bd-4e84-b037-9e5e3aa74c9d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 170e50ce-59bd-4e84-b037-9e5e3aa74c9d</title></pubsub></data>

2020-09-15 00:01:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-15 00:01:33 | [Mutex] waiting for: [received:nodes:c89d838c-b615-4c85-a5c8-208dbf00ac26:localhost]

2020-09-15 00:01:33 | [Mutex] received everything.

2020-09-15 00:01:33 | [Mutex] isItemNotified: received:node:c89d838c-b615-4c85-a5c8-208dbf00ac26:localhost:node-170e50ce-59bd-4e84-b037-9e5e3aa74c9d:Node 170e50ce-59bd-4e84-b037-9e5e3aa74c9d :: true

deleteNodes 1.018s
2020-09-15 00:01:39 |

2020-09-15 00:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:39 | ------------------------------------

2020-09-15 00:01:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-170e50ce-59bd-4e84-b037-9e5e3aa74c9d</node></data>

2020-09-15 00:01:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-15 00:01:40 | [Mutex] waiting for: [received:nodes:a73d2191-7884-480a-b248-4f6f2888b9fe:localhost]

2020-09-15 00:01:40 | [Mutex] received everything.

2020-09-15 00:01:40 | [Mutex] isItemNotified: received:node:a73d2191-7884-480a-b248-4f6f2888b9fe:localhost:node-170e50ce-59bd-4e84-b037-9e5e3aa74c9d:Node 170e50ce-59bd-4e84-b037-9e5e3aa74c9d :: false

deleteSubnodes 1.121s
2020-09-15 00:01:38 |

2020-09-15 00:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:38 | ------------------------------------

2020-09-15 00:01:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-78076451-cc47-41e2-804c-2c2a09e95290</node></data>

2020-09-15 00:01:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-15 00:01:39 | [Mutex] waiting for: [received:nodes:4e114132-232f-4bc5-b00f-cc57adf5d504:localhost]

2020-09-15 00:01:39 | [Mutex] received everything.

2020-09-15 00:01:39 | [Mutex] isItemNotified: received:node:4e114132-232f-4bc5-b00f-cc57adf5d504:localhost:node-78076451-cc47-41e2-804c-2c2a09e95290:Node 78076451-cc47-41e2-804c-2c2a09e95290 :: false

2020-09-15 00:01:39 | [Mutex] waiting for: [received:nodes:b28bd61f-eabc-436a-a518-84f9ebea61cb:localhost]

2020-09-15 00:01:39 | [Mutex] received everything.

2020-09-15 00:01:39 | [Mutex] isItemNotified: received:node:b28bd61f-eabc-436a-a518-84f9ebea61cb:localhost:node-78076451-cc47-41e2-804c-2c2a09e95290:Node 78076451-cc47-41e2-804c-2c2a09e95290 :: false

publishItemsToNodes 0.262s
2020-09-15 00:01:36 |

2020-09-15 00:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:36 | ------------------------------------

2020-09-15 00:01:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-78076451-cc47-41e2-804c-2c2a09e95290</node><item-id>item-1dab676c-a43b-4f41-a25e-523dd6769df9</item-id><entry><test>item-1dab676c-a43b-4f41-a25e-523dd6769df9</test></entry></data>

2020-09-15 00:01:36 | 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-1dab676c-a43b-4f41-a25e-523dd6769df9</value></item-id></result>

2020-09-15 00:01:36 | [Mutex] received everything.

2020-09-15 00:01:36 | [Mutex] isItemNotified: published:item:notifieditem-1dab676c-a43b-4f41-a25e-523dd6769df9:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2020-09-15 00:01:36 |

2020-09-15 00:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:36 | ------------------------------------

2020-09-15 00:01:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-78076451-cc47-41e2-804c-2c2a09e95290</node><item-id>item-1dab676c-a43b-4f41-a25e-523dd6769df9</item-id></data>

2020-09-15 00:01:37 | 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-1dab676c-a43b-4f41-a25e-523dd6769df9</value></item-id></result>

2020-09-15 00:01:37 | [Mutex] received everything.

2020-09-15 00:01:37 | [Mutex] isItemNotified: retracted:item:notifieditem-1dab676c-a43b-4f41-a25e-523dd6769df9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.296s
2020-09-15 00:01:36 |

2020-09-15 00:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:36 | ------------------------------------

2020-09-15 00:01:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-78076451-cc47-41e2-804c-2c2a09e95290</node><item-id>item-1dab676c-a43b-4f41-a25e-523dd6769df9</item-id></data>

2020-09-15 00:01:36 | 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-78076451-cc47-41e2-804c-2c2a09e95290</value></node><item-id type="text-single" label="Item ID"><value>item-1dab676c-a43b-4f41-a25e-523dd6769df9</value></item-id><item type="text-multi" label="Item"><value><item id="item-1dab676c-a43b-4f41-a25e-523dd6769df9"><test>item-1dab676c-a43b-4f41-a25e-523dd6769df9</test></item></value></item></result>

2020-09-15 00:01:36 | [Mutex] notify: [retrieved:item:item-1dab676c-a43b-4f41-a25e-523dd6769df9:payload-matches:true:localhost]

2020-09-15 00:01:36 | [Mutex] received everything.

2020-09-15 00:01:36 | [Mutex] isItemNotified: retrieved:item:item-1dab676c-a43b-4f41-a25e-523dd6769df9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-09-15 00:01:36 |

2020-09-15 00:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:36 | ------------------------------------

2020-09-15 00:01:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-15 00:01:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-170e50ce-59bd-4e84-b037-9e5e3aa74c9d</value><value>node-78076451-cc47-41e2-804c-2c2a09e95290</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-15 00:01:36 |

2020-09-15 00:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:36 | ------------------------------------

2020-09-15 00:01:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-78076451-cc47-41e2-804c-2c2a09e95290)</node-pattern></data>

2020-09-15 00:01:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.145s
2020-09-15 00:01:35 |

2020-09-15 00:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:35 | ------------------------------------

2020-09-15 00:01:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-78076451-cc47-41e2-804c-2c2a09e95290</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-15 00:01:35 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.283s
2020-09-15 00:01:37 |

2020-09-15 00:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-15 00:01:37 | ------------------------------------

2020-09-15 00:01:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-78076451-cc47-41e2-804c-2c2a09e95290</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-15 00:01:37 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>