public class DslJsr223PreProcessor extends DslJsr223TestElement<DslJsr223PreProcessor> implements DslPreProcessor
This is a very powerful and flexible component that allows you to modify variables, sampler, context, etc., before running a sampler (for example to generate dynamic requests programmatically).
By default, provided script will be interpreted as groovy script, which is the default setting
for JMeter. If you need, you can use any of JMeter provided scripting languages (beanshell,
javascript, jexl, etc.) by setting the DslJsr223TestElement.language(String) property.
| Modifier and Type | Class and Description |
|---|---|
static class |
DslJsr223PreProcessor.CodeBuilder |
static interface |
DslJsr223PreProcessor.PreProcessorScript
Allows to use any java code as script.
|
static class |
DslJsr223PreProcessor.PreProcessorVars |
DslJsr223TestElement.Jsr223Script<T extends DslJsr223TestElement.Jsr223ScriptVars>, DslJsr223TestElement.Jsr223ScriptVars, DslJsr223TestElement.Jsr223TestElementCallBuilder<T extends org.apache.jmeter.testelement.TestElement>DEFAULT_LANGUAGE, language, scriptBuilderguiClass, name| Constructor and Description |
|---|
DslJsr223PreProcessor(String name,
DslJsr223PreProcessor.PreProcessorScript script) |
DslJsr223PreProcessor(String name,
String script) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jmeter.util.JSR223TestElement |
buildJsr223TestElement() |
buildTestElement, languagebuildConfiguredTestElement, buildTestElementGui, buildTreeUnder, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGuiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildTreeUnder, showInGuipublic DslJsr223PreProcessor(String name, DslJsr223PreProcessor.PreProcessorScript script)
protected org.apache.jmeter.util.JSR223TestElement buildJsr223TestElement()
buildJsr223TestElement in class DslJsr223TestElement<DslJsr223PreProcessor>Copyright © 2023. All rights reserved.