ContributionsMost RecentMost LikesSolutionsRe: Groovy Script to test Rest Post Method with Json file and xml file with headers really thanks for the sample, will try with this reference... Re: Groovy Script to test Rest Post Method with Json file and xml file with headers please tell me how to attach a file to a request and how to send a JSON/xml body. how to add headers (authorisation key, content type) on request body... Re: Groovy Script to test Rest Post Method with Json file and xml file with headersActually, using the above sample I am able to call the get method, Buy I don't know to to set a method as post, and how to attach the JSON file for post request, and hot to set headers.... Earlier I used rest assured API for rest web services, but now I tried the same for soap ui with Groovy scripting not an soap ui interface...Re: Groovy Script to test Rest Post Method with Json file and xml file with headers i want to test the rest services using soap Ui with groovy scripting. i have the code for get method , like below sample import com.eviware.soapui.model.iface.Submit def uri = "http://jsonplaceholder.typicode.com/posts/1" WsdlProject project = new WsdlProject() RestServiceBuilder serviceBuilder = new RestServiceBuilder() serviceBuilder.createRestService(project, uri) println "service name: "+project.getInterfaceList()[0].name println "Resource: "+project.getInterfaceList()[0].getOperationList()[0] RestRequest request = project.getInterfaceList()[0].getOperationList()[0].getRequestList()[0] Submit submit = (Submit) request.submit( new WsdlSubmitContext(), false ); Response response = submit.getResponse(); String responseContent = response.getContentAsString(); println( responseContent ); but i dont know how to start with Post Method with Json or xml attachement.... Groovy Script to test Rest Post Method with Json file and xml file with headers please provide some samples for the below task, Groovy Script to test Rest Post Method with Json file and xml file with headers i have to create a groovy step, for Rest. Sample code for soap webservices testing using soap ui Lib's from eclipse, not a soap ui plugin. Hi Soap UI Team, i am using soap ui free version, i am interested to integrate selenium with soap ui Automation in eclipse, so my approach is simple i copy paste the soap ui lib folder into eclipse build path then reuse the soap ui groovy functions, is it possible? if possible please share me some sample code. dsathishupm@gmailcom Sample code for soap webservices testing using soap ui Lib's from eclipse, not a soap ui plugin. Hi Soap UI Team, i am using soap ui free version, i am interested to integrate selenium with soap ui Automation in eclipse, so my approach is simple i copy paste the soap ui lib folder into eclipse build path then reuse the soap ui groovy functions, is it possible? if possible please share me some sample code. dsathishupm@gmailcom