Forum Discussion

venuwin's avatar
12 years ago

Not able to authenticate HTTPS URLs

Hi,

I am using soapUI 4.6.4. I need to test restful services deployed on 2 different servers.
One server exposes the services over plain HTTP and the other server exposes over HTTPS URL.

HTTP is fine when i give the credentials in the auth section in soapUI.

But when I give HTTPS URL and invoke the rest service, I always get login page as response.

I might even be doing something really stupid. Please help.

Thanks
Venu
  • GiscardN's avatar
    GiscardN
    Frequent Contributor
    Hi,

    When you put the https URL in a browser, are you prompted to enter credentials?
    If that is the case, I suggest that in your TestCase you first authenticate to your service using an HTTP Test Request where you provide your credentials, then open your TestCase configuration an select the "Maintain HTTP session" option. Then have your REST TestStep following the authentication step.

    Regards,

    Giscard
    SmartBear Support