Forum Discussion

Akshaj678's avatar
Akshaj678
Occasional Visitor
7 years ago

SoapUI always returns 401 unauthorized

Hi All,

 

I am trying to hit Rest Webservices which are secured by OAuth1.

I am using SoapUI 5.0.4 Version. It has the option of OAuth1 under "Auth" tab in a request.

Despite giving the key,secrets/AccessToken,TokenSecret also I am getting 401.

Can someone please help me???

Will be awaiting for someone's response.

 

Regards,

Akshaj.

  • Hi Akshaj678,

     

    First just check what error you get in SoapUI logs.

     

    Then try to fetch your service outside of soapUI

     

    Then try valiadting the Auth Settings you are using.

     

    Click the "Accept as Solution" button if my answer has helped, and remember to give "kudos" where appropriate too!

     

    Regards,

    Himanshu Tayal