07 2015 档案

摘要:@echo offrem connect to szotpc801net use * /del /yesNET USE X: \\10.66.234.95\d$ Autotest123 /user:SZDOMAIN1\autotester set AutoPath=%~dp0%AutoPath:~0... 阅读全文

posted @ 2015-07-30 09:23 张缤分 阅读(729) 评论(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 张缤分 阅读(1076) 评论(0) 推荐(0)

摘要:If you’ve been using Windows for as long as I have, you have probably run into your share of weird error messages. One that I got recently when trying... 阅读全文

posted @ 2015-07-20 09:32 张缤分 阅读(698) 评论(0) 推荐(0)

摘要:jmap -dump:live,format=b,file=D:\heap.bin 3156 3156是PID 阅读全文

posted @ 2015-07-17 19:48 张缤分 阅读(157) 评论(0) 推荐(0)

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

posted @ 2015-07-17 17:21 张缤分 阅读(886) 评论(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)

摘要:echo. >> %WINDIR%\system32\drivers\etc\hosts & echo xxx.xxx.xxx.xx test_host >> %WINDIR%\system32\drivers\etc\hosts 阅读全文

posted @ 2015-07-16 12:34 张缤分 阅读(425) 评论(0) 推荐(0)

摘要:@echo offset sourcePath=D:\DOAutomationTest\automation_do_ma_soapui\TestResult\PAset targetPath=\\szotwin2k801\AutomationReport\PAset directoryName=%d... 阅读全文

posted @ 2015-07-16 11:29 张缤分 阅读(371) 评论(0) 推荐(0)

摘要:在命令行窗口输入“shutdown -s”, 关闭远程计算机在命令行窗口输入“shutdown -r”, 重新启动远程计算机 阅读全文

posted @ 2015-07-16 10:06 张缤分 阅读(687) 评论(0) 推荐(0)

摘要:set reportPath=D:\AutomationReportcd /d %reportPath%forfiles /p %reportPath% /s /m *.xml /d -7 /c "cmd /c del /f @path">nul 2>nulfor /f "tokens=*" %%a... 阅读全文

posted @ 2015-07-15 17:32 张缤分 阅读(561) 评论(0) 推荐(0)

摘要:import com.eviware.soapui.support.GroovyUtilsimport com.eviware.soapui.support.XmlHolderimport org.w3c.dom.Nodeimport org.apache.commons.lang.StringUt... 阅读全文

posted @ 2015-07-14 11:18 张缤分 阅读(410) 评论(0) 推荐(0)

摘要:import org.apache.poi.ss.util.*XSSFWorkbook workbook = new XSSFWorkbook()XSSFSheet sheet = workbook.createSheet(sheetName)sheet.setAutoFilter(CellRang... 阅读全文

posted @ 2015-07-14 09:38 张缤分 阅读(447) 评论(0) 推荐(0)

摘要:import static java.lang.Math.* import java.text.NumberFormatimport java.awt.Colorimport com.eviware.soapui.support.GroovyUtilsimport com.eviware.soap... 阅读全文

posted @ 2015-07-10 18:10 张缤分 阅读(436) 评论(0) 推荐(0)

摘要:import java.text.NumberFormat;//获取格式化对象NumberFormat format = NumberFormat.getPercentInstance();//设置百分数精确度2即保留两位小数format.setMinimumFractionDigits(2);//... 阅读全文

posted @ 2015-07-10 17:46 张缤分 阅读(881) 评论(0) 推荐(0)

摘要:可以按照如下设置创建冻结窗口。sheet.createFreezePane( 3, 2, 3, 2 ); 前两个参数是你要用来拆分的列数和行数。后两个参数是下面窗口的可见象限,其中第三个参数是右边区域可见的左边列数,第四个参数是下面区域可见的首行。// 冻结第一行sheet.createFr... 阅读全文

posted @ 2015-07-10 17:16 张缤分 阅读(3140) 评论(0) 推荐(1)

摘要:1. 获取TP和Live的xml response2. 以其中一个数据点 ticker 为基准进行比较,ticker相同才进行比对3. 从外部文件读取各个数据点允许的偏差值,偏差范围以内的不同认为是正常4. API中的数据点提供的是Data ID, 而用户希望错误日志以UI上的Data Name进行... 阅读全文

posted @ 2015-07-10 14:48 张缤分 阅读(315) 评论(0) 推荐(0)

摘要:http://codecombat.com/ 阅读全文

posted @ 2015-07-08 11:28 张缤分 阅读(123) 评论(0) 推荐(0)

摘要:把 def holder = groovyUtils.getXmlHolder("Get Token#Response") 改为def holder = groovyUtils.getXmlHolder( "Get Token#ResponseAsXml" ),即加了AsXml就可以了 阅读全文

posted @ 2015-07-07 18:13 张缤分 阅读(642) 评论(0) 推荐(0)

摘要:如果文件已经存在,先删除,然后向文件中追加失败信息if(maxRecordFail>0){ def testResultFile = new File(projectDir+"\\TestResult\\PA_Integration Testing\\"+ currentStepName+".... 阅读全文

posted @ 2015-07-07 10:41 张缤分 阅读(912) 评论(0) 推荐(0)

摘要:context.expand 和 groovyUtils.getXmlHolder 有什么不一样?互相之间怎么转换import com.eviware.soapui.support.GroovyUtilsdef groovyUtils = new GroovyUtils( context )def ... 阅读全文

posted @ 2015-07-07 10:22 张缤分 阅读(1107) 评论(0) 推荐(0)

摘要:import com.eviware.soapui.support.GroovyUtilsdef groovyUtils = new GroovyUtils( context )def projectDir = groovyUtils.projectPathString xmlMapping = p... 阅读全文

posted @ 2015-07-07 09:34 张缤分 阅读(412) 评论(0) 推荐(0)

摘要:import com.eviware.soapui.support.types.StringToStringMap //Get all th cookies in the response , here the test step name is provideddef cookiesList = ... 阅读全文

posted @ 2015-07-06 09:48 张缤分 阅读(933) 评论(0) 推荐(0)

摘要:import org.custommonkey.xmlunit.*def responseTP=context.expand( '${Intraday Table_TP#Response}' )def responseLive=context.expand( '${Intraday Table_Li... 阅读全文

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

摘要:testRunner.testCase.testSuite.project.setActiveEnvironment("Live") 阅读全文

posted @ 2015-07-01 11:38 张缤分 阅读(297) 评论(0) 推荐(0)

导航