tags:

views:

43

answers:

2

Can someone help me with writing some basic scripts for JMeter. Actually the task I'm trying to accomplish is to configure JMeter via input file. For example changing URL for requests and so on... Thanks!

A: 

You'll want to start by reading these:

  1. http://jakarta.apache.org/jmeter/usermanual/build-test-plan.html
  2. http://jakarta.apache.org/jmeter/usermanual/component_reference.html

What you'll probably end up doing is creating a CSV file with whichever elements you want to change, and then configure jmeter to use it.

Your basic structure will look like this:

Thread Group - CSV DATA CONFIG ELEMENT (defines the data file to use, and the variable names for each column of data) - HTTP Request (with variable references to the data fie)

BlackGaff
A: 

Works fine. Thanks!

ktarik