Basic Report

Could you please verify the command on your PC?

 xvfb-run -s "-screen 0 1920x1200x24" /opt/Katalon_Studio_Linux_64-6.1.5/katalon -noSplash -runMode=console -projectPath="${WORKSPACE}/katalon/test.prj" -browserType="Firefox" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Platform install part1" -executionProfile=default -g_corename="corename" -g_nfsRoot="nfsRoot" -g_baseUrl="baseUrl" -apiKey=[3adf86ab-1573-4788-ba2b-5e3a3bab2662] --config -proxy.option=MANUAL_CONFIG -proxy.server.type=HTTPS -proxy.server.address="web-proxy.net" -proxy.server.port=8080

Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
169 2.4.7.xx-201611170128-e46 = ACTIVE

INFO: Katalon Version: 6.1.5
INFO: Command-line arguments: -runMode=console -projectPath=/katalon/test.prj -browserType=Firefox -retry=0 -statusDelay=15 -testSuitePath=Test Suites/Platform install part1 -executionProfile=default -g_corename=corename -g_nfsRoot=nfsRoot -g_baseUrl=baseUrl -apiKey=****** --config -proxy.option=MANUAL_CONFIG -proxy.server.type=HTTPS -proxy.server.address=web-proxy.net -proxy.server.port=8080
INFO: User working dir: /root
INFO: User home: /root
INFO: Java vendor: Oracle Corporation
INFO: Java version: 1.8.0_131
INFO: Local OS: Linux 64bit
INFO: CPU load: 16%
INFO: Total memory: 15884 MB
INFO: Free memory: 7976 MB

Start reloading plugins…

Wed May 22 13:36:10 CEST 2019
Failed to reload plugins.
com.kms.katalon.plugin.models.ReloadPluginsException: Unexpected error occurs during executing reload plugins
at com.kms.katalon.plugin.service.PluginService.reloadPlugins(PluginService.java:210)

https://docs.katalon.com/katalon-studio/docs/console-mode-execution.html sais that you are requested to

Open the command prompt and navigate to the folder of your Katalon Studio build, which contains katalon.exe (Windows) or Applications folder (Mac OS) or katalon (Linux) file.

But your command contains a string
/opt/Katalon_Studio_Linux_64-6.1.5/katalon -noSplash ....

This implies that you DID NOT navigate to the folder where you find the katalon binary. If you do not change the current directory properly, Katalon Studio would never work. Unpredictable oddities may occur.

made cd … and ran the cmd ( you see there is a folder name before #)
Katalon_Studio_Linux_64-6.1.5]# xvfb-run -s “-screen 0 1920x1200x24” katalon -noSplash -runMode=console -projectPath="${WORKSPACE}/katalon/test.prj" -browserType=“Firefox” -retry=0 -statusDelay=15 -testSuitePath=“Test Suites/Platform install part1” -executionProfile=default

result is the same, did not help

HI @tari.testing,

Can you share us full execution log as log file?

Thanks

You are not specifying -apiKey=[apiKey here] which is required as of v6.1.5.

See Getting reports from test suite with Katalon 6.1.5

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]

Hi Kazu, I just copied part of log in previous post to show it was running from directory -apiKey is specified for sure, if you not specify -apiKey execution wil not call plugin reload

Katalon_Studio_Linux_64-6.1.5]# xvfb-run -s "-screen 0 1920x1200x24" katalon -noSplash -runMode=console -projectPath="${WORKSPACE}/katalon/test.prj" -browserType="Firefox" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Platform install part1" -executionProfile=default -g_corename="corename" -g_nfsRoot="nfsRoot" -g_baseUrl="baseUrl" -apiKey=[3adf86ab-1573-4788-ba2b-5e3a3bab2662] --config -proxy.option=MANUAL_CONFIG -proxy.server.type=HTTPS -proxy.server.address="web-proxy.net" -proxy.server.port=8080

Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
169 2.4.7.xx-201611170128-e46 = ACTIVE

There is no info about plugin in execution log if you mean Katalon or point me where to find the log you are talking about.
That one I have attached is from jenkins node.

Please try removing the square brackets [] around the API key.

I removed [ ], used also ’ ’ or just a key, still the same.:cry:
edited :clap: :
OK resolved issue, Proxy was not set in UI.
command line did not accepted proxy parameters passed in section:
–config -proxy.option=MANUAL_CONFIG -proxy.server.type=HTTP -proxy.server.address=“set proxy” -proxy.server.port=8080
I had to start UI run the katalon and put the proxy in via Shift+Ctrl+P proxy.

I there any way to get more detailed logs? like --debug

I wrote above I was able to run it, but when I call it from jenkins error is here again :frowning:

Please add “-consoleLog” in your arguments.

Thanks

I can not it is not supported on linux as written in docs, but I will try.

it is not supported …
!MESSAGE Exception while dispatching event org.osgi.service.event.Event [topic=PROJECT/OPENED] {} to handler org.eclipse.e4.ui.services.internal.events.UIEventHandler@77edd05d
!STACK 0
java.lang.NullPointerException

still no progress :worried:

excuted below shell command on Jenkins in ubuntu, but no basic repor were be generated.

cd /home/jenkins/workspace/project/Development/katalon-testcase/ciAutoTest
katalon-execute.sh -browserType=“Chrome” -retry=0 -statusDelay=15 -reportFileName=“report” -testSuitePath=“Test Suites/TS_SmokeTest/TS_HappyFlow” -apikey=[00f0486e-cf14-4def-bcf5-23668e80000]

In the document https://docs.katalon.com/katalon-studio/docs/console-mode-execution.html, says

Open the command prompt and navigate to the folder of your Katalon Studio build, which contains katalon.exe (Windows) or Applications folder (Mac OS) or katalon (Linux) file.

You are doing differently.

Hi, I have upgraded from 5.8.3 to 6.1.5, i.e. I lost native support of test reports, but I am not able to install plug-in Basic Report. I can go to Plugin Store, switch to Basic Report plugin page, click on INSTALL button and nothing happens. Am I doing something wrong? Are there some preconditions? I tried without and also with login, no action. I did not use plugins till now. I tried also generate APIkey and the same result. Any idea?

After update to 6.2.0 I am getting this:

Thu Jun 13 13:00:51 CEST 2019
Failed to reload plugins.
com.kms.katalon.plugin.models.ReloadPluginsException: Unexpected error occurs during executing reload plugins under account: username: No username in this Exception, endpoint: https://store.katalon.com/api/products/ks?appVersion=6.2.0

How to pass in account, username ???

Update: problem was API-key enclosed in […], after removing [ ] it works

I am also facing this problem. I have added the apiKey in the command line along with the proxy information. Still it is not reloading the plugins while executing through command line.

Hello, I have the same problem! Iam pleased for your help!