Service Virtualization

Expand all | Collapse all

how to enable (OAuth) pre-emptive auth (like SOAPUI) in devtest 9.5 for REST service?

Jump to Best Answer
  • 1.  how to enable (OAuth) pre-emptive auth (like SOAPUI) in devtest 9.5 for REST service?

    Posted 07-17-2018 02:33 AM

    A REST service is working when enabling pre-emtive auth ('Authenticate pre-emtively' and not with 'Use global preferences') in SOAPUI. Not sure how to enable the same in devtest. I am using correct username-password in REST step URL component but getting 401 error code. Please suggest solution ASAP



  • 2.  Re: how to enable (OAuth) pre-emptive auth (like SOAPUI) in devtest 9.5 for REST service?
    Best Answer

    Broadcom Employee
    Posted 07-17-2018 09:13 AM

    Please see HTTP Authorization Properties-->lisa.http.preemptiveAuthenticationType in 

    Local Properties File - DevTest Solutions - 10.3 - CA Technologies Documentation



  • 3.  Re: how to enable (OAuth) pre-emptive auth (like SOAPUI) in devtest 9.5 for REST service?

    Posted 07-19-2018 05:25 AM

    by uncommenting 'lisa.http.preemptiveAuthenticationType=basic' in local.properties file I am able to proceed, thanks