JMeter - Property

About

How to define a property in JMeter.

Scope

Properties are global to a JMeter instance.

Property

Value

LOOPS=${__P(loops,10))}

This uses the value of the property “loops”, defaulting to 10 if the property is not found.

The “loops” property can be defined on the JMeter command-line with the J option:

jmeter ... -Jloops=12 ... . 

File

You can define properties by editing a property file

BeanShell Sampler

Jmeter - BeanShell

props.put("PROP1","1234");

Diagnostic

Debug_Sampler

There is a Debug_Sampler that can show all property and variable values.

Documentation / Reference


Powered by ComboStrap