Forum Discussion

RupertKent's avatar
RupertKent
Occasional Contributor
15 years ago

[Resolved] Authentication Capability

Hello all,

Firstly, I'd like to say thankyou to eviware for providing an easy-to-use HTTP load testing tool. It's a breath of fresh air to see such a solution. The fact that it is offered free of charge really is fantastic.

My situation dictates that Kerberos authentication is used (as part of SSO) on the HTTP Intranet environment I wish to test. This would be a very welcome addition to loadUI, particularly as none of the alternative freely available applications support Kerberos.

I am able to bypass Kerberos and offer a regular User ID and Password authentication, but this is also not currently supported in loadUI. Again, this would be a very welcome addition. Of course, many if not most of the alternatives support some form of authentication. Without either of these methods, I am unable to use exclusively loadUI to test my environment, which is a shame.

Thanks again and keep up the good work...!

9 Replies

  • Hi,

    Thank you for using our tool and givng us feedback! Unfortunately we do not currently have Kerberos support, but as you are able to use regualr HTTP authentication, you can create a TestCase in soapUI (which supports HTTP auth) and run it in loadUI using the soapUI Runner component.

    We are working on adding HTTP authentication support to the Web Runner in loadUI, so stay tuned for that!

    Regards,
    Dain
    eviware.com
  • The Web Page Runner now supports authentication (via settings > authentication[/font:1e6cgspf] or username:password@domain.org[/font:1e6cgspf]). Have a look at the latest nightly-build.

    If the latest build doesn't work for some reason, I've attached the component file:

    Regards!

    /Henrik
    eviware.com
  • RupertKent's avatar
    RupertKent
    Occasional Contributor
    Hi chaps,

    Many thanks for your fast response. I'm trying to pull down the latest build now, but it appears that over the weekend, my client's IT guys have decided to block the downloading of exe files...! I'll post back once I get it tried out. Again, many thanks.
  • RupertKent's avatar
    RupertKent
    Occasional Contributor
    Hi Henrik,

    Firstly, thansk for your efforts. I got loadUI installed on my machine. I am unsure which build as it had to pass through our stringent security lab first (a feature of the business in which I work I am afraid) as such I don't know when it was actually downloaded. Foldername is 1.0.1 - If you can tell me how to find the absolute version number I will be happy to report it.

    Anyway, the authentication feature you mention does not appear (or I am looking in the wrong place). I replaced the WebRunner.groovy with the version you posted above and although loadUI runs, I cannot drop a WebRunner onto the workspace, only a soapUI runner. Changing the script file back to the one supplied with the build and the WebRunner is available again.

    Any thoughts as to how I can sort this. It's really very promising.

    Thanks in advance...!
  • RupertKent's avatar
    RupertKent
    Occasional Contributor
    Brilliant...! The menu option appears. Many thanks I just need to figure out now how to get it to authenticate with our Jahia server...! No idea at this moment, but I'll see what I can do.

    How does the authentication work...? NTLM...? NTLMv2...? In-URL...?

    Thanks guys. Great effort and most appreciated.
  • Glad you like it!

    It's currently supports Basic/Digest. The credentials can be entered in the settings as well as in the url field (in user:pass@domain.org format).

    NTLMv1 and NTLMv2 support has been put in our backlog.

    /Henrik
    eviware.com
  • RupertKent's avatar
    RupertKent
    Occasional Contributor
    Many thanks Henrik.

    Unfortunately, our platform (Jahia) necessitates some bizarre form of authentication (I am having to bypass the regular Kerberos based SSO). Instead of cookies or session encoded in the URL ir uses some sort of JavaScript Session ID file. Anyway, I have requested the responsible removes the requirement for authentication completely in the test environment so I can hit it without having to try and figure out the intricacies of this bizarre Jahia authentication mechanism.

    I'll post back here as soon as I get it all set up.

    Again, many thanks for your continued support. Most impressive.

    Rupert
  • RupertKent's avatar
    RupertKent
    Occasional Contributor
    Hi guys,

    In the end, I had to siable the authentication on my Jahia box as it uses JS Session ID which was a nightmare. Anyway, the load tests are going great...! One problem I have which I will post in the appropriate area shortly.

    Thanks again...!

    Rupert