TestCloud: Unexpected response in GitLab CI/CD

I’ve been trying to use katalon runtime engine with GitLab CI/CD. I’m the person who is setting up CI/CD and this is my first assignment with Katalon Runtime Engine. However when I try to run the batch script that written for the KRE via the GitLab it gives unauthorized errors. I’m using a api key that my team provided me. It’s a api key generated by Katalon Studio installed in another machine. Also, it’s a single user license.

138 org.codehaus.groovy_2.4.20.v202009301404-e2006-RELEASE ACTIVE
Activating...
Start getting machine ID on Windows
Start appending additional signatures
hardwareSerialNumber 
osDependentUsername ifssrvadmin
End appending additional signatures XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX__ifssrvadmin
End getting machine ID on Windows XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Start activating offline...
Search for valid offline licenses in folder: C:\Users\ifssrvadmin\.katalon\license
The number of valid offline licenses: 0
Start activating online...
Katalon TestOps: Unexpected response, URL: https://admin.katalon.com/oauth/token, Status: 400, Response: {"error":"invalid_grant","error_description":"Authentication failed."}
TestCloud: Unexpected response, URL: https://api.katalon.com/v1/auth/login, Status: 401, Response: {"errors":[]}
Failed to activate with Katalon Runtime Engine license. Authentication failed. {"error":"invalid_grant","error_description":"Authentication failed."}
Failed to activate with TestCloud license. {"errors":[]}
Cannot execute this test suite. There is no Katalon Runtime Engine license available.
All launchers terminated
ERROR: Job failed: exit status 1

I think I might need a separate license within the machine to generate another api key for KRE through Katalon Studio. What could be the exact reason for this error

2 Likes

As per Error log, You don`t have a valid Licensee of KRE & TestCloud.

Hi @atul.rai

Thanks for your input. Yes that was a license issue. Company provided me a license and now I’m able to run test suites via GitLab CI/CD

1 Like