We will get responses from api or external service . there are two type of responses , we will get .
positive response ->success case
Negative response ->failure case
we have to mention all responses in Raml file.
Step1:-
Create a specific folder for “Response”
Step2:-
Create files like 200.json,401.json,400.json,500.json
Step3:-
We will refer these file into rootfile(main file) and will use “!include” keyword.
Step4:-
validate your responses