I am getting following header in response : HTTP/1.1 200 OK Date: Mon, 11 Apr 2016 10:36:10 GMT content-disposition: attachment; filename=result.xml; x-xss-protection: 1; mode=access Keep-Alive: timeout=5, max=100 I want to read filename from header, how can I use regular expression to capture this value ?
Configure it as follows:
Main sample only
or Main sample and sub-samples
depending on whether header comes in main response or nested responsesResponse Headers
. This bit is super importantfilename
filename=(.+?);
Template: $1$
Refer extracted value as ${filename}
where required
References:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With