# HTML, XML(JUnit), PDF, CSV reports are not generated when I run test suite/test suite collection from command line

**URL:** <https://forum.katalon.com/t/html-xml-junit-pdf-csv-reports-are-not-generated-when-i-run-test-suite-test-suite-collection-from-command-line/25938>\
**Category:** Integrations\
**Tags:** plugins, katalon-studio\
**Created:** [May 21, 2019, 11:57pm UTC](https://forum.katalon.com/t/html-xml-junit-pdf-csv-reports-are-not-generated-when-i-run-test-suite-test-suite-collection-from-command-line/25938 "2019-05-21T23:57:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![madetivikash](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@madetivikash](https://forum.katalon.com/u/madetivikash)\
**Post date:** [May 21, 2019, 11:57pm UTC](https://forum.katalon.com/t/html-xml-junit-pdf-csv-reports-are-not-generated-when-i-run-test-suite-test-suite-collection-from-command-line/25938/1 "2019-05-21T23:57:29Z")

</div>

Hi,

I am using Katalon V6.1.5 and downloaded Basic report plugin from store and installed. Then opted to generate HTML, XML, PDF and CSV report types.

Executed the test suite/Test suite collection from Command line. HTML, XML, PDF and CSV report are not generated in the reports folder.

Please help me if there is any workaround on this issue.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [May 22, 2019, 2:25am UTC](https://forum.katalon.com/t/html-xml-junit-pdf-csv-reports-are-not-generated-when-i-run-test-suite-test-suite-collection-from-command-line/25938/2 "2019-05-22T02:25:49Z")

</div>

Hi @madetivikash,

You need to add “-apiKey” argument to console arguments to enable Store service when using console mode.

[https://docs.katalon.com/katalon-store/docs/user/plugin-console-installation.html#apply-api-keys-in-katalon-studio-commandline-execution](https://docs.katalon.com/katalon-store/docs/user/plugin-console-installation.html#apply-api-keys-in-katalon-studio-commandline-execution)

[http://forum.katalon.com/t/getting-reports-from-test-suite-with-katalon-6-1-5/25326/14](http://forum.katalon.com/t/getting-reports-from-test-suite-with-katalon-6-1-5/25326/14)

---

<div class="post-metadata">

**Author:** ![jason\_carney](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jason_carney/32/4473_2.png) [@jason\_carney](https://forum.katalon.com/u/jason_carney)\
**Post date:** [June 7, 2019, 8:22pm UTC](https://forum.katalon.com/t/html-xml-junit-pdf-csv-reports-are-not-generated-when-i-run-test-suite-test-suite-collection-from-command-line/25938/3 "2019-06-07T20:22:03Z")

</div>

Thanks @madetivikash, i had removed the apiKey when i changed commands, adding it back in generated the reports!

---

<div class="post-metadata">

**Author:** ![manikumar.pulipati](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manikumar.pulipati/32/5432_2.png) [@manikumar.pulipati](https://forum.katalon.com/u/manikumar.pulipati)\
**Post date:** [June 20, 2019, 1:13pm UTC](https://forum.katalon.com/t/html-xml-junit-pdf-csv-reports-are-not-generated-when-i-run-test-suite-test-suite-collection-from-command-line/25938/4 "2019-06-20T13:13:28Z")

</div>

@duyluong When given api key, it is creating reports for TestSuites but not for TestSuiteCollections. Even if we execute the TestSuiteCollections in Katalon application, it’s not creating HTML, XML reports. It just creates .rp file. Any configuration to be done?

---

<div class="post-metadata">

**Author:** ![vivek.yadav](https://avatars.discourse-cdn.com/v4/letter/v/ee7513/32.png) [@vivek.yadav](https://forum.katalon.com/u/vivek.yadav)\
**Post date:** [June 21, 2019, 10:53am UTC](https://forum.katalon.com/t/html-xml-junit-pdf-csv-reports-are-not-generated-when-i-run-test-suite-test-suite-collection-from-command-line/25938/5 "2019-06-21T10:53:26Z")

</div>

Hi,

After run the jenkins I get the report in a folder that can be only accessible manually. If i want to automatically get the report then how can i get from Jekins CLI? Any option/plugin/CLI to generate result URL which can be accessible after run the jenkins automatically? (i.e. we get in jmeter cli)

Thanks in Advance

---

<div class="post-metadata">

**Author:** ![gonzalezmdaniel](https://avatars.discourse-cdn.com/v4/letter/g/e5b9ba/32.png) [@gonzalezmdaniel](https://forum.katalon.com/u/gonzalezmdaniel)\
**Post date:** [October 31, 2019, 8:30pm UTC](https://forum.katalon.com/t/html-xml-junit-pdf-csv-reports-are-not-generated-when-i-run-test-suite-test-suite-collection-from-command-line/25938/6 "2019-10-31T20:30:59Z")

</div>

only you must add -apiKey=[your api key]  
your api key can get in menu from IDE katalon, clink in Plugin Strore and Manage Api Keys  
(apiKey, not apikey, is K in uppercase)

solo debes añadir -apiKey=[tu api key]  
tu api key la puedes obtener en el menu del IDE katalon, click en Plugin Store y luego Manage Api Keys  
(apiKey, no apikey, es con la K en mayúscula)

example;

katalon -runMode=console -consoleLog -projectPath=“C:\Users\CIPE\git\Katalon-edu3.0-cargos-personas\Katalon-edu3.0-cargos-personas.prj” -retry=0 -testSuitePath=“Test Suites/Suite Personal cargos” -executionProfile=“default” -browserType=“Chrome” -summaryReport -apiKey=55afac72-5500-4c57-a407-00000000

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:39am UTC](https://forum.katalon.com/t/html-xml-junit-pdf-csv-reports-are-not-generated-when-i-run-test-suite-test-suite-collection-from-command-line/25938/7 "2022-08-08T07:39:30Z")

</div>

Archived on August 8, 2022, 7:39am UTC


