Combine dynamic values with RegExp Match
- Dynamic Values
- Combine dynamic values with RegExp Match
You can combine dynamic values with RegExp Match to extract a particular value from a dynamic field. This way it will automatically update when the field it points to gets a new value. Here are the most common use cases for RegExp Match:
- get a value out of a response raw body
- extract a value from a header (e.g. session id from a redirect URL)
- get a csrf token from a response header or raw body
- extract part of a JSON field
- get a value from a file with dynamic content
The steps below show how to combine RegExp Match with Response Header
dynamic value to extract a session id
from a redirect URL. For other use cases the algorithm will be very similar, just the dynamic values it is combined with will differ.
Install and insert RegExp Match
Install and insert RegExp Match
Send the login request to get the redirect URL. Install the RegExp Match extension and insert it in the field where you need the value from the URL received in the login request.