Using Basic Report Plugin as of Katalon 6.1.5

learning
reports

#1

So, it looks like in the newest version of Katalon, the reports are now in a plug-in. After some hair pulling and working for a few hours this morning, I’ve figured it out. NOTE: we run our katalon suite out of Azure DevOps in a Docker image with a CLI

First things first, in the Katalon store get the plug-in called Basic Report (at the time of this writing, it is free).

Then, in your local version of Katalon, click the Katalon Store icon and click Reload Plugins
image

This will add the plugin to your katalon. You can select the report you want from the Project Settings>Report. Save your work and commit your code to your repo

In our version, we have everything set up in Azure DevOps using a CLI (example below):
`project_dir=$(pwd)

docker run --rm -v "$project_dir":/katalon/katalon/source:rw  katalonstudio/katalon katalon-execute.sh -testSuiteCollectionPath="Test Suites/Example"  -testSuitePath="Test Suites/Example" -browserType="Chrome"  -retry=0 -statusDelay=15`

Now, to get the new version with the plugins to work, you need to go create and use an API key from the Katalon store. Generate a new API key by going to Security tab in My Account menu in Katalon Store. You can use the existing key if you already had one. (https://docs.katalon.com/katalon-store/docs/user/plugin-console-installation.html) you will add that into your CLI (above) as -apiKey=[apiKey here]

`project_dir=$(pwd)

docker run --rm -v "$project_dir":/katalon/katalon/source:rw  katalonstudio/katalon katalon-execute.sh -testSuiteCollectionPath="Test Suites/Example"  -testSuitePath="Test Suites/Example" -browserType="Chrome"  -retry=0 -statusDelay=15 -apiKey=[apiKey here]`

When you run your tests out of Azure DevOps, this will pull the latest version of Katalon, the plugins and your settings. So, when the tests complete, you’ll continue to get your report as you were doing before the change to 6.1.5.


Basic Report
Getting reports from test suite with Katalon using plugins
Version 6.1.5
My test suite contains 39 test cases when i run it was able execute but fail to load html / excel report
Load Build Plugin without UI
Error email report (after installing basic report plugin)
Test log report is not being generated at the end of a suite or suite colection run
Viewing test suite reports
Export JUnit xml report from Jenkins
#2

#3

Amanda, create a link-post in plugins to here…

image


#4

#5

#6

Thank you! I was not aware about the necessary API key. Over night all my Jenkins builds had failed. I added the API key and it seems to work same as before now.


#7

7 posts were merged into an existing topic: Why TS report feature is removed from KS in version 6.1.5 —>


#14

A post was merged into an existing topic: Why TS report feature is removed from KS in version 6.1.5 —>


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

there are two command I used on window CMD,but they are all failed to generate the basic report under report folder.:cry:

1:
katalon -noSplash -runMode=console -consoleLog -projectPath=“C:\Users\ivy\Katalon Studio\ciAPITest\test.prj” -retry=0 -testSuitePath=“Test Suites/TS_SmokeTest/TS_HappyFlow” -executionProfile=“default” -browserType=“Chrome” -apiKey=[000486e-cf14-4def-bcf5-23668e8bd0ac]
2:
katalon -noSplash -runMode=console -consoleLog -projectPath=“C:\Users\ivy\Katalon Studio\ciAPITest\test.prj” -retry=0 -testSuitePath=“Test Suites/TS_SmokeTest/TS_HappyFlow” -executionProfile=“default” -browserType=“Chrome” -apiKey=[000486e-cf14-4def-bcf5-23668e8bd0ac]


#16

Are you using the new basic report plugin? if so reload your plugins and ensure they’re updated.


#17

I didn’t put my -apiKey inside brackets [ ] it’s just -apiKey=1234567-1222-2222-1234-2123111111
You should have received an error message stating invalid apiKey in the logs.

also since the apiKey is essentially a unique identifier for just you, I wouldn’t recommend posting it in public locations.


#18

Thank you so much, you saved my day.


#19

Is there any method to generate the report before TestSuiteListener end ?


#20

Just to my previous post where I was asking for support because plugin installation did not work. My Katalon opened as default IE and in IE install does not work. I succeeded with Chrome.


#21

Hi guys I am also battling with Katalon creating reports. I did everything that’s on the forum and I followed documentation to install the plugin and generate a apiKey but no luck. My report folders does not have a csv, junit or html report. image

Here’s the command I ran below:
katalon -noSplash -runMode=console -consoleLog -projectPath=“Q:\Reg_Katalon_Projects\RI 1803 FIN\RI 1803 FIN.prj” -retry=0 -testSuitePath=“Test Suites/Decision Service Batch NBC” -browserType=“Chrome” (headless) -apiKey=


#22

It works now, for some reason my apiKey was not working!


#23

Hi all,
I’m trying to get reports from a CI pipeline with Gitlab and Docker. After some successful tests in my local environment with no proxy in the middle, I then tried to execute my test suite on a remote environment with a proxy. Result? I get connection timed out in accessing store.katalon.com:443 during the reloading of the plugin.
I both set --config and all the options for the proxy in the cmd line and even from within Katalon Studio UI preferences but nothing: connection timed out.
Can anybody help out with this?
Thanks in advance.
Best,
Victor


#24

I have the same issue, on Katalon 6.1.5 and 6.2 as well.


#26

Any tip on how to work around this problem?
Any help is greatly appreciated.

Thanks again,
Victor


#27

Maybe you should create a bug ticket for the dev-team, that the katalon.store isn’t accessible behind a proxy?