woolfel     2005/08/31 10:34:58

  Added:       bin      jmeter-report.bat
  Log:
  adding a batch file for starting the reporting tool
  peter
  
  Revision  Changes    Path
  1.1                  jakarta-jmeter/bin/jmeter-report.bat
  
  Index: jmeter-report.bat
  ===================================================================
  @echo off

  

  rem   $Id: jmeter.bat,v 1.29 2004/03/20 14:48:04 sebb Exp $

  rem   Copyright 2001-2004 The Apache Software Foundation

  rem 

  rem   Licensed under the Apache License, Version 2.0 (the "License");

  rem   you may not use this file except in compliance with the License.

  rem   You may obtain a copy of the License at

  rem 

  rem       http://www.apache.org/licenses/LICENSE-2.0

  rem 

  rem   Unless required by applicable law or agreed to in writing, software

  rem   distributed under the License is distributed on an "AS IS" BASIS,

  rem   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

  rem   See the License for the specific language governing permissions and

  rem   limitations under the License.

  

  set JAVA_HOME=c:/jdk1.5.0

  

  if not "%OS%"=="Windows_NT" goto win9xStart

  :winNTStart

  @setlocal

  

  rem Need to check if we are using the 4NT shell...

  if "%eval[2+2]" == "4" goto setup4NT

  

  rem On NT/2K grab all arguments at once

  set JMETER_CMD_LINE_ARGS=%*

  goto doneStart

  

  :setup4NT

  set JMETER_CMD_LINE_ARGS=%$

  goto doneStart

  

  :win9xStart

  rem Slurp the command line arguments.  This loop allows for an unlimited 
number of 

  rem agruments (up to the command line limit, anyway).

  

  set JMETER_CMD_LINE_ARGS=

  

  :setupArgs

  if %1a==a goto doneStart

  set JMETER_CMD_LINE_ARGS=%JMETER_CMD_LINE_ARGS% %1

  shift

  goto setupArgs

  

  :doneStart

  rem This label provides a place for the argument list loop to break out 

  rem and for NT handling to skip to.

  

  rem See the unix startup file for the rationale of the following parameters,

  rem including some tuning recommendations

  set HEAP=-Xms256m -Xmx256m

  set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m

  set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50%

  set TENURING=-XX:MaxTenuringThreshold=2

  set EVACUATION=-XX:MaxLiveObjectEvacuationRatio=20%

  set RMIGC=-Dsun.rmi.dgc.client.gcInterval=600000 
-Dsun.rmi.dgc.server.gcInterval=600000

  set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m

  set DEBUG=-verbose:gc -XX:+PrintTenuringDistribution

  rem set ARGS=%HEAP% %NEW% %SURVIVOR% %TENURING% %EVACUATION% %RMIGC% %PERM% 
%DEBUG%

  set ARGS=-server -Xms128m -Xmx512m

  

  %JAVA_HOME%/bin/java %JVM_ARGS% %ARGS% -jar ApacheJMeter.jar report 
%JMETER_CMD_LINE_ARGS%

  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to