Forum Discussion

Yvonne's avatar
13 years ago

LoadUI HTTPS problems

I have installed LoadUI and with a web page runner I can execute normal http web pages. But i can not use HTTPS web pages like https://www.google.nl or any others
Does anyone know how to solve this. I am working on a mac. Using the newest version of loadui and java
  • I am having the same issue. I've tried using a few different JREs so far, no luck.
    Any word on a fix or workaround?

    For reference, this is with the default webpage runner.
  • Same exact problems we are having.

    We have a medium sized web app company and I being in our QA dept got to chose our Load testing programs/Automation, I was planning on showing my boss this program and going UIpro but I cant show him our own site because its HTTPS. Hard to spend money on a product that doesnt work right off the get go. It is appealing for our less trained staff and its ease of use is nice but useless if it cant test HTTPS.

    I to tried Google, B of A and other HTTPS sites and you cant create a simple load test without it failing. I hope they fix this soon, they are losing potential customers.

    If this is a setting I cant find any documentation on what to do, and have searched a lot for it.
  • I downloaded the latest version, 2.1.0, hoping this issue has been solved. But I still experience the same problem, with every HTTPS request that I make. Is there no progress on this bug? Anybody from the LoadUI team here to respond? We really want to use this product, but without HTTPS it is not possible.
  • otherbear's avatar
    otherbear
    New Contributor
    Hi everyone

    probably same problem here. Every call to https fails (eg. https://www.google.ch) on the Web Page Runner.

    In the log i get classdefnotfound exception on javax.security.auth.x500.X500Principal.

    I already tried to start the JNLP with an independant JDK, but with no success either.

    (using loadUI 2.1.1)

    Now, i'm clueless. Has somebody an idea what's the reason for that?

    regards

    <otherbear>
  • I have found a solution for this problem!

    Please replace your WebRunner.groovy file in your LoadUI installation ( see folder script-components/ ), with the attached file, and that's it!

    The problem was with the X509HostnameVerifier being used with httpclient, which made references to classes not included in the Java runtime by default.

    Hope you can continue with your load testing now both in HTTP and HTTPS.

    Best regards,

    Renato
    • mm2313's avatar
      mm2313
      Occasional Visitor

      Can someone tell me how to fix this problem?  I am trying to set up my keystore so I can use the https://.

      Nothing I have tried is working.  I need to get this working soon.  Can anyone help me out here?

      I keep getting Unauthorized Access.  

  • otherbear's avatar
    otherbear
    New Contributor
    Hi Renato

    Yes, it works! Thank you very much for your help.

    Regards

    <otherbear>
  • russm's avatar
    russm
    New Contributor
    I am having the same issue and the attached script is not working for me. I am using the Geb Runner. What is the status of this behavior, is this recognized as a bug?

    LoadUI 2.1.1
    Java Version "1.7.0_11"
    Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
    Java HotSpot(TM) Client VM (build 23.6-b04, mixed mode, sharing)