Add ApiKey every time while executing script through command line


#1

While executing through command line, we need to specify the apiKey every time in the arguments in order to generate report for that execution. Ideally, it should download the plugin at once and subsequently execute without providing the apiKey arguments.

Kindly help me resolve this.


#2

I don’t understand how you execute your test. You generate the cmd line every time you want to run your tests ?


#3

I generate the cmd command through Katalon Studio Build CMD option. But in order to get report I have to append the apiKey to the command as well


#4

Once you have the command line and you add the api key, you can reuse the same command in any script.