REST AssuredEasyBasics10 min

GET request with status and field validation

Call GET /users/2, assert 200 and that data.first_name equals "Janet".

Example

Input

—

Output

—
Hints (1)
  1. given().spec(...).when().get(...).then().statusCode(...).body(...)

Your solution

This challenge needs a specialist runner. Automatic execution is unavailable for this challenge type.

Reference solution

Sign in for solution