Katalon Studio v5.8 - It's time for the all-new API testing experience
Michal
Katalon Apprentice
08/10/2018

Katalon Docker - problem with projectpath

Hi i have a problem with run katalon in docker. This script was functional a month ago in docker, but it stopped working after the docker update. It does not even help to add the projectpath argument to Katalon OPTS.

PS C:\Users\murban\KatalonStudio\AutomatTestCRM> docker run --rm -v /c/users/murban/katalonstudio/automattestcrm/automattestcrm:/katalon/katalon/source:ro -v /c/users/murban/katalonstudio/automattestcrm/reports:/katalon/katalon/report -e KATALON_OPTS="-browserType="Chrome" -retry=0 -statusDelay=15 -testSuiteCollectionPath=Test\ Suites/TestSuiteCollectionParallel/ParallelTest" katalonstudio/katalon


Google Chrome 67.0.3396.99 
Mozilla Firefox 61.0.1
Katalon Studio 5.5
Starting Katalon Studio
docker : + echo 'Starting Katalon Studio'
At line:1 char:1
+ docker run --rm -v /c/users/murban/katalonstudio/automattestcrm/autom ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (+ echo 'Starting Katalon Studio':String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
++ pwd
+ current_dir=/
+ tmp_dir=/katalon/katalon/tmp
+ mkdir -p /katalon/katalon/tmp
+ chmod -R 777 /katalon/katalon/tmp
+ project_dir=/katalon/katalon/project
+ mkdir -p /katalon/katalon/project
+ cp -r /katalon/katalon/source/. /katalon/katalon/project
+ touch /katalon/katalon/project/.classpath
+ chmod -R 777 /katalon/katalon/project
+ report_dir=/katalon/katalon/report
+ mkdir -p /katalon/katalon/report
+ chmod -R 777 /katalon/katalon/report
++ find /katalon/katalon/project -maxdepth 1 -type f -name '*.prj'
project_file=
+ cmd='/opt/katalonstudio/katalon -runMode=console -reportFolder=/katalon/katalon/report -projectPath= -browserType=Chrome -retry=0 -statusDelay=15 -testSuiteCollectionPath=Test\ Suites/TestSuiteCollectionPa
rallel/ParallelTest'
+ /katalon/base/scripts/xvfb.sh start
+ XVFB=/usr/bin/Xvfb
+ XVFBARGS=':99 -screen 0 1024x768x24 -fbdir /var/run -ac'
+ PIDFILE=/var/run/xvfb.pid
+ case "$1" in
+ echo -n 'Starting virtual X frame buffer :99 1024x768x24'
+ start-stop-daemon --start --quiet --pidfile /var/run/xvfb.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1024x768x24 -fbdir /var/run -ac
+ echo .
+ exit 0
Starting virtual X frame buffer :99 1024x768x24.
+ cd /katalon/katalon/tmp
+ eval '/opt/katalonstudio/katalon -runMode=console -reportFolder=/katalon/katalon/report -projectPath= -browserType=Chrome -retry=0 -statusDelay=15 -testSuiteCollectionPath=Test\ Suites/TestSuiteCollectionP
arallel/ParallelTest'
++ /opt/katalonstudio/katalon -runMode=console -reportFolder=/katalon/katalon/report -projectPath= -browserType=Chrome -retry=0 -statusDelay=15 '-testSuiteCollectionPath=Test Suites/TestSuiteCollectionParall
el/ParallelTest'
Invalid argument: Cannot find project '-browserType=Chrome'.

Please can you help me with this?
Upvote
Quote

Comments

  • Michal
    Katalon Apprentice
    08/21/2018
    I finaly fing problem, i have bad path to source, there is final comand:

    docker run --rm -v /c/users/murban/katalonstudio/automattestcrm/:/katalon/katalon/source:ro -v /c/users/murban/katalonstudio/automattestcrm/reports:/katalon/katalon/report -e KATALON_OPTS="-browserType="Chrome" -retry=0 -statusDelay=15 -testSuiteCollectionPath=Test\ Suites/TestSuiteCollectionParallel/ParallelTest" katalonstudio/katalon
    Upvote
    Quote
Sign In or Register to comment.