摘要: 1 @echo off 2 set sum=0 3 call :sub sum 1 2 3 4 4 echo sum=%sum% 5 pause 6 7 :sub 8 set /a %1=%1+%2 9 shift /2 10 if not "%2"=="" goto sub 11 goto :eo 阅读全文
posted @ 2017-03-17 11:28 xiongjiawei 阅读(978) 评论(0) 推荐(0) 编辑
摘要: echo. 阅读全文
posted @ 2017-03-17 10:39 xiongjiawei 阅读(1329) 评论(0) 推荐(0) 编辑
摘要: 1 @echo off 2 set /p str=请输入任意长度字符串: 3 if not defined str goto :eof 4 echo 您输入了:%str% 5 set num=0 6 :label 7 set /a num+=1 8 set str=%str:~0,-1% 9 if 阅读全文
posted @ 2017-03-17 09:35 xiongjiawei 阅读(5680) 评论(0) 推荐(0) 编辑
摘要: 1 import com.jayway.jsonpath.JsonPath; 2 import com.jayway.jsonpath.Predicate; 3 import net.minidev.json.JSONArray; 4 public class Test { 5 public sta 阅读全文
posted @ 2017-03-15 18:15 xiongjiawei 阅读(3439) 评论(0) 推荐(0) 编辑
摘要: ^(0?[0-9]|1[0-9]|2[0-3]):(0?[0-9]|[1-5][0-9])$ 阅读全文
posted @ 2017-03-15 13:22 xiongjiawei 阅读(2428) 评论(0) 推荐(1) 编辑
摘要: 1.把\apache-jmeter-3.1\extras目录下的build.xml和jmeter-results-detail-report_21.xsl两个文件拷贝到用例所在目录; 2.修改用例名称为Test,或修改Build.xml文件中的<property name="test" value= 阅读全文
posted @ 2017-03-14 22:21 xiongjiawei 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 把文件apache-jmeter-3.1\extras\ant-jmeter-1.1.1.jar复制到apache-ant-1.10.1\lib目录下即可。 阅读全文
posted @ 2017-03-14 21:59 xiongjiawei 阅读(3672) 评论(0) 推荐(0) 编辑
摘要: 1 @echo off 2 dir d:\dddddd 3 4 if errorlevel 1 goto 1 5 if errorlevel 0 goto 0 6 rem 两行if语句不可交换位置,否则失败了也会显示成功。 7 8 :0 9 echo 命令执行成功 10 goto exit 11 1 阅读全文
posted @ 2017-03-14 19:55 xiongjiawei 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.bogotobogo.com/DevOps/Jenkins/images/Intro_install/jenkins-the-definitive-guide.pdf 阅读全文
posted @ 2017-03-14 17:54 xiongjiawei 阅读(720) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-03-14 11:14 xiongjiawei 阅读(986) 评论(0) 推荐(0) 编辑