Forum Discussion

richie's avatar
richie
Community Hero
6 years ago

I need to grab some cookies for later use....

Hi,   This new thing I'm testing has some new OAuth security and the first thing I need to do is grab some cookies from the request.   I've never done this before - I know - weird - right? ...
  • JustinM89's avatar
    JustinM89
    6 years ago

    That was just for my testing -- you would just replace that with:

     

    testRunner.testCase.testSteps["GET Cookies"].testRequest.response.responseHeaders["Set-Cookie"]