Forum Discussion

smartsuriya's avatar
smartsuriya
Occasional Contributor
14 years ago

Unable to open load UI

Hi all,

I am new to Load UI and in our project we are trying to test a web service for large file upload functionality. Since it was pretty difficult to do this in other load testing tools and found with load UI this is doable. I installed load UI 2.0 in my system.

But i am not able to open the tool and I am getting "Unable to launch Application" message. I have tried many solutions which is suggested in this forum like commands to uninstall javaws and reinstalling load ui tool, even then i am not able to launch the application and i am getting same error again.

Following is the listing shown in launch file and exception which was thrown:

<jnlp spec="1.0+" codebase="file:." href="loadUI.jnlp">
<information>
<title>loadUI</title>
<vendor>eviware</vendor>
<homepage href="http://www.loadui.org/"/>
<description>loadUI</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.7" java-vm-args="-Xms256m -Xmx768m -XX:MaxPermSize=128m -Dsun.java2d.noddraw=true"/>
<extension name="JavaFX Runtime" href="http://dl.javafx.com/1.3/javafx-rt.jnlp"/>
<jar href="lib/loadui-launcher.jar" main="true"/>
<jar href="lib/org.apache.felix.main.jar"/>
<jar href="lib/commons-cli.jar"/>
<jar href="lib/bndlib.jar"/>
</resources>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.eviware.loadui.launcher.LoadUILauncher"/>
<update check="timeout" policy="always"/>
</jnlp>

This is the exception thrown:

java.lang.RuntimeException: Unable to create directory: C:\Users\Administrator\.loadui\controller-cache
at com.eviware.loadui.launcher.LoadUILauncher.init(LoadUILauncher.java:214)
at com.eviware.loadui.launcher.LoadUILauncher.main(LoadUILauncher.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

It will be greatly appreciated if anyone can provide solution to this problem as we are stuck with this and not able to proceed further with load UI.

Thanks,
Suriya

3 Replies

  • smartsuriya's avatar
    smartsuriya
    Occasional Contributor
    Operating System is Windows 7 64-Bit and java version is 1.6.

    Regards,
    Suriya
  • It seems like you have installed loadUI as administrator, but opening it as non-administrator.

    In Windows, it's recommended to install and run applications as a regular user (not as administrator).

    Hope it helps and have a nice weekend!

    Henrik
    SmartBear Software
  • smartsuriya's avatar
    smartsuriya
    Occasional Contributor
    This issue was resolved by installing the tool in windows xp with 32-bit java version machine. I am not sure if this issue occurs due to compatibility with 64-bit version of java. If load ui has been installed in 64-bit version of Java , then load ui has to be configured to pick 64-bit version of java (by editing in load ui bat file).