Docker Integration with Katalon


#1

Hi Team,

My Command:
docker run -t --rm -v “/%currentdir%:/tmp/source” -w /tmp/source katalonstudio/katalon katalon-execute.sh -projectPath=“C:\yogesh\KatalonWS\KatalonDocker\KatalonDocker.prj” -browserType=“Chrome” -retry=0 -statusDelay=15 -testSuitePath=“Test Suites/DemoTestSuite”

when i run it is shows me error as:
joptsimple.MultipleArgumentsForOptionException: Found multiple arguments for option projectPath, but you asked for only one
at joptsimple.OptionSet.valueOf(OptionSet.java:179)
at joptsimple.OptionSet.valueOf(OptionSet.java:153)
at com.kms.katalon.execution.console.ConsoleMain.findProject(ConsoleMain.java:216)
at com.kms.katalon.execution.console.ConsoleMain.launch(ConsoleMain.java:128)
at com.kms.katalon.console.application.Application.runConsole(Application.java:76)
at com.kms.katalon.core.application.Application.runConsole(Application.java:87)
at com.kms.katalon.core.application.Application.start(Application.java:70)
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)

  • ret_code=2
    ++ id -u
    ++ id -g
  • chown -R 0:0 /tmp/source/report
  • chmod -R 777 /tmp/source/report
  • ls /tmp/source/report
  • cd /tmp/source
  • exit 2

Please suggest correct way to execute web automation scripts on docker if i am doing anything incorrect.