![]() ![]() The JMeter javadocs provide more information on the API of this object.Īs mentioned previously, this sampler provides the scripter with a lot of control. Furthermore, the scripter can set success/failure state on this object, and this SampleResult is then used by the JMeter reporting suite. WDS.sampleResult - is used to log when the timing should start and end.There is detailed documentation on this object on the Selenium Javadocs page. WDS.browser - is the configured Web Driver browser that the scripter can script and control.WDS.log - is a Logger instance to allow the scripter to debug their scripts by writing information to the jmeter log file (JMeter provides a GUI for its log entries).This allows the scripter to provide a number of strings as input and access each one by position. WDS.args - is an array of the strings provided in the Parameters field, but split by the space ' ' character.WDS.parameters - is the value provided in the Parameters field (above).WDS.props - JMeterProperties (class ) - e.g.WDS.name - is the value provided in the Name field (above).This object has the following properties for the scripter to use: Within the Script section, the Sampler automatically injects a WebDriverScriptable object with the name of WDS. Script - allows the scripter to control the Web Driver and capture times and success/failure outcomes. ![]() Parameters - is optional and allows the reader to inject variables used in the script section. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |