Collections:
BeanShell Script Interface with JMeter
What objects are used as the interface between BeanShell scripts and JMeter?
✍: FYIcenter.com
BeanShell Script Interface with JMeter uses the following objects:
1. vars - An org.apache.jmeter.threads.JMeterVariables object that allows you to access user defined variables in JMeter with get() and put() methods.
2. ctx - An org.apache.jmeter.threads.JMeterContext object that represents the context of the current running thread. Many get*() and set*() methods are supported to allow you retrieve or update the thread.
3. log - An org.slf4j.Logger object that allows to write to the log file with methods like debug*(), info*(), warn*(), error*(), etc.
4. props - A java.util.Properties object that allows to access system properties in JMeter with get() and put() methods.
5. sampleResult or prev - An org.apache.jmeter.samplers.SampleResult object allows you to access the result of the previous sampler with many get*() methods.
6. sampleEvent - An org.apache.jmeter.samplers.SampleEvent object that allows to access the current sampler event with many get*() methods.
⇒ Working With XML Body Messages
2018-03-18, 1992🔥, 0💬
Popular Posts:
How to see my IP address Host Name? To help you to see your IP Address Host Name, FYIcenter.com has ...
What are JMeter command line options? You can get see JMeter command line options by running this co...
How to see my IP address Host Name? To help you to see your IP Address Host Name, FYIcenter.com has ...
How to validate Mod 10 (Luhn Algorithm) checksum? In order to help your programming or testing tasks...
How to convert hexadecimal encoded data back to binary data (or Hex to Binary Decoding)? Hex to Bina...