Load Testing · Middle · Question 36 of 76

How do you pass a token from a login response to the next request in JMeter?

Show the answer

Correct answer: Extract it with a JSON or Regular Expression Extractor into a variable

Explanation

Post-processors parse the response and store values as variables. The next sampler uses them, e.g. Bearer ${token}.

Further reading

Problem with a question

Load Testing · Middle · question 36

Test yourself

Take the Load Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz