Purchased Floating RE license, running on Azure DevOps - how to activate?

Hi,
We have purchased 1 Floating RE license and are trying to use it to run Katalon via command line on our Azure DevOps pipeline. The API key generated by our team member that did the purchasing does not seem to work and online activation fails (and as such the tests are not run), and other API keys generated by other team members fail as well. I looked in the Organization. We are using version 7.1.1 of Katalon. Is there anything specific we need to do to use the Floating RE license we have purchased? I checked and the command line execution is using katalonc.exe as well.
Thanks for your help.

  • Jeanie
1 Like

FYI for people that have the same issue as me, the answer seems to be that the console mode license requires runmode=console in the command line, even if you are already running katalonc.exe. Seems unnecessary, but ok, it seemed to work after I added that.

2 Likes

@jeanie.conner My organization bought 2 KSE and 2 KRE floating licenses. We successfully installed KSE licenses on local machines but we having issues installing floating KRE license. When I try to run Test suites through CMD line from my local machine where I have KSE license installed, I’m getting following error:
Trial license is only available for Katalon accounts registered with a business email.
Online activation for console mode failed.
Activation failed. Please make sure you are using a valid license.
All launchers terminated

Does anyone know or have any kind of information on how to Install floating KRE license? Can I install floating KRE license on my local machine with existed KSE license or floating KRE is only for DevOps, Azure and Docker.

Do I need node KRE license instead? I would appreciate any feedback on this post. Thank you

Hi Jeanie,

I m facing same issue can you please provide solution for this issue.

Hi @sshah, @vvksngh43

DevOps RE licenses are used for executing tests on Docker and Azure DevOps plugin only. If you execute on your local machine, licensing server will try to look for a node-locked license and reports a failure to activate when such licenses are not found.

I m executing test case on Azure devOps pipeline . Geeting below issue.

##[section]Starting: katalonTask

Task : Execute Katalon Studio Tests
Description : Execute Katalon Studio project
Version : 0.1.7
Author : Katalon LLC
Help :

version: 7.0.8
location: null
execute: -browserType=“Chrome” -retry=0 -statusDelay=15 -testSuiteCollectionPath=“Test Suites/EBMS” -apiKey=0728b140-97eb-4b9a-855d-59699cb18739
x11 display: null
xvfbConfiguration: null
dirPath: E:\agent_work\39\s
ksProjectPath: E:/agent/_work/39/s/Katalon/Katalon.prj
GET https://raw.githubusercontent.com/katalon-studio/katalon-studio/master/releases.json 200.
Katalon Folder: C:\WINDOWS\ServiceProfiles\NetworkService.katalon\7.0.8
Katalon Executable File: C:\WINDOWS\ServiceProfiles\NetworkService.katalon\7.0.8\Katalon_Studio_Engine_Windows_64-7.0.8\katalonc.exe
Execute Katalon Studio: C:\WINDOWS\ServiceProfiles\NetworkService.katalon\7.0.8\Katalon_Studio_Engine_Windows_64-7.0.8\katalonc.exe -noSplash -runMode=console -projectPath=“E:/agent/_work/39/s/Katalon/Katalon.prj” -browserType=“Chrome” -retry=0 -statusDelay=15 -testSuiteCollectionPath=“Test Suites/EBMS” -apiKey=0728b140-97eb-4b9a-855d-59699cb18739
Execute "cmd /c “C:\WINDOWS\ServiceProfiles\NetworkService.katalon\7.0.8\Katalon_Studio_Engine_Windows_64-7.0.8\katalonc.exe -noSplash -runMode=console -projectPath=“E:/agent/_work/39/s/Katalon/Katalon.prj” -browserType=“Chrome” -retry=0 -statusDelay=15 -testSuiteCollectionPath=“Test Suites/EBMS” -apiKey=0728b140-97eb-4b9a-855d-59699cb18739"” in C:\WINDOWS\SERVIC~3\NETWOR~1\AppData\Local\Temp\tmp-124845PVr7kLHTBLS.
Katalon workspace folder is set to default location: C:\Windows\ServiceProfiles\NetworkService.katalon\7.0.8\Katalon_Studio_Engine_Windows_64-7.0.8\config

Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified

171 2.4.7.xx-201611170128-e46 = ACTIVE

INFO: Katalon Version: 7.0.8

INFO: Command-line arguments: -runMode=console -projectPath=E:/agent/_work/39/s/Katalon/Katalon.prj -browserType=Chrome -retry=0 -statusDelay=15 -testSuiteCollectionPath=Test Suites/EBMS -apiKey=******

INFO: User working dir: C:\WINDOWS\SERVIC~3\NETWOR~1\AppData\Local\Temp\tmp-124845PVr7kLHTBLS

INFO: TestOps server URL: https://analytics.katalon.com

INFO: Katalon Store server URL: https://store.katalon.com

INFO: User home: C:\WINDOWS\ServiceProfiles\NetworkService

INFO: Java vendor: Oracle Corporation

INFO: Java version: 1.8.0_181

INFO: Local OS: Windows 10 64bit

INFO: CPU load: 73%

INFO: Total memory: 8191 MB

INFO: Free memory: 3859 MB

INFO: Machine ID: 7ad27816e41376226366ab4f22fd2328

Activating…

Start activating offline…

Finding valid offline licenses in folder: C:\WINDOWS\ServiceProfiles\NetworkService.katalon\license

The number of valid offline licenses: 0

Offline activation failed.

Start activating online…

TestOps: Unexpected response code from Katalon TestOps server when sending request to URL: https://analytics.katalon.com/api/v1/license-keys/activate?machineKey=7ad27816e41376226366ab4f22fd2328&ksVersion=7.0.8&email&sessionId=7419e435-ee10-467a-a3f4-46be4101c217&hostname=EBMSDEV&package=ENGINE. Actual: 400, Expected: 200

Trial license is only available for Katalon accounts registered with a business email.
Online activation for console mode failed.
Activation failed. Please make sure you are using a valid license.

All launchers terminated

Exit code: 3.
Exit code 3.
##[section]Finishing: katalonTask

Hi @vvksngh43

Please download the latest version 7.2.1 from the plugin and try to see if it resolves the problem.

Hi Thanks with 7.2.1 its working , but now geeting chrome deiver issue . Issue mention below. can you please help me to identify supported chrome version. currently i have Chrome 78.

Start check license task

chromedriver is located at default location: C:\Windows\ServiceProfiles\NetworkService.katalon\7.2.1\Katalon_Studio_Engine_Windows_64-7.2.1\configuration\resources\drivers\chromedriver_win32\chromedriver.exe. In case your browser is updated to a newer version, please use this command to update chromdriver: --config -webui.autoUpdateDrivers=true

01:35:52.045 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Finding test data with id ‘Data Files/Login Test Data’

01:35:52.084 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Test data is internal data, reading internal data

chromedriver is located at default location: C:\Windows\ServiceProfiles\NetworkService.katalon\7.2.1\Katalon_Studio_Engine_Windows_64-7.2.1\configuration\resources\drivers\chromedriver_win32\chromedriver.exe. In case your browser is updated to a newer version, please use this command to update chromdriver: --config -webui.autoUpdateDrivers=true
01:35:56.902 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Finding test data with id ‘Data Files/AllegationUserStoryTestData/AddAllegationTestData’
01:35:56.905 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Test data is internal data, reading internal data
01:35:56.909 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Finding test data with id ‘Data Files/AllegationUserStoryTestData/EditAllegationTestData’
01:35:56.956 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Test data is internal data, reading internal data


Test Suites/EBMS - 20200115_013551…0/7(0%)

Test Suites/Sanity Testing - Chrome - 20200115_013552…0/2(0%)
Test Suites/Regression Testing - Chrome - 20200115_013556…0/5(0%)

Launcher status after execution process completed: Running

Start writing execution.uuid file to folder: E:\agent_work\39\s\Katalon\Reports\20200115_013551\Sanity Testing\20200115_013552

Start generating JUnit report folder at: E:\agent_work\39\s\Katalon\Reports\20200115_013551\Sanity Testing\20200115_013552…

JUnit report were generated at folder: E:\agent_work\39\s\Katalon\Reports\20200115_013551\Sanity Testing\20200115_013552


Test Suites/EBMS - 20200115_013551…2/7(29%)

Test Suites/Sanity Testing - Chrome - 20200115_013552…2/2(100%)
Test Suites/Regression Testing - Chrome - 20200115_013556…0/5(0%)


Test Suites/EBMS - 20200115_013551…6/7(86%)

Test Suites/Sanity Testing - Chrome - 20200115_013552…2/2(100%)
Test Suites/Regression Testing - Chrome - 20200115_013556…4/5(80%)

Launcher status after execution process completed: Running

Start writing execution.uuid file to folder: E:\agent_work\39\s\Katalon\Reports\20200115_013551\Regression Testing\20200115_013556

Start generating JUnit report folder at: E:\agent_work\39\s\Katalon\Reports\20200115_013551\Regression Testing\20200115_013556…

JUnit report were generated at folder: E:\agent_work\39\s\Katalon\Reports\20200115_013551\Regression Testing\20200115_013556

For real-time monitoring and better reporting capabilities please integrate this project with Katalon TestOps (more details at https://docs.katalon.com/katalon-analytics/docs/integration-with-katalon-studio.html#enable-integration)


Test Suites/EBMS - 20200115_013551…7/7(100%)

Test Suites/Sanity Testing - Chrome - 20200115_013552…2/2(100%)
Test Suites/Regression Testing - Chrome - 20200115_013556…5/5(100%)

Execution completed. Exit code: 1.

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

Exit code: 1.
Exit code 1.
##[section]Finishing: katalonTask

Hi @vvksngh43

Please refer to: https://docs.katalon.com/katalon-studio/docs/handle-webdrivers.html and include the parameter into your command line execution in order to auto-upgrade Web Drivers.

1 Like

Thanks a lot.

Hi @ThanhTo
I have new Azure DevOps server, can I install DevOps RE license there? How?
I am having hard time to install DevOps RE license on Azure DevOps.
I have the login for Azure DevOps account. I login and created organization and installed Katalon extension as seen in below screenshot. What’s the next step?

Am I doing anything wrong here? Can you please explain me in details or provide steps to download floating RE license in Azure DevOps.

Another attempt I tried is as follows:

  1. Through Remote Desktop Connection I logged into new Virtual Azure environment
  2. Download Katalon Studio and Katalon Run time Engine zip files
  3. Extract them and tried to run “katalonc” from Engine folder
  4. Getting an error about licensing:
    Trial license is only available for Katalon accounts registered with a business email.
    Online activation for console mode failed.
    Activation failed. Please make sure you are using a valid license.
    All launchers terminated

Is this the right steps to download floating RE license? I know I am doing something wrong here. I would appreciate if anyone can help me in installing floating RE license.

Hi @sshah

Can you confirm that in your account you are able to see the licenses ?
1/ In TestOps Home page, navigate to the Organization that you purchased the licenses for.
2/ Navigate to License on the left panel.
3/ Verify the information:

  • Expiry Date
  • Subscribed Licenses
  • Available Licenses
  • Machine Quota

Then after that please provide me with the command line you used and the console log of the execution.

Hi @ThanhTo Thank you for your quick response. Here is the attached screenshot for Floating KRE licenses information:

Another screenshot for KSE license:

I installed Katalon on my local machine which is registered under my credentials & is occupying one of the KSE license. The other KSE is occupied by other tester. I installed Katalon on new Azure DevOps virtual machine as well but now the question is what login credentials should I use. If I use my credentials then I’m getting Machine quota exceed error. That means I bought a wrong license? Do I need node-locked RE license instead of floating RE license?
And answer to your question @ThanhTo I have to login to Katalon account and generate command in order to run my test through CMD. So, with one account can I install KSE on my local macine and floating KRE on Azure virtual machine? If yes, then how can I install floating KRE on Azure DevOps? I sucessfully installed the Katalon extension on Azure DevOps services.

Why we need KRE license because we are trying to trigger regression test whenever we have new build deployed to bit bucket through .NET CruiseControl and Nant. Do you think we can do this with node-locked RE license? Our build process is not frequent.

Another screenshot for KSE license:

I installed Katalon on my local machine which is registered under my credentials & is occupying one of the KSE license. The other KSE is occupied by other tester. I installed Katalon on new Azure DevOps virtual machine as well but now the question is what login credentials should I use. If I use my credentials then I’m getting Machine quota exceed error. That means I bought a wrong license? Do I need node-locked RE license instead of floating RE license?
And answer to your question @ThanhTo I have to login to Katalon account and generate command in order to run my test through CMD. So, with one account can I install KSE on my local macine and floating KRE on Azure virtual machine? If yes, then how can I install floating KRE on Azure DevOps? I sucessfully installed the Katalon extension on Azure DevOps services.

Why we need KRE license because we are trying to trigger regression test whenever we have new build deployed to bit bucket through .NET CruiseControl and Nant. Do you think we can do this with node-locked RE license? Our build process is not frequent.

Hi @sshah

You need a DevOps RE license to execute tests using Azure DevOps. And yes, you can have both KSE and DevOps / node-locked RE in one account.

When you include an apiKey in your command line argument, the API key is used to authenticate your katalon account. This account is checked if it belongs to an organization that has a license that is suitable for the current execution environment.

Please provide me with the full console log when executing tests with DevOps Azure plugin, along with the current command line you’re using.

Hello everyone,

You’re recommended to read this announcement regarding the consolidation of both Katalon Runtime Engine DevOps and Floating licenses into one licensing offering, Floating .

Jass