File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes How to start JMeter? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "How to start JMeter?" Watch "How to start JMeter?" New topic
Author

How to start JMeter?

Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Hi Friends,
I am new to testing and i am trying to use JMeter.I installed it but when i clcik jmeter.bat nothin happens,can someone please tell me how to start jmeter on win xp.And can someone tell me or redirect me to any links that what is the difference bettwen unit testing,load testing,rational testing etc.etc.
Thanks


SCJP 1.4 (88%)<br />SCWCD 1.4 (88%)
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
I have XP, just downloaded JMeter and clicked on jmeter.bat and it started up no problem.

Does your system meet the requirements described in
JMeter User's Manual: Getting Started and in the README in the jmeter directory? First requirement is to have a fully compliant JDK1.3 or higher installed, preferably 1.4. jmeter.bat expects the jdk/bin directory to be on the path.

When you click a bat file like that and nothing happens you can open a command window and run it on the command-line and you are more likely to see an error instead of having nothing happen.
[ March 16, 2005: Message edited by: Carol Enderlin ]
Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Thanks Carol,
I've jdk1.5 ..the error its showing up is:



The quick pane panel shows that "windows is running low on virtual memory".i cant understand if system can support Tomcat server ..why cant it support JMeter??
Please help me
Yong How, Lim
Ranch Hand

Joined: Feb 22, 2005
Posts: 52
Hi Jas,

From your err message, looks like your physical memory (RAM) is too low to run JMeter. Increase your RAM or close off ALL unnecessary services/program


HTH


Regards,<br /> Yong How, Lim<br /> SCEA, SCBCD, SCWCD, SCJD, SCJP, LPIC-1
ugandhar reddy
Greenhorn

Joined: Dec 24, 2009
Posts: 1
Comment this line in jmeter.bat "set DUMP=-XX:+HeapDumpOnOutOfMemoryError"
It will work
Vanessa Ford
Greenhorn

Joined: Dec 27, 2011
Posts: 2
Hi,
I am still having trouble with getting JMeter to run from the .bat file on my Windows 7 computer. I get the error "'java.exe' is not recognized as an internal or external command,
operable program or batch file.
errorlevel=9009
Press any key to continue . . .".
I have jdk6 installed. I feel like I have followed all the instructions I have found on just about every website out there. I still get this error! Anyone have any ideas? Am I a complete idiot?
(that's entirely possible but I am good at raising chickens, using diatomaceous earth and cooking with iron skillets).
I am about to beat my computer with a shovel. Please help.
tgrtgr lakmini
Greenhorn

Joined: Feb 10, 2012
Posts: 1
Vanessa Ford wrote:Hi,
I am still having trouble with getting JMeter to run from the .bat file on my Windows 7 computer. I get the error "'java.exe' is not recognized as an internal or external command,
operable program or batch file.
errorlevel=9009
Press any key to continue . . .".
I have jdk6 installed. I feel like I have followed all the instructions I have found on just about every website out there. I still get this error! Anyone have any ideas? Am I a complete idiot?
(that's entirely possible but I am good at raising chickens, using diatomaceous earth and cooking with iron skillets).
I am about to beat my computer with a shovel. Please help.



I had the same problem with Win 7. i copied the java installed path and copied it to environment variable path in the Advance system settings..
1. Copied "C:\Program Files (x86)\Java\jdk1.7.0_01\bin" this path
2. Right click Computer --> properties --> Advance system setting --> environment variables
3. In the system variable section select path and then paste the above copied java installed path following with ";"

it working fine then


[Thumbnail for path.JPG]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to start JMeter?
 
Similar Threads
to start JMeter with JDK1.4
This weeks giveaway
Using Jmeter with .Net
Jmeter
planning to desing a stress test tool