activemq/jmeter/resource/jmeter-t.bat

77 lines
2.3 KiB
Batchfile

@echo off
rem $Id: jmeter-t.bat,v 1.3 2005/03/18 15:26:54 mstover1 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.
rem ============================================
rem
rem Drop a JMX file on this batch script, and it
rem will load it in the GUI.
rem
rem Only the first parameter is used.
rem Only works for Win2k.
rem
rem ============================================
if "%OS%"=="Windows_NT" goto WinNT
echo "Sorry, this command file requires Windows NT/ 2000"
goto END
:WinNT
rem change to the directory in which this script resides, i.e. bin
cd %~dp0
jmeter -t %1
:END@echo off
rem $Id: jmeter-t.bat,v 1.3 2005/03/18 15:26:54 mstover1 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.
rem ============================================
rem
rem Drop a JMX file on this batch script, and it
rem will load it in the GUI.
rem
rem Only the first parameter is used.
rem Only works for Win2k.
rem
rem ============================================
if "%OS%"=="Windows_NT" goto WinNT
echo "Sorry, this command file requires Windows NT/ 2000 / XP"
pause
goto END
:WinNT
rem change to the directory in which this script resides, i.e. bin
cd /D %~dp0
jmeter -t %1
:END