Monday, August 22, 2011

JMeter -- Process Setup 05 -- Editing jmeter.properties && Creating extra.properties

This is part five of our Setup process.  Part four can be found here: http://dudewheysmehblog.blogspot.com/2011/08/jmeter-process-setup-04-createpopulate.html

Located in the bin folder are a few files comes with JMeter to tweak it's configuration: httpclient.parameters, jmeter.properties, saveservice.properties, system.properties, upgrade.properties, and user.properties.  We will edit the jmeter.properties and create our own properties file: extra.properties (both are included in the bundles here https://docs.google.com/leaf?id=0Byis5NEZXwweMTgyZTc3MDktNzU5Yy00ZDAyLTg2NzktNzgzNTBiZjk2ZWI3&hl=en_US).

Note: If you wish, you can replace your default jmeter.properties with the one from the bundle, or you can edit your own.  The same thing goes for the extra.properties -- you can create it from scratch or you can use / tweak the one from the bundle.

Friday, August 19, 2011

JMeter -- Process Setup 04 -- Create/Populate Folders

This is part four of our Setup process.  Part three can be found here: http://dudewheysmehblog.blogspot.com/2011/04/jmeter-process-setup-03-adding-ant-taks.html

When we left of from last time, we still had the following to do:
  • Create a directory structure for organizing JMeter test scripts, results, and reports.
  • Edit jmeter.properties and create extra.properties file.
  • Create custom build.xml file.
    • Extended with AntContrib and AntelopeTasks.
  • Edit XSL files to show more information / calculations.
    • Split the times and latency (Time to First Byte and Time to Last Byte).
    • Add Min, Max, Average, Standard Deviation, and 90% calculations.
    • Add run times and custom title.
    • Edit the default Java memory heap size to prevent out of memory errors.
    • Duplicate the file and strip out the details for quick loading the browser and phones.
    • Edit the build file to transform the results twice, detailed and non-detailed.
    • Edit the build file to be able to perform transformations at will.
    • Add a different XSLT processor to handle the transformations if needed.
  • Create Performance Monitor Data Collector Set.
    • Counters that can be used and links to resources.
  • Creating batch file to run the ant commands.
  • Edit build.xml file to handle auto start/stop of Perfmon.
  • Edit build.xml file to auto send mails upon Success or Failure.
Let's start with the directory structure.

Related Posts Plugin for WordPress, Blogger...