Extracting and checking

This part reads an answer. An extractor takes a value out of a response and puts it in a variable, which the request after it uses; an assertion decides whether an answer is acceptable. Together they turn a plan that sends requests into a test that proves something: the token of a login, the count of a list, the title of a page, and a latency budget.

029 Regex and boundary extractors two extractors on one response, and the variable each one sets Open 030 JSON and CSS selector extractors the JSON extractor and the CSS selector extractor on the course server Open 031 Response, JSON and duration assertions three assertions, each proved by a passing and a failing run Open 032 Correlation: a login flow a token out of the JSON and into the header of the next request Open 033 The Debug Sampler and a results tree the variables of a run, and a View Results Tree written to a file and read back Open

Lessons