Capstone-campyuk / qe-campyuk-APIAutomation

0 stars 2 forks source link

[BUG] API - Scenario -API POST BOOKING CALLBACK BY MIDTRANS with blank transcantion_status #53

Closed nesyaraa closed 1 year ago

nesyaraa commented 1 year ago

Scenario: API POST BOOKING CALLBACK as with blank status guest Given Base URL is _ and input json body log in "nesyaraaUSER" as username and "PUTUSER123" as password When Set method to POST, Set path to login, and click send button Given Post booking callback with blank status When Send request Post booking callback Then Should return status code 404 And API should return body message "booking not found"

expected result : 400 Bad Request actual result : 200 OK Image

helmimuzkr commented 1 year ago

FIXED - given an empty string in the status field, error code 400 bad request will be returned

Image