• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to start JMeter?

 
Ranch Hand
Posts: 231
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Comment this line in jmeter.bat "set DUMP=-XX:+HeapDumpOnOutOfMemoryError"
It will work
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
path.JPG
[Thumbnail for path.JPG]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I too am having trouble using jmeter. I think its because my laptop is 32 bit and jmeter requires 64. Anybody have a link for 32 bit jmeter? Thanks.

C:\Program Files\jmeter\bin>jmeter.bat
Java HotSpot(TM) Client VM warning: ignoring option PermSize=64m; su
moved in 8.0
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=64m;
removed in 8.0
java.lang.Throwable: Could not access C:\Program Files\jmeter\lib
at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:99)
java.lang.Throwable: Could not access C:\Program Files\jmeter\lib\ex
at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:99)
java.lang.Throwable: Could not access C:\Program Files\jmeter\lib\ju
at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:99)
java.lang.ClassNotFoundException: org.apache.jmeter.JMeter
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.jmeter.NewDriver.main(NewDriver.java:214)
JMeter home directory was detected as: C:\Program Files\jmeter

C:\Program Files\jmeter\bin>
 
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic