Console Mode Execution


This is a companion discussion topic for the original entry at


Dear colleagues!
I try to run katalon with next command:

c:\WEBAUT\Katalon_Studio_Windows_64-5.10.1>katalon -propertiesFile=“C:\WEBAUT\Development\FILENET\FILENET-20190102-03\” -runMode=console -noSplash -consoleLog -noExit file content is (generated by Katalon):
#Fri Jan 04 12:48:50 CET 2019
testSuitePath=Test Suites/FILENET_Chrome

But nothing starts. Console log is:
[EL Warning]: 2019-01-04 13:06:20.823–Ignoring attribute [lastRun] on class [TestSuiteEntity] as no Property was generated for it.
Missing required argument(s): projectPath.

Fri Jan 04 13:06:50 CET 2019
Cannot send request, retry to send.

Proxy found for HTTP @
Request sent successfully.

Where is the problem?


You need to escape : and \ in Java’s properties files.


@michael.hollander has fired a bug report


Hi, Alex. I have all needed escapes in my file. WEB clear escapes after I copy-past the content on it. Regards, Alex


Hello everybody,
I waht to override Execution Profile variables but I don’t get it.

My default.glbl is

<?xml version="1.0" encoding="UTF-8"?> default true 'test' urlbase

and I execute

katalon -noSplash -runMode=console -consoleLog
-projectPath=$WORKSPACE’/PruebaPRL/PruebaPRL.prj’ -retry=0 -testSuitePath=‘Test Suites/LoginTestSuite’ -executionProfile=‘default’ -browserType=‘Chrome (headless)’ -g_urlbase=‘

but the urlbase that is aplied is ‘test’ instead of ‘

… what am i doing wrong? Why doesn’t urlbase override ?



Hi Team,

I am executing a Test suite in the command line mode. The Test suite is executing correctly through the command line mode. However, i am unable to send the email. The email works fine when the Test suite is executed from the Katalon IDE. Here is the command;

/Applications/Katalon\ --args -noSplash -runMode=console -consoleLog -noExit -projectPath="/Users/namigupt/Desktop/work/codebase/2019/Q1/unity/BDD/project-x/project-x.prj" -retry=0 -testSuitePath="Test Suites/X" -executionProfile="default" -browserType="Web Service" -sendEmail="XXXX@XXX.XXX"

Can you please help me in fixing this issue?



Try configuring email , in project settings instead of using it command itself.


hi,I’m running the script on the command line,But the message cannot be sent successfully.The script is as follows:
“./Katalon\ --args -noSplash -runMode=console -consoleLog -projectPath=”/Users/xxxxxx/workspace/xxxxxx/wg.prj" -retry=0 -testSuitePath=“Test Suites/Login/Login” -executionProfile=“stg(private)” -browserType=“Chrome (headless)” -sendMail=""


It would have been nice, if we could set the mail server settings via console. Also why not make the subject line dynamic - It should show the whether it failed and passed in the subject line.?


Hello together,

I’m trying to execute katalon-cli behind corporate proxy as following
./katalon -noSplash -runMode=console -projectPath="/opt/katalon/katalon-tests.prj" -reportFolder="/opt/katalon/reports" -reportFileName=index -retry=0 -testSuitePath=“Test Suites/Test Suite” -executionProfile=“Default” -browserType=“Firefox” -apiKey="" --config -proxy.option=USE_SYSTEM

I booked a plugin “Basic Report” in and set environment variables:

  • HTTP_PROXY=corporate-proxy:3128
  • HTTPS_PROXY=corporate-proxy:3128

and got exception:
Caused by: Name or service not known
at Method)
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
at org.apache.http.impl.execchain.MainClientExec.establishRoute(
at org.apache.http.impl.execchain.MainClientExec.execute(
at org.apache.http.impl.execchain.ProtocolExec.execute(
at org.apache.http.impl.execchain.RetryExec.execute(
at org.apache.http.impl.execchain.RedirectExec.execute(
at org.apache.http.impl.client.InternalHttpClient.doExecute(
at org.apache.http.impl.client.CloseableHttpClient.execute(
at org.apache.http.impl.client.CloseableHttpClient.execute(
at com.kms.katalon.plugin.service.KStoreRestClient.executeGetRequest(
at com.kms.katalon.plugin.service.KStoreRestClient.getLatestPlugins(

Then I tried with MANUAL_CONFIGURATION like:
–config -proxy.option=MANUAL_CONFIG -proxy.server.type=HTTP -proxy.server.address=“corporate-proxy” -proxy.server.port=“3128”

and got the same exception.

Do You have any best practises how to configure Katalon behind a proxy to download plugins from Katalon Store?



I was trying also this approach to call it from pipeline:

withEnv(['HTTP_PROXY=http://proxyAddress:port']) {
sh "npm run test"

Seems to be it is not able to get proxy settings, it works only if you set proxy in katalon UI, but this is not suitable for pipeline jenkins, cause it does not catch this settings. It works only if you are logged into terminal and run it.

Basic Report