摘要:比较两个JSON, ID是数字时,处理成统一的格式:只保留小数点后5位
阅读全文
摘要:问题: 公司之前可以通过POP3协议收发邮件,因而在SoapUI中用JavaMail可以读取邮件,后来配置了Office 365,POP3协议端口不再开放,邮件全部读取失败,报login timeout,需要改用EWS(Exchange Web Service)协议。 参考 : http://blo
阅读全文
摘要:重载JSONComparator比对JSON Response,忽略小数点后几位,将科学计数法转换为普通数字进行比对,在错误信息中打印当前循环的case number及其他附加信息 SoapUI里面如此调用:
阅读全文
摘要:重载JSONComparator比对JSON Response,忽略小数点后几位,将科学计数法转换为普通数字进行比对 封装的脚本: SoapUI里面如此调用 输出结果: 如果是通过获取test step的response来比对,脚本如下:
阅读全文
摘要:https://www.tutorialspoint.com/groovy/index.htm
阅读全文
摘要:cd %WORKSPACE%cmd /c call "%READYAPI_PRO_190%\bin\testrunner.bat" -a -j -s"%TestSuiteToRun%" -PtestAndBmkEnv="%Comparison_Environment%" -f"%WORKSPACE%
阅读全文
摘要:import java.util.*; import java.text.SimpleDateFormat; // current date String dateNew = today() // tomorrow String tomorrow = tomorrow() // yesterday String yesterday = yesterday() // the day be...
阅读全文
摘要:http://www.soapui-tutorial.com/
阅读全文
摘要:http://jsonassert.skyscreamer.org/ 从这个网站下载jsonassert-1.5.0.jar ,也可以下载到源代码 SoapUI里面没有这个jar,把它放在lib目录下,在SoapUI里面调用如下:
阅读全文
摘要:https://support.smartbear.com/readyapi/docs/soapui/running/automating/cli.html Use the test runner to run functional SoapUI NG tests from the command
阅读全文
摘要:${=java.util.UUID.randomUUID()} is OK
阅读全文
摘要:Environment Get active environment via groovy script Set active environment via groovy script Get request Get request header via messageExchange Get t
阅读全文
摘要:打开TestSuite有一个地方可以设置Setup Script
阅读全文
摘要:https://stackoverflow.com/questions/51927/how-to-check-if-element-in-groovy-array-hash-collection-list
阅读全文
摘要:http://chenfeng0104.iteye.com/blog/609075 http://www.cnblogs.com/muzi1994/p/5169928.html https://zhidao.baidu.com/question/1925109968157524147.html
阅读全文
摘要:https://www.ibm.com/developerworks/cn/java/j-pg04149.html?ca=drs-cn-0605
阅读全文
摘要:http://www.jianshu.com/p/d6b76697d831
阅读全文
摘要:import com.eviware.soapui.support.GroovyUtils def groovyUtils = new GroovyUtils( context ) def realId = context.expand( '${Save#Response#$[\'data\'][\'portfolioId\']}' ) log.info realId testRunner...
阅读全文