Iím new to JMeter. Iíve download and started JMeter for learning. i want to know how to handle JAVA request in jmeter.
In my application a stand alone java program is reading data from XML file. just i want to measure performnace of standalone Java Program.
Is it possible with Jmeter.If anybody knows please help me out.
Thanks in advance
I think it is possible. You have to implement the org.apache.jmeter.protocol.java.sampler.JavaSample rClient Interface. In the runTest(...) method you must call your methods (reading xml file). Then add your class to the classpath of JMeter. After that restart JMeter and choose the Java Request Sampler. Now your class should apper in the classname pane. You can add arguments to your class. This must be handled in the setupTest(...) method. Sounds difficult? Yeah. I think so too. [img]images/icons/wink.gif[/img]
A much easier framework for simple performance measurement is JUnit. At the moment it is not advisable to use JMeter for this kind of tests.
just my 2 (EUR) cents [img]images/icons/blush.gif[/img] , Sascha
JMeter has a GUI and is relativ easy. But you need to look at the documentation.
JUnit(?) is for Java only. JMeter allows you to test various kinds of application. When testing web-based, you can do this with JMeter. Sounds like you have s.th. like a content mgmt. system. Performance testing can be done with JMeter and you can also generate virtual users, if you're using so called Thread Groups and Variables.
Give JMeter a try. It's not very complex. You should be able to create a simple testplan in a few hours.
In this (1st url ) how to download and which file i have to download and after downloading which file i have to install and during installation is there any plugin i have to add?( i want to install jmeter in windows OS)
plzzz send perfect navigation steps to download & install to finish up this tool. (I seen somany replys in qaforms.com but no one given perfect navigation).
Thanks & Regards,
Eswaranand Attuluri |Direct: +91-80-26632589 Extn:105
Cell: +91-9341933541 | Fax: +91-80-26537795
South End Road, Bangalore, India
ZEOMEGA INFOTECH PVT LTD Open Minds' Open Solutions