Forum Discussion

harley's avatar
13 years ago

Automate execute loadUI-cmd.command

Hi all,

Currently I trying to automate the execution of loadUI-cmd.command with Maven 2, but i can't get done. The problem is that i execute loadUI-cmd.command in a different folder of the project. My project consist in a SOAPUI subproject, so if i execute this command in loadUI working path, then the SOAPUI project is not located. And if a run loadUI-cmd.command from soapui location, then loadui-cmd fail in starting OSGI. Can you please give some advice here!?

Jul 30, 2012 5:03:39 PM com.eviware.loadui.launcher.LoadUILauncher <init>
INFO: Detected Java version 1.6.0_33, disabling CBC Protection.
Launching loadUI Build: unknown unknown
There was an error loading the OSGi configuration!
Exiting...

Thanks!

4 Replies

  • Please try LoadUI 2.5.0. It is planned to be released tomorrow.
  • mkelderm's avatar
    mkelderm
    Occasional Contributor
    Same result here, Java 7 & Linux, any ideas? I can note use Load UI 2.5/2.6 because I can not open this project in those releases, only in version 2.1

    JAVA_HOME=/opt/java
    export JAVA_HOME
    LOADUI_HOME=/data/software/LoadUI-2.1.2
    export JAVA_HOME

    TMP=/data/tmp
    export TMP
    JAVA_OPTS=-Xms256m -Xmx1500m -XX:MaxPermSize=128m
    /opt/java/bin/java -cp '/data/software/LoadUI-2.1.2:/data/software/LoadUI-2.1.2/lib/*' com.eviware.loadui.launcher.LoadUICommandLineLauncher -p /home/tactadmin/mke/loadui/trunk/loadui/MSL_endurance_loadui_linux.xml -nofx -l -F PDF -s -r /data/tmp -Dsoapui.properties=/home/tactadmin/mke/loadui/trunk/ref/soapui-properties/soapui_fon.properties -Dloadui.msl.globals.loadFactor=10 -L 120:0:0
    Launching loadUI Build: unknown unknown
    There was an error loading the OSGi configuration!
    Exiting...
  • mkelderm's avatar
    mkelderm
    Occasional Contributor
    SOLVED ! maybe...

    I was starting the LoadUI Java program from a different directory as the installation directory. So, change to the install directory soled this issue:

    cd $LOADUI_HOME
    <start java program>

    Note: Make sure all path's in your LoadUI project is absolute.... LoadUI can handle relative paths, but this is only relative from the $LOADUI_HOME directory and not from you LoadUI project directory (bug??)

    Marc