Error while running katalon-studio-github-action as per its Example usage (modified because of the Issue 2, please see below):
Set up job2s
Build katalon-studio/katalon-studio-github-action@1.41m 45s
Checkout2s
Get and run action5s
- exit 2
##[warning]Unexpected input 'katalon_api_key', valid inputs are ['ks_command', 'ks_api_key']
##[warning]Unexpected input 'Katalon_command', valid inputs are ['ks_command', 'ks_api_key']
Run katalon-studio/katalon-studio-github-action@1.4
/usr/bin/docker run --name be76db7f415d31b34f44f59c2e3601dfba004c_75015d --label be76db --workdir /github/workspace --rm -e INPUT_KATALON_API_KEY -e INPUT_KATALON_COMMAND -e INPUT_KS_COMMAND -e INPUT_KS_API_KEY -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/test/test":"/github/workspace" be76db:7f415d31b34f44f59c2e3601dfba004c "" ""
- echo 'Starting Katalon Studio'
Starting Katalon Studio
- cat /katalon/version
- args=("$KATALON_KATALON_INSTALL_DIR/katalonc" "$@")
- xvfb-run -s '-screen 0 1024x768x24' /opt/katalonstudio/katalonc -projectPath=/github/workspace -apiKey=
Mozilla Firefox 76.0.1
Google Chrome 83.0.4103.61
Katalon Studio
Katalon workspace folder is set to default location: /tmp/session-fc9c43d8
Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
177 2.4.7.xx-201611170128-e46 = ACTIVE
joptsimple.OptionMissingRequiredArgumentException: Option apiKey requires an argument
at joptsimple.RequiredArgumentOptionSpec.detectOptionArgument(RequiredArgumentOptionSpec.java:48)
at joptsimple.ArgumentAcceptingOptionSpec.handleOption(ArgumentAcceptingOptionSpec.java:257)
at joptsimple.OptionParser.handleShortOptionToken(OptionParser.java:520)
at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:59)
at joptsimple.OptionParser.parse(OptionParser.java:396)
at com.kms.katalon.execution.console.ConsoleMain.launch(ConsoleMain.java:138)
at com.kms.katalon.console.application.Application.runConsole(Application.java:71)
at com.kms.katalon.core.application.Application.runConsole(Application.java:104)
at com.kms.katalon.core.application.Application.start(Application.java:78)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
All launchers terminated
- ret_code=2
- exit 2
Post Checkout0s
Complete job
Example usage (modified because of the Issue 2,)
on: [push]
jobs:
katalon_test_job:
runs-on: ubuntu-latest
name: Run katalon Studio Test CLI
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v1
#- uses: ./ # Uses an action in the root directory #COMMENTED OUT BECAUSE OF THE ISSUE 2
- name: Get and run action
uses: katalon-studio/katalon-studio-github-action@1.4
with:
katalon_api_key: ${{ secrets.KATALON_API_KEY }}
Katalon_command: "-browserType=Chrome -retry=0 -statusDelay=15 -testSuitePath=Test Suites/TS_RegressionTest"
Error while running katalon-studio-github-action as per its Example usage (modified because of the Issue 2, please see below):
Set up job2s
Build katalon-studio/katalon-studio-github-action@1.41m 45s
Checkout2s
Get and run action5s
##[warning]Unexpected input 'katalon_api_key', valid inputs are ['ks_command', 'ks_api_key']
##[warning]Unexpected input 'Katalon_command', valid inputs are ['ks_command', 'ks_api_key']
Run katalon-studio/katalon-studio-github-action@1.4
/usr/bin/docker run --name be76db7f415d31b34f44f59c2e3601dfba004c_75015d --label be76db --workdir /github/workspace --rm -e INPUT_KATALON_API_KEY -e INPUT_KATALON_COMMAND -e INPUT_KS_COMMAND -e INPUT_KS_API_KEY -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/test/test":"/github/workspace" be76db:7f415d31b34f44f59c2e3601dfba004c "" ""
Starting Katalon Studio
Mozilla Firefox 76.0.1
Google Chrome 83.0.4103.61
Katalon Studio
Katalon workspace folder is set to default location: /tmp/session-fc9c43d8
Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
177 2.4.7.xx-201611170128-e46 = ACTIVE
joptsimple.OptionMissingRequiredArgumentException: Option apiKey requires an argument
at joptsimple.RequiredArgumentOptionSpec.detectOptionArgument(RequiredArgumentOptionSpec.java:48)
at joptsimple.ArgumentAcceptingOptionSpec.handleOption(ArgumentAcceptingOptionSpec.java:257)
at joptsimple.OptionParser.handleShortOptionToken(OptionParser.java:520)
at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:59)
at joptsimple.OptionParser.parse(OptionParser.java:396)
at com.kms.katalon.execution.console.ConsoleMain.launch(ConsoleMain.java:138)
at com.kms.katalon.console.application.Application.runConsole(Application.java:71)
at com.kms.katalon.core.application.Application.runConsole(Application.java:104)
at com.kms.katalon.core.application.Application.start(Application.java:78)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
All launchers terminated
Post Checkout0s
Complete job
Example usage (modified because of the Issue 2,)
on: [push]
jobs:
katalon_test_job:
runs-on: ubuntu-latest
name: Run katalon Studio Test CLI
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v1
#- uses: ./ # Uses an action in the root directory #COMMENTED OUT BECAUSE OF THE ISSUE 2
- name: Get and run action
uses: katalon-studio/katalon-studio-github-action@1.4
with:
katalon_api_key: ${{ secrets.KATALON_API_KEY }}
Katalon_command: "-browserType=Chrome -retry=0 -statusDelay=15 -testSuitePath=Test Suites/TS_RegressionTest"