Given
I use the JSONPlaceholder API with base URL "https://json-placeholder.mock.beeceptor.com"
< 1ms
Given
the endpoint is "/login"
< 1ms
When
I send a POST request with body '{"username":"michael","password":"success-password"}'
23ms
Then
the response status should be 200
< 1ms
And
the response should contain the field "token"
< 1ms