smartsuriya
14 years agoOccasional Contributor
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
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