How To Resend Received Cookies

Help Topics
Sometimes it can be useful to include cookies and their values received with the previous request in the request data of the next request. This option can be specified for every request item in the Cookies tab.

If you would like to resend recevied cookies with the particular request item, follow this procedure:
  • Create first request item and select option Do not resend any cookies from the previous request in the Cookies tab. Also make sure that this item will return some cookies in its response data.
  • Create second request item and select option Resend all cookies from the previous request in the Cookies tab. This assures that second request item will obtain all received cookies from the first item response data and send it back to the server with its request data.
  • Execute both items together in a batch in the correct order; first item, followed by the second item.
  • Inspect both item's execution data to verify that the second item included Cookie request header with cookies and values received in the response data of the first item.
Important
Note that it is not possible to specify cookie values with this feature; values will be obtained from received cookies and added automatically. If you would like to add some custom cookies and their values, use corresponding field for adding cookies manually or specify Cookie request header. See the corresponding topic for more information.