You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps : 1. Create a service with two RR Pairs(1st RRpair : Request payload is blank, Response Payload is valid response , 2nd RR Pair : valid Request Payload, Response Payload) for the POST methods
2.Service created successfully.
3. Open any REST Client/Test Service functionality and give 2nd Request payload.
Actual Result : Getting 1st request response payload instead of 2nd request response payload.
The text was updated successfully, but these errors were encountered:
I analysed it more. If there is no payload (req body) then GET HTTP method is perfect. So in this case if you set first request as Get HTTP request, you would not face this issue.
Also suppose there is a test case where you make 2 or 3 HTTP Get request. First with normal GET request without body and others is with request body. You would always get response from first request(without req. body) only. This is because It doesn't matter whether you set a req. body with Get request or you don't set any body. Both are equal. This will behave as duplicate request internally. That is why Get request is not meant to have a body and if you need a req. body use post method there. OR if you are not using any req. body then always use a GET method.
Steps : 1. Create a service with two RR Pairs(1st RRpair : Request payload is blank, Response Payload is valid response , 2nd RR Pair : valid Request Payload, Response Payload) for the POST methods
2.Service created successfully.
3. Open any REST Client/Test Service functionality and give 2nd Request payload.
Actual Result : Getting 1st request response payload instead of 2nd request response payload.
The text was updated successfully, but these errors were encountered: