In JMeter, ‘Java Request Defaults’ is used to set default parameters to pass them into Java Request. Java Request Defaults config element is added under the Test Plan. The parameter values can be overridden using Java Request.
How to add ‘Java Request Defaults’?
You can follow below steps to add Java Request Defaults
- Select the ‘Test Plan’ node
- Right-click on the ‘Test Plan’ node
- Hover the mouse on ‘Add’
- Hover the mouse on ‘Config Element‘
- 5. Click “Java Request Defaults”
Input fields/Parameters
“Java Request Defaults” has below input fields or parameters:
- Name: To provide element name
- Comments: To provide arbitrary comments (if any)
- Classname: It has two values either .JavaTest or .SleepTest.
- Sleep_time
- Sleep_mask
- Lebel
- Response Code
- ResponseMessage
- Status
- SamplerData
- ResultData
You may be interested: