Has anyone been able to use the Docker run command (intended for Katalon Docker images (KDI) above 7.2.1) successfully in an AWS environment?
In other words the command below (also specified at GitHub - katalon-studio/docker-images: Docker images for Katalon Studio and other frameworks and Docker Image | Katalon Docs)
docker run -t --rm -v "$(pwd)":/tmp/project katalonstudio/katalon katalonc.sh -projectPath=/tmp/project -browserType="Chrome" -testSuiteCollectionPath="Test Suites/TS_RegressionTestCollection" -apiKey="<your_API_key>"
Do note im able to successfully run KDI 8.5.2 using the above command when using Docker on my local machine, but when i use it on AWS (as this is where im having the issue) i get the following error:
...
Cleaning up workspace
Opening project file: /tmp/project
Invalid argument: Cannot find project '/tmp/project'.
All launchers terminated
+ ret_code=4
+ exit 4
...
Katalon isnt able to see the ‘.prj’ file i believe.
The AWS and local KDI are the same, so i think things should work the same, but evidently they dont.
I am able to run KDI 8.5.2 in AWS but using the older style katalon-execute.sh (intended for Docker images below 7.2.1). Its odd that im able to run a new version of KDI but using the old run command.
docker run -t --rm -v \
"$(pwd)":/katalon/katalon/source \
katalonstudio/katalon:8.5.2 \
katalon-execute.sh \
-apiKey="${KATALON_KEY}" \
-browserType="Chrome" \
-retry=0 \
-statusDelay=15 \
-retryFailedTestCases=false
-testSuitePath="Test Suites/${SUITE}" \
-executionProfile="${PROFILE}" \
Running KDI 8.5.2 in local Docker which uses newer style katalonc.sh (intended for Docker images above 7.2.1). This makes sense as im using the Docker command allowed for this version of KDI.
docker run -it --rm -v \
"$(pwd)":/tmp/project \
katalonstudio/katalon:8.5.2 \
katalonc.sh \
-apiKey="${KATALON_KEY}" \
-projectPath=/tmp/project \
-browserType="Chrome" \
-retry=0 \
-statusDelay=15 \
-retryFailedTestCases=false
-testSuitePath="Test Suites/test-suite" \
-executionProfile="test-env"
Ideally i want the same Docker run command that works locally and in AWS.
Any help/advice would be great.