随笔分类 -  SoapUI

上一页 1 2 3 4 5 下一页

摘要:import com.eviware.soapui.support.types.StringToStringMap def hearderMap = new StringToStringMap() def apiKey = '${#Project#ApiKey}' def productId='${#Project#X-API-ProductId}' def requestId='${#Pr... 阅读全文

posted @ 2017-05-24 09:50 张缤分 阅读(6092) 评论(0) 推荐(0)

摘要: 阅读全文

posted @ 2017-05-10 12:42 张缤分 阅读(288) 评论(0) 推荐(0)

摘要:https://www.soapui.org/reporting/the-report-datasink.html 阅读全文

posted @ 2017-05-10 10:35 张缤分 阅读(225) 评论(0) 推荐(0)

摘要:import com.eviware.soapui.support.GroovyUtils def groovyUtils = new GroovyUtils( context ) def holder = groovyUtils.getXmlHolder( "checkProgressOfRunExport#ResponseAsXml" ) //Check whether the data... 阅读全文

posted @ 2017-04-07 10:19 张缤分 阅读(715) 评论(0) 推荐(0)

摘要:import java.text.SimpleDateFormat GregorianCalendar calendar = new GregorianCalendar() def dateFormat = new SimpleDateFormat("yyyyMMddhhmmss") def currentTime = dateFormat.format(calendar.getTime()... 阅读全文

posted @ 2017-04-06 10:13 张缤分 阅读(678) 评论(0) 推荐(0)

摘要:import com.eviware.soapui.support.GroovyUtils import java.util.regex.* //Get response def groovyUtils = new GroovyUtils( context ) def holder = groovyUtils.getXmlHolder( "addSecurity#ResponseAsX... 阅读全文

posted @ 2017-04-05 15:26 张缤分 阅读(1642) 评论(0) 推荐(0)

摘要:https://www.soapui.org/scripting-properties/tips-tricks.html 阅读全文

posted @ 2017-03-15 15:12 张缤分 阅读(149) 评论(0) 推荐(0)

摘要:String testResultPath = testRunner.testCase.testSuite.project.getPropertyValue( "testResultPath" ) def clientName = testRunner.testCase.testSuite.getP 阅读全文

posted @ 2017-03-10 14:57 张缤分 阅读(503) 评论(0) 推荐(0)

摘要:如果response的Content-Encoding是gzip或者Transfer-Encoding是chunked,在SoapUI里面是无法显示出来的。 解决办法:在Request的Header里面设置Accept-Encoding为deflate 阅读全文

posted @ 2017-03-09 14:52 张缤分 阅读(1361) 评论(0) 推荐(0)

摘要:在Environments里面设置就好了 阅读全文

posted @ 2017-03-06 14:37 张缤分 阅读(761) 评论(0) 推荐(0)

摘要:https://www.soapui.org/getting-started/mock-services.html 阅读全文

posted @ 2016-04-29 13:52 张缤分 阅读(230) 评论(0) 推荐(0)

摘要:import com.eviware.soapui.support.GroovyUtilsdef groovyUtils = new GroovyUtils( context )def projectDir = groovyUtils.getProjectPath()log.info "The pr... 阅读全文

posted @ 2015-12-17 15:34 张缤分 阅读(2016) 评论(0) 推荐(0)

摘要:log.info testRunner.testCase.testSuite.project.getActiveEnvironment().getName() 阅读全文

posted @ 2015-12-03 09:06 张缤分 阅读(250) 评论(0) 推荐(0)

摘要:cd %WORKSPACE%cmd /c call "D:\Program Files\SmartBear\ReadyAPI-1.3.1\bin\testrunner.bat" -a -j -sLogin -PprojectPath="%WORKSPACE%" -f"%WORKSPACE%\resu... 阅读全文

posted @ 2015-09-11 16:34 张缤分 阅读(261) 评论(0) 推荐(0)

摘要:JSONPath expressions can use the dot–notation $.store.book[0].title or the bracket–notation $['store']['book'][0]['title'] The following XPath express 阅读全文

posted @ 2015-08-31 13:44 张缤分 阅读(2913) 评论(0) 推荐(0)

摘要:设置邮件内容:Default ContentProject : PA_Regression_Accuracy_Static Build Status : ${BUILD_STATUS} Automation Tool : SoapUI TP vs Live Test Results : TP ... 阅读全文

posted @ 2015-07-28 10:54 张缤分 阅读(570) 评论(0) 推荐(0)

摘要:Hi All,I have posted the SOAPUI and Groovy useful commands that may help you in your testing. Below are the commands collected from various websites a... 阅读全文

posted @ 2015-07-27 13:46 张缤分 阅读(2244) 评论(1) 推荐(0)

摘要:https://www.soapui.org/test-automation/running-from-command-line/functional-tests.html TestRunner Command-Line Arguments To run functional tests from 阅读全文

posted @ 2015-07-23 15:52 张缤分 阅读(1075) 评论(0) 推荐(0)

摘要://Get response content of the current requestdef response = messageExchange.getResponseContent()//Check dataassert response.contains("uaL5ist"), "FAIL... 阅读全文

posted @ 2015-07-17 17:21 张缤分 阅读(885) 评论(0) 推荐(0)

摘要:import com.eviware.soapui.support.GroovyUtilsdef groovyUtils = new GroovyUtils( context )def projectDir = groovyUtils.projectPathdef proc = [ 'cmd', '... 阅读全文

posted @ 2015-07-16 14:30 张缤分 阅读(1018) 评论(0) 推荐(0)

上一页 1 2 3 4 5 下一页

导航