ContributionsMost RecentMost LikesSolutionsRe: Possible to use JSON Data from external file against the PATCH/PUT request? Works fine for PUT/Patch too as confirmed by Richie....Thanks 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 am not sure if this will work for the PUT/PATCH requests too? I don't think it is working correctly against PATCH. https://community.smartbear.com/t5/API-Functional-Security-Testing/How-to-extract-JSON-data-from-external-file-as-Datasource-via/td-p/164141 Q2) Also the request is going to have the parameters in them. Does the parameter values gets considered while submitting PATCH requests in such a way? Thanks for your help.. SolvedRe: ReadyAPI - Dynamic POST using .xml files or using .csv file that are saved in the directory That's all good now. Solution has worked. I found that on my directory step i had the slashes the wrong way. It is working fine now... Re: ReadyAPI - Dynamic POST using .xml files or using .csv file that are saved in the directory Any solution to this problem? Re: ReadyAPI - Dynamic POST using .xml files or using .csv file that are saved in the directory In my example it should be as below which i am picking up from right click>>Getdata so its automatic. I am not changing the names or anything and i have tried test again. It is failing with the same exact errors i have posted previously. Does the value of Media Type down matter? I have tried with multiple dorp downs though. ${DataSource#fileContents} Re: ReadyAPI - Dynamic POST using .xml files or using .csv file that are saved in the directory Thanks for your reply and sorry for late reply from my side. I kept on trying this few times but doesn't work. I guess i am not setting up the Media Type correctly? I have tried setting up with text/xml as well as application/xml and none of them has worked. I am seeing the attached error. I have attached few more screen shots shwoing you the test steps. I have also attached the actual XML screen shot 2. May be an XML issue or media type issue? Just dont know. Tried few different ways. Simply posting the XML content as is works perfectly well. Only when using it via File/directory it fails. Refer to screen shot 4(capture_3) to see the success when tried normal way. Your help much appreciated. Thanks ReadyAPI - Dynamic POST using .xml files or using .csv file that are saved in the directory I am using ReadyAPI (SOAPUI) POST method. I would like to POST content from an external file. 1) In the media type drop down I select application/xml ORapplication/json 2) And in the area where we put the actual payload, I would like to use the external file path so that content of that extenral file can be read and gets Send via POST method. Is above achievable? I can see it can be done for SOAP requests as per -https://www.soapui.org/docs/data-driven-tests/using-files.html BUT i am not sure if its possible to it for REST Request for POST method. I have been googling for days but can't find a solution so any help would be much appreciated. Basically my need is that i will have a bunch of XML payloads created at the given directory which i will need to send via POST method. I know how to make it data driven using DataSource/Loop but not sure if i can send POST request that exists as an external file. I hope i have explained the question correctly. Any further questions please let me know. Thanks for your help in advance. Solved