Jump to content


Photo

Separate Redirect Requests


  • Please log in to reply
1 reply to this topic

#1 travistx

travistx

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 13 February 2018 - 04:01 PM

Is there a way to separate out a chain of redirect requests?  I have a chain of 3 requests (2 redirects, followed by a 200 response).  I need to capture a variable from the response of the second redirect.  I don't see a way to do this.  Here's a screenshot if that helps:

 

https://imgur.com/dhrX99P

 

Thanks!



#2 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 665 posts

Posted 14 February 2018 - 05:48 AM

You need to use "Do not follow redirect" option for the first request of a chain. It will prevent WAPT to follow redirect. Then you need to create requests for redirects manually using URLs from Location header. In this case you will be able to process responses for these requests.

Attached File  redirect.png   93.69KB   1 downloads


Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users