emma覆盖率

-Xbootclasspath/p:/home/admin/software/jdk1.7.0_79/jre/lib/ext/emma.jar

创新互联从2013年创立,是专业互联网技术服务公司,拥有项目成都网站设计、成都做网站、外贸网站建设网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元本溪做网站,已为上家服务,为本溪各地企业和个人服务,联系电话:18982081108

 

 

 

 复制 /server/bin/mobileserver/runServer.sh 到 runServer_emma.sh

    修改启动语句

    nohup java -Xmx1800M -Xms800m -Xbootclasspath/p:/home/q/java/emmalib/emma.jar -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider -XX:+AggressiveOpts -XX:+UseParallelGC -server -classpath "$jarFile" com.qunar.common.mobileArc.MobileServer conf/TaLog.property conf/TripServer.property >> $LOG_HOME/error.log 2>&1 &

    复制 /server/bin/mobileserver/stopServer.sh 到 stopServer_emma.sh

 

 

1.启动emma: 

java emma instr -m overwrite  -ip classes  -Dmetadata.out.file=credit_coverage.em

2.启动tocmat

3.收集结果

java  emma ctl -connect localhost:47653 -command coverage.get,credit_coverage.ec

 

 

java  emma ctl -connect localhost:26677 -command coverage.get,credit_coverage.ec

 

 

 

/home/admin/software/jdk1.7.0_79/jre/bin/java emma ctl -connect localhost:47653 -command coverage.get,/home/admin/webcmcc.ec

 

 

%JM_START% %JM_LAUNCH%  -Xbootclasspath/p:E:\alibaba\tools\emma-stable-2.1-lib\emma.jar  %

 

JVM_ARGS% %ARGS%   -jar "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%

 

 

nohup java -Xmx1800M -Xms800m -Xbootclasspath/p:/home/q/java/emmalib/emma.jar -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider -XX:+AggressiveOpts -XX:+UseParallelGC -server -classpath "$jarFile" com.qunar.common.mobileArc.MobileServer conf/TaLog.property conf/TripServer.property >> $LOG_HOME/error.log 2>&1 &

 

 

 -Xbootclasspath/p:/home/admin/software/jdk1.7.0_79/jre/lib/ext/emma.jar


名称栏目:emma覆盖率
分享链接:http://hbruida.cn/article/peioge.html