Created
November 24, 2022 15:51
-
-
Save eliasnogueira/eae0b09f1cd3931d699eb4cb59d5d7a5 to your computer and use it in GitHub Desktop.
[JavaAdvent] Simulation with a restriction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "Simulation request containing a restriction", | |
"request" : { | |
"url" : "/api/v1/simulations/", | |
"method" : "POST", | |
"bodyPatterns" : [ | |
{ | |
"equalToJson" : { | |
"cpf": "97093236014" | |
} | |
} ] | |
}, | |
"response" : { | |
"status" : 403, | |
"bodyFileName" : "simulation_with_restriction_response.json", | |
"headers" : { | |
"Content-Type" : "application/json" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment