Forum Discussion

SBichkar's avatar
SBichkar
New Contributor
15 years ago

Test cases will not run on Load UI

I downloaded SoapUI and LoadUI recently. I created a soapUI Project and all the testcase work fine on SoapUI. But when I try to run the same on LoadUI, it just hangs. On multiple retries, the Request and Running count goes up. But the Other counters (Samples, Queued, Discarded, Failed) do not change. I cant even abort running the Test Case.

The System logs even do not show any errors.

Anyone else face the issue?
  • SBichkar's avatar
    SBichkar
    New Contributor
    Yes, I am using the latest install from nightly build.

    Another thing I noticed is that when I start Load UI, I get a MalformedURLException. May be that is the reason?

    java.net.MalformedURLException: Unknown protocol: socket
    at java.net.URL.<init>(Unknown Source)
    at java.net.URL.<init>(Unknown Source)
    at java.net.URL.<init>(Unknown Source)
    at java.net.URI.toURL(Unknown Source)
    at com.sun.deploy.net.proxy.DeployProxySelector.connectFailed(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at com.sun.javafx.io.http.impl.desktop.DesktopConnection.connect(Unknown Source)
    at com.sun.javafx.io.http.impl.HttpTask.tryRun(Unknown Source)
    at com.sun.javafx.io.http.impl.HttpTask.run(Unknown Source)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
  • SBichkar's avatar
    SBichkar
    New Contributor
    I got this to work. I had to change the proxy server setting for the Java Run Time

    1. go to Control Panel -> Java
    2. click the Network Settings button
    3. Click "Use Proxy server" option and give proxy server details

    After restarting LoadUI should work (I had to reopen 2 times after change to get it to work)
  • Hi!

    Thanks for sharing this, we'll try to improve the installer to ask for proxy settings so the javafx download works correctly..

    does your TestCase run ok now?

    regards!

    /Ole
    eviware.com
  • Beno_Iskratel's avatar
    Beno_Iskratel
    Frequent Contributor
    Hello!

    This is what I get in LoadUI (tablelog):
    0 [javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target] 1281945716077 Cancelling due to failed test step

    When I start (open) project in SoapUI i have to enter username and password, LoadUI doesn't ask me to do the same. Of course project works in SoapUI without problems.

    I'm using 1.0-beta2/ 06-Aug-2010 03:27.
    Is there anything I can do?

    Thanks!

    Beno
  • Hi,

    hmm.. two things here;
    - the PKIX-issue might be solved by the updated JRE used in the latest nightly builds
    - the username/password prompt in soapUI; for what is this? A target URL? The project itself?

    regards!

    /Ole
    eviware.com