I’m trying to run a test with KRE 8.6.6 for Window-64 in which I don’t even need to open a browser. I’m just printing a message. I alway get “Launcher status after execution process completed: Terminated” but I can’t see where the problem is.
Warning: NLS missing message: ConsoleMain_MSG_DEVOPS_LICENSE_COMPATIBILITY in: com.kms.katalon.execution.constants.executionMessages
Warning: NLS missing message: ConsoleMain_MSG_NON_DEVOPS_LICENSE_COMPATIBLITY in: com.kms.katalon.execution.constants.executionMessages
Activating…
Start getting machine ID on Windows
Start appending additional signatures
hardwareSerialNumber
osDependentUsername myName
End appending additional signatures 9fd8e85c-2171-4fd4c2cb6e82__myName
End getting machine ID on Windows 7dda9dfc1dbad6ef390f05
Start activating offline…
Search for valid offline licenses in folder: C:\Users\myName.katalon\license
The number of valid offline licenses: 0
Start activating online…
Activated successfully with Katalon Runtime Engine license.
Failed to activate with TestCloud license.
INFO: Katalon Version: 8.6.6
INFO: Command-line arguments: -runMode=console -projectPath=C:\Users\myName\Documents\test-automation-katalon\test-automation-katalon.prj -retry=0 -testSuitePath=Test Suites/New Test Suite -browserType=Edge Chromium -executionProfile=default -apiKey=******** --config -proxy.auth.option=NO_PROXY -proxy.system.option=NO_PROXY -proxy.system.applyToDesiredCapabilities=true -webui.autoUpdateDrivers=true
INFO: User working dir: C:\Users\myName\Documents\Katalon_RunTimeEngine\Katalon_Studio_Engine_Windows_64-8.6.6
INFO: Error log: C:/Users/myName/AppData/Local/Temp/session-4afd95d2/.metadata/.log
INFO: Katalon KatOne server URL: https://admin.katalon.com
INFO: Katalon TestOps server URL: https://testops.katalon.io
INFO: Katalon Store server URL: https://store.katalon.com
INFO: User home: C:\Users\myName
INFO: Java vendor: Azul Systems, Inc.
INFO: Java version: 1.8.0_362
INFO: Local OS: Windows 10 64bit
INFO: CPU load: 10%
INFO: Total memory: 16270 MB
INFO: Free memory: 5765 MB
INFO: Machine ID: 7dda9dfc1dbad6ef390f05
Latest plugins responses:
Start checking license task
INFO: KATALON_JAVA_HOME: C:\Users\myName\Documents\java\jdk_11.0.12_7
Launcher status after execution process completed: Terminated
Execution completed. Exit code: 0.
Start clean up session
End check license task
End clean up session
Start release license task
License released
End release license task
All launchers terminated
From “Activated successfully with Katalon Runtime Engine license” I understand that the issue is not a licence problem. Does anyone has an idea wthat the problem here can be?
Katalon Studio uses built-in JDK 8 as default. It seems you have configured your project to use JDK 11 to run tests. I suppose that you have some mistake in the configuration. If you made any mistake in the JDK configuration, as it is so fundamental, it is highly likely that nothing works properly; system even fails to tell you what’s wrong.
Thanks for your answer kazurayam,
My tests run well in Katalon Studio with java11. The problem is just comming when I use KRE. In any case I change my configuration to java8 and the result was the same.
Katalon workspace folder is set to default location: C:\Users\MYNAME~1\AppData\Local\Temp\session-3cb64937
Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
138 org.codehaus.groovy_2.4.20.v202009301404-e2006-RELEASE ACTIVE
Activating...
Start getting machine ID on Windows
Start appending additional signatures
hardwareSerialNumber
osDependentUsername myName
End appending additional signatures 9fd8e85c-2171-4fd4c2cb6e82__myName
End getting machine ID on Windows 7dda9dfc1dbad6ef390f05
Start activating offline...
Search for valid offline licenses in folder: C:\Users\myName\.katalon\license
The number of valid offline licenses: 0
Start activating online...
Activated successfully with Katalon Runtime Engine license.
Failed to activate with TestCloud license.
INFO: Katalon Version: 8.6.6
INFO: Command-line arguments: -runMode=console -projectPath=C:\Users\myName\Documents\test-automation-katalon\test-automation-katalon.prj -retry=0 -testSuitePath=Test Suites/New Test Suite -browserType=Edge Chromium -executionProfile=default -apiKey=******** --config -proxy.auth.option=NO_PROXY -proxy.system.option=NO_PROXY -proxy.system.applyToDesiredCapabilities=true -webui.autoUpdateDrivers=true
INFO: User working dir: C:\Users\myName\Documents\Katalon_RunTimeEngine\Katalon_Studio_Engine_Windows_64-8.6.6\Katalon_Studio_Engine_Windows_64-8.6.6
INFO: Error log: C:/Users/myName/AppData/Local/Temp/session-3cb64937/.metadata/.log
INFO: Katalon KatOne server URL: https://admin.katalon.com
INFO: Katalon TestOps server URL: https://testops.katalon.io
INFO: Katalon Store server URL: https://store.katalon.com
INFO: User home: C:\Users\myName
INFO: Java vendor: Azul Systems, Inc.
INFO: Java version: 1.8.0_362
INFO: Local OS: Windows 10 64bit
INFO: CPU load: 15%
INFO: Total memory: 16270 MB
INFO: Free memory: 4931 MB
INFO: Machine ID: 7dda9dfc1dbad6ef390f05
Delete folder: bin
Delete folder: Libs
Cleaning up workspace
Opening project file: C:\Users\myName\Documents\test-automation-katalon\test-automation-katalon.prj
Generating global variables...
Project 'test-automation-katalon' opened
Start reloading plugins...
Katalon version: 8.6.6
Plugin info URL: https://store.katalon.com/api/products/ks?appVersion=8.6.6&appType=ENGINE&licenseType=ENTERPRISE
Start checking license task
Edge Chromium driver is located at: C:\Users\myName\Documents\Katalon_RunTimeEngine\Katalon_Studio_Engine_Windows_64-8.6.6\Katalon_Studio_Engine_Windows_64-8.6.6\configuration\resources\temp\webdriver\msedgedriver.exe
INFO: KATALON_JAVA_HOME: null
--------------------------------------------------------------------------------
Test Suites/New Test Suite - Edge Chromium - 20230905_073607.............0/1(0%)
--------------------------------------------------------------------------------
Launcher status after execution process completed: Terminated
--------------------------------------------------------------------------------
Test Suites/New Test Suite - Edge Chromium - 20230905_073607.............0/1(0%)
--------------------------------------------------------------------------------
Execution completed. Exit code: 0.
Start clean up session
End check license task
End clean up session
Start release license task
License released
End release license task
All launchers terminated
```
Exactly. That’s why I don’t think the problem is the same as in the link from @kazurayam. In any case I did open the console as admin and tried to run my test. At the end I just got the same result