Forum Discussion

richie's avatar
richie
Community Hero
5 years ago
Solved

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
    5 years ago

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

     

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