If you need to save the whole answer in a variable, follow these steps:
Alternatively, you can do the same with Extractor Regular Expression, in which case the appropriate configuration would be:
- Reference Name:
response - Regular expression:
(?s)(^.*) - Template:
$1$
If you need a part of the answer, and not the whole answer, you can change the regular expression according to your needs according to Regular Expressions in the chapter of JMeter User Guide
source share