ContributionsMost RecentMost LikesSolutionsRe: having issues with ReadyAPI versioning integration I will give that a try, thank you having issues with ReadyAPI versioning integration Hi All, I am going crazy trying to maintain changes in Git when ever we save ReadyAPI project. Is anyone using file versioning(GIT) with ReadyAPi and how do you get past this issue? Basically, if I make a change to environment, when I save my project the file that I see was updated is settings.xml, however, the way ReadyAPI updates this file makes it difficult for someone else to see what changed. so if two people add a new environment, its difficult to merge the changes using GIT. Re: What is the best way to implement a loop with counter in readyAPI? So if your reading a counter form custom property, first thing you will need to do is convert it to an integer def counter = testRunner.testCase.getPropertyValule("some property name") counter = counter.toInteger() for (counter = 0;counter <= 10;counter++){ do somthing } let me know if this helps Re: Using groovy how to call an existing endpoint and pass in 2 parameters I figured it out see below for my example import groovyx.net.http.HTTPBuilder import static groovyx.net.http.ContentType.* import static groovyx.net.http.Method.* def r = "[1,"createCompany",1,1,{"1":{"rec":{"3":{"str":"2017-02-07"},"4":{"str":"US"},"5":{"rec":{"1":{"i64":255130}}},"6":{"tf":0},"7":{"tf":1},"8":{"i64":1},"9":{"str":"QATestCompany_X14864936528160001"},"10":{"str":"_newcompany"},"11":{"i64":1}}}}]" def http = new HTTPBuilder('https://myservice.service.us.com/') http.request( POST ) { uri.path = 'clientservice/thrift/json' requestContentType = "application/json" body = r response.success = { resp -> log.info "POST response status: ${resp.statusLine}" } } Re: Using groovy how to call an existing endpoint and pass in 2 parameters I will try to explain. so I have predefined endpoints under the "Projects" tab. normally, I can create a REST request and select that endpoint and all works fine. but lets say I wanted to run a request, through Groovy only is there a way to do this ? Using groovy how to call an existing endpoint and pass in 2 parameters I have an existing endpoint request, what I need to do is call an existing endpoint request and pass in 2 parameters using Groovy. SolvedRe: How to convert excel data to json?How to get data as Json from Datasource? Gangadhar, the approach I took is not to build the JSON string on the fly, which can get tricky. Instead what I did is provide teh JSON string in my excel file and using place holders for the values. for instance: so in my excel what I have is 5 columns, column name tcId tcName request column value 1234 test1 [{"tcId":"<tcId>","tcName":"<tcName>","tcDesc":"<tcDesc>","tcType":"<tcType>","tcPriority":"<tcProperity>"}] so basically what I do is go through each variable inside <> and replace it with the value under each column. [ { "tcId":"<tcId>", "tcName":"<tcName>", "tcDesc":"<tcDesc>", "tcType":"<tcType>", "tcPriority":"<tcProperity>" }] Re: Clear custom properties when saving Rao, thanks for the reply. I actually figured out the easiest way to clean up before saving my project. There is a tab called "Saved Script", under Project/Project Settings that runs a script before the project is saved. So what I do so clear out all my properties, etc.. This has helped. Regards, Zique Clear custom properties when saving So, the way I developed my test cases is to copy my data source row to my test cases "Custom Properties", then I run my test. My test runs and it may modify existing custom properties which is fine. So if I save my project, my testcase.xml file shows up as a difference, which is correct behavior but a nightmare for me working with GIT, as I don't really care that my custom properties change. Basically, what I am asking is there a way to clear custom properties when I save my entire project. Re: check if custom property exists that worked. Thank you