Service Virtualization

 View Only
  • 1.  -- UPDATED -- Does recording process change Authorization Header?

    Posted Jul 13, 2016 03:25 PM


    I'm attempting to record a REST service right now.  The client is sending an Oauth token in an Authorization header.  When the recorder forwards the request onto the live service, the live service is returning a Response Code 401 "Unauthorized" because it says that the Oauth Signature is invalid.

     

    So is the recorder somehow modifying that Oauth token?



  • 2.  Re: -- UPDATED -- Does recording process change Authorization Header?

    Posted Jul 13, 2016 05:12 PM

    In the normal workflow, the client makes a call to an Oauth server, receives a token, and then inserts that token into the Authorization header of the GET request that gets sent to the live service

     

    Given that case, would I also need to virtualize that call that gets made to Oauth?

     

    --UPDATE--

    Any input? Deleted User Prem_Bairoliya Naga.Jayadev chagu04