ContributionsMost RecentMost LikesSolutionsWADL QUERY 1)when we create a new project how to get WADL file name or URL or REST URL ? in my project I found this but I am not understand from where we got this URL,is it related to license or something else ? 2)what is the difference between WSDL and WADL ?can we use WSDL in rest payload? attached doc for reference.I just import this project and worked. Solvedsink issue Hi, I use below script to sink promotions data in a excel sheet,script is working fine .my question is -1)if Column-"isGlobal "=true for any id then I got results as-true but if "isGlobal" =false then that data not displayed in the results,how to fix this ? 2)Also I want to highlight all my columns name in bold or in different colour so that anyone can easly identify, how to do this part ? attached my request and response for reference.In my response i got 2 id-537 and 518.for 537-isGlobal=true and 518-isGlobal=False script details:- def json = new groovy.json.JsonSlurper().parseText(context.response) def promotions = json.personalizedOffers*.validCoupon.promotion //You may add more columns if needed def columns = ['id','isGlobal', 'categoryType' ] def sb = new StringBuffer() sb.append(columns . join(' , ')).append('\n') def buildPromotionData = { promotion -> columns.eachWithIndex { key, index -> promotion[key] ? sb.append(promotion[key]) : sb.append('') (index+1 != columns.size()) ? sb.append(' , ') : sb.append('\n') } } promotions.each { buildPromotionData(it) } log.info sb.toString() testRunner.testCase.getTestStepByName("DataSink").setPropertyValue("promotions", sb.toString()) Re: how to get data using array concept Thanks,code is working fine. Re: how to get data using array concept Hi Avidcoder, when i run this script i got 1 error message,script unable to findout this text file.. which text file is this ? C:\\Users\\Desktop\\json.txt Re: how to get data using array concept when i run this script i got 1 error message,script unable to findout this text file.. which text file is this ? C:\\Users\\Desktop\\json.txt Re: how to get data using array concept sure,this is a great help,thanks. Re: how to get data using array concept hi , Thanks for your Help. with this code i got the data but I want to sink this data to excel sheet where other data are sinked as per my scnerio.how to sink this data to a excel sheet ? how to get data using array concept HI, we have a client requirement to capture createtime,lastupdatetime,shortdescription,longdescription fields data for each Promotion from my response to a external source.so this Promotion depends upon configuration setting-its not like always 1 promotion, may be 2 or 3 for each request,depends upon the req/scnerio.below is my response.please suggest how to capture this all data by using Array concept.If 1 Promotion then i used that Datasource/sink concept and extract to my excel sheet but if more than1 promotion then this is not the right approch. attached response for your references. SolvedRe: html report format issue this is working fine,Thanks for your help. below is the script. def testStepName def method def statusCode def endpointURL def str testCase.testStepList.each{ testStepName = it.name if(it in com.eviware.soapui.impl.support.http.HttpRequestTestStep){ method = it.getHttpRequest().getResponse().getMethod() statusCode = it.testRequest.response.responseHeaders["#status#"][0] endpointURL = it.getHttpRequest().getResponse().getURL() str = "<tr><td>${testStepName}</td><td>${method}</td><td>${statusCode}</td><td>${endpointURL}</td></tr>" file.append(str) log.info method log.info statusCode log.info endpointURL } } file.append("</tbody></table></HTML>") file.close() html report format issue hi, I want to generate HTML report for my execution,so for that i designed Setup script and Teardown script which is working fine If my testcase have teststeps only (attached script and report(screen-1))-i.e 1 request or multiple requests but if my testcase have requests with datasource and Datasink or any of the testcase is disabled then i am unable to generated report-error message displayed(screen 2),not sure how to fix this issue.need help. I have attached both the setup script in text file. error detail "com.eviware.soapui.support.scripting.ScriptException: Error in TearDown Script of I1_TS3_Recommendation Dedupe/Merge/Sort" Solved