Generated by TestNG with ReportNG at 21:41 PST on Tuesday 29 December 2020
root@eaa73862192b / 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 : 9.753s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2020-12-29 21:58:36 |

2020-12-29 21:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:36 | ------------------------------------

2020-12-29 21:58:36 | [Mutex] waiting for: [configured:node:node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7:node-cc87f84b-ddf5-4c14-9085-15a95f93fd14]

2020-12-29 21:58:36 | [Mutex] received everything.

2020-12-29 21:58:36 | [Mutex] isItemNotified: configured:node:node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7:node-cc87f84b-ddf5-4c14-9085-15a95f93fd14 :: true

2020-12-29 21:58:37 | [Mutex] waiting for: [received:nodes:a704d383-8d45-4afa-b0c3-2a305736181f:localhost]

2020-12-29 21:58:37 | [Mutex] waiting for: [received:nodes:a704d383-8d45-4afa-b0c3-2a305736181f:localhost]

2020-12-29 21:58:37 | [Mutex] received everything.

2020-12-29 21:58:37 | [Mutex] isItemNotified: received:node:a704d383-8d45-4afa-b0c3-2a305736181f:localhost:node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7:Node be43b4c4-ab90-4fa6-b8ce-e337f7d323c7 :: true

2020-12-29 21:58:37 | [Mutex] waiting for: [received:nodes:f1718d01-5d77-42e0-a8e1-536961ecf77f:localhost]

2020-12-29 21:58:37 | [Mutex] waiting for: [received:nodes:f1718d01-5d77-42e0-a8e1-536961ecf77f:localhost]

2020-12-29 21:58:37 | [Mutex] waiting for: [received:nodes:f1718d01-5d77-42e0-a8e1-536961ecf77f:localhost]

2020-12-29 21:58:37 | [Mutex] waiting for: [received:nodes:f1718d01-5d77-42e0-a8e1-536961ecf77f:localhost]

2020-12-29 21:58:37 | [Mutex] received everything.

2020-12-29 21:58:37 | [Mutex] isItemNotified: received:node:f1718d01-5d77-42e0-a8e1-536961ecf77f:localhost:node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7:Node be43b4c4-ab90-4fa6-b8ce-e337f7d323c7 :: false

createNodes 1.457s
2020-12-29 21:58:34 |

2020-12-29 21:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:34 | ------------------------------------

2020-12-29 21:58:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node be43b4c4-ab90-4fa6-b8ce-e337f7d323c7</title></pubsub></data>

2020-12-29 21:58:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:58:35 | [Mutex] waiting for: [received:nodes:6fca070a-5733-417e-ae46-66f729fe1da4:localhost]

2020-12-29 21:58:35 | [Mutex] received everything.

2020-12-29 21:58:35 | [Mutex] isItemNotified: received:node:6fca070a-5733-417e-ae46-66f729fe1da4:localhost:node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7:Node be43b4c4-ab90-4fa6-b8ce-e337f7d323c7 :: true

createSubnodes 1.036s
2020-12-29 21:58:35 |

2020-12-29 21:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:35 | ------------------------------------

2020-12-29 21:58:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cc87f84b-ddf5-4c14-9085-15a95f93fd14</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cc87f84b-ddf5-4c14-9085-15a95f93fd14</title></pubsub></data>

2020-12-29 21:58:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:58:36 | [Mutex] waiting for: [received:nodes:a40af4c2-6d5e-453f-9d99-975962ab53ad:localhost]

2020-12-29 21:58:36 | [Mutex] waiting for: [received:nodes:a40af4c2-6d5e-453f-9d99-975962ab53ad:localhost]

2020-12-29 21:58:36 | [Mutex] received everything.

2020-12-29 21:58:36 | [Mutex] isItemNotified: received:node:a40af4c2-6d5e-453f-9d99-975962ab53ad:localhost:node-cc87f84b-ddf5-4c14-9085-15a95f93fd14:Node cc87f84b-ddf5-4c14-9085-15a95f93fd14 :: true

deleteNodes 1.023s
2020-12-29 21:58:41 |

2020-12-29 21:58:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:41 | ------------------------------------

2020-12-29 21:58:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cc87f84b-ddf5-4c14-9085-15a95f93fd14</node></data>

2020-12-29 21:58:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:58:42 | [Mutex] waiting for: [received:nodes:f5d5c876-daf6-4187-9d9b-7691ef275698:localhost]

2020-12-29 21:58:42 | [Mutex] waiting for: [received:nodes:f5d5c876-daf6-4187-9d9b-7691ef275698:localhost]

2020-12-29 21:58:42 | [Mutex] received everything.

2020-12-29 21:58:42 | [Mutex] isItemNotified: received:node:f5d5c876-daf6-4187-9d9b-7691ef275698:localhost:node-cc87f84b-ddf5-4c14-9085-15a95f93fd14:Node cc87f84b-ddf5-4c14-9085-15a95f93fd14 :: false

deleteSubnodes 1.122s
2020-12-29 21:58:40 |

2020-12-29 21:58:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:40 | ------------------------------------

2020-12-29 21:58:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7</node></data>

2020-12-29 21:58:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:58:41 | [Mutex] waiting for: [received:nodes:f6ef26fb-d779-4409-aab3-23ab227cc45f:localhost]

2020-12-29 21:58:41 | [Mutex] waiting for: [received:nodes:f6ef26fb-d779-4409-aab3-23ab227cc45f:localhost]

2020-12-29 21:58:41 | [Mutex] received everything.

2020-12-29 21:58:41 | [Mutex] isItemNotified: received:node:f6ef26fb-d779-4409-aab3-23ab227cc45f:localhost:node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7:Node be43b4c4-ab90-4fa6-b8ce-e337f7d323c7 :: false

2020-12-29 21:58:41 | [Mutex] waiting for: [received:nodes:abe12d60-a532-4796-b2b5-9f65cc1183f7:localhost]

2020-12-29 21:58:41 | [Mutex] received everything.

2020-12-29 21:58:41 | [Mutex] isItemNotified: received:node:abe12d60-a532-4796-b2b5-9f65cc1183f7:localhost:node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7:Node be43b4c4-ab90-4fa6-b8ce-e337f7d323c7 :: false

publishItemsToNodes 0.181s
2020-12-29 21:58:38 |

2020-12-29 21:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:38 | ------------------------------------

2020-12-29 21:58:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7</node><item-id>item-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148</item-id><entry><test>item-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148</test></entry></data>

2020-12-29 21:58:38 | 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-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148</value></item-id></result>

2020-12-29 21:58:38 | [Mutex] waiting for: [published:item:notifieditem-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148:admin@test-domain.com]

2020-12-29 21:58:39 | [Mutex] received everything.

2020-12-29 21:58:39 | [Mutex] isItemNotified: published:item:notifieditem-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148:admin@test-domain.com :: true

retractItemsFromNodes 0.207s
2020-12-29 21:58:39 |

2020-12-29 21:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:39 | ------------------------------------

2020-12-29 21:58:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7</node><item-id>item-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148</item-id></data>

2020-12-29 21:58:39 | 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-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148</value></item-id></result>

2020-12-29 21:58:39 | [Mutex] received everything.

2020-12-29 21:58:39 | [Mutex] isItemNotified: retracted:item:notifieditem-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148:admin@test-domain.com :: true

retrieveItemsFromNodes 0.279s
2020-12-29 21:58:39 |

2020-12-29 21:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:39 | ------------------------------------

2020-12-29 21:58:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7</node><item-id>item-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148</item-id></data>

2020-12-29 21:58:39 | 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-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7</value></node><item-id type="text-single" label="Item ID"><value>item-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148</value></item-id><item type="text-multi" label="Item"><value><item id="item-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148"><test>item-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148</test></item></value></item></result>

2020-12-29 21:58:39 | [Mutex] notify: [retrieved:item:item-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148:payload-matches:true:localhost]

2020-12-29 21:58:39 | [Mutex] received everything.

2020-12-29 21:58:39 | [Mutex] isItemNotified: retrieved:item:item-c3d6cbbe-ca51-4c3b-98a1-3b9695a44148:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2020-12-29 21:58:39 |

2020-12-29 21:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:39 | ------------------------------------

2020-12-29 21:58:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-29 21:58:39 | 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-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7</value><value>node-cc87f84b-ddf5-4c14-9085-15a95f93fd14</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-12-29 21:58:39 |

2020-12-29 21:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:39 | ------------------------------------

2020-12-29 21:58:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7)</node-pattern></data>

2020-12-29 21:58:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.144s
2020-12-29 21:58:37 |

2020-12-29 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:37 | ------------------------------------

2020-12-29 21:58:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-29 21:58:37 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.216s
2020-12-29 21:58:39 |

2020-12-29 21:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:58:39 | ------------------------------------

2020-12-29 21:58:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-be43b4c4-ab90-4fa6-b8ce-e337f7d323c7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-29 21:58:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>