added
Variables in API test assertions
over 4 years ago by Eugene Krylov
You can now create variables based on API test response data without the need for scripting. That way you can easily capture dynamic values from one API step response and use those values in another step for its URL, request payload, and assertions.

Using a variable in the POST request body.
When making assertions based on a variable, you can type in the variable name on its own (e.g. {{myVariable}}
) or compose a string of static and variable values such as Your {{productName}} order
.

Asserting that the JSON Body contains FirstName property that should equal the value of FirstNameVar.