Introduction
A condition block lets you run code only when certain things are true. It helps you check if your API response is correct or handle different cases.
Check if an API response status is 200 before testing the data.
Run different tests depending on the value of a response field.
Skip tests when a required field is missing in the response.
Log a message only if an error occurs in the response.