Differences between revisions 1 and 2
Revision 1 as of 2005-03-08 18:34:13
Size: 1021
Comment:
Revision 2 as of 2009-09-20 21:56:38
Size: 1025
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
 http://jakarta.apache.org/jmeter/images/screenshots/java_request.gif  {{http://jakarta.apache.org/jmeter/images/screenshots/java_request.gif}}

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

UserManual/Reference/JavaSampler (last edited 2009-09-20 21:56:38 by localhost)