ZP
4 years agoOccasional Contributor
Possible to use JSON Data from external file against the PATCH/PUT request?
In ReadAPI (SOAPUI), I have a need to submit multiple patch JSON requests that are stored in the directory. Q1) I have looked at the following solution that works for the POST requests but i...
- 4 years agoHey ZP,
Answer to Q1. The method shouldn't make any difference. I've used both PUT, PATCH and POST using a datasource (directory) step and it worked fine. What version of ReadyAPI! are you using? More importantly, what makes you believe it's not working correctly?
Answer to Q2. Can you rephrase your question please? as i'm not understanding the question you asked.
In the meantime however, REST requests by definition supports parameters (either URI/Resource/Template or Query, or Matrix, or Header parms).
You can also parameterise attributes in the payload you are submitting. The parameters form part of the request.
Ta
Rich