Hi 

 

I've integrated JMeter with a custom testing application that uses a
command similar to the one below to run JMeter tests externally: 

jmeter  -n -t <test_script> -l <logfile> -p <property_file> 

 

The parameters passed to JMeter are:

-n 

Run in non-GUI mode

-t <test_script>  

Test script file (.jmx extension)

-l <logfile> 

Test log file

-p <property_file>

Test runtime properties file

 

After the JMeter instances controlled by have finished running and have
written out their log files (as specified by the '-l' parameter), the
test driver application parses the JMeter-format log files and writes
out new log files in a common log format suitable for further data
analysis (eg: Excel). This wiki page has useful documentation on this:

http://wiki.apache.org/jakarta-jmeter/LogAnalysis 

 

 

I wish JMeter had a OLE or DBUS interface. ;-) 

 

Regards,

Sonam Chauhan

-- 

Corporate Express Australia Ltd. 

Phone: +61-2-93350725, Email: [EMAIL PROTECTED]

 

-----Original Message-----
From: Alex Karpus [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 27 March 2008 6:44 AM
To: [email protected]
Subject: JMeter Integration

 

Hi all,

 

I have a vast performance related Java framework into which I want to

integrate JMeter.

However from investigation it has become apparent that because JMeter
comes

split into many different JARs and relies on quite a few internally hard

coded lib location paths, it is not possible to bundle it into a self

contained JAR.

 

Ideally I was looking to simply include JMeter as a library in my
framework

and have my framework programmatically launch JMeter, as well as
interpret

results etc.

Anybody have any suggestions as to how that might be achieved, if it is
even

possible?

 

Thanks in advance,

Alex


The information contained in this email and any attached files are strictly
private and confidential. This email should be read by the intended addressee
only.  If the recipient of this message is not the intended addressee, please
call Corporate Express Australia Limited on +61 2 9335 0555 or Corporate Express
New Zealand Limited on +64 9 279 2555 and promptly delete this email and any
attachments.  The intended recipient of this email may only use, reproduce,
disclose or distribute the information contained in this email and any attached
files with Corporate Express' permission. If you are not the intended addressee,
you are strictly prohibited from using, reproducing, disclosing or distributing
the information contained in this email and any attached files.  Corporate
Express advises that this email and any attached files should be scanned to
detect viruses. Corporate Express accepts no liability for loss or damage
(whether caused by negligence or not) resulting from the use of any attached
files.

Reply via email to