Java Request

This sampler lets you control a java class that implements the JavaSamplerClient interface. By writing your own implementation of this interface, you can use JMeter to harness multiple threads, input parameter control, and data collection.

The pull-down menu provides the list of all such implementations found by JMeter in its classpath. The parameters can then be specified in the table below - as defined by your implementation. A simple example (SleepTest) is provided.

Control Panel
http://jakarta.apache.org/jmeter/images/screenshots/java_request.gif

Parameters

Attribute

Description

Required

Name

Descriptive name for this sampler that is shown in the tree.

No

Classname

The specific implementation of the JavaSamplerClient interface to be sampled.

Yes

Send Parameters with Request

A list of arguments that will be passed to the sampled class. All arguments are sent as Strings.

No

  • No labels