Capstone-campyuk / qe-campyuk-APIAutomation

0 stars 2 forks source link

[BUG] API - Scenario: API PUT as GUEST with blank email (PUT/USERS) #20

Open nesyaraa opened 1 year ago

nesyaraa commented 1 year ago

Scenario: API PUT USERS with blank email Given Base URL is _ and input json body log in put guest When Set method to POST, Set path to login, and click send button Given Put user with blank email and valid token When Send request Put Users Then Should return status code 400 And API should return body message "bad request"

Expected status code <400> but was <200>.

Image

nesyaraa commented 1 year ago

please, change message body "Data Not Found or Not Found" to "bad request" because status code 400