public class DslJsr223PostProcessor extends DslJsr223TestElement<DslJsr223PostProcessor,DslJsr223PostProcessor.PostProcessorVars> implements DslPostProcessor
This is a very powerful and flexible component that allows you to modify sample results (like changing the flag if is success or not), jmeter variables, context settings, etc.
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 |
DslJsr223PostProcessor.CodeBuilder |
static class |
DslJsr223PostProcessor.DslLambdaPostProcessor |
static interface |
DslJsr223PostProcessor.PostProcessorScript
Allows to use any java code as script.
|
static class |
DslJsr223PostProcessor.PostProcessorVars |
DslJsr223TestElement.Jsr223DslLambdaTestElement<V extends DslJsr223TestElement.Jsr223ScriptVars>, DslJsr223TestElement.Jsr223Script<V extends DslJsr223TestElement.Jsr223ScriptVars>, DslJsr223TestElement.Jsr223ScriptVars, DslJsr223TestElement.Jsr223TestElementCallBuilder<T extends org.apache.jmeter.testelement.TestElement>DEFAULT_LANGUAGE, language, script, scriptClass, scriptStringguiClass, name| Constructor and Description |
|---|
DslJsr223PostProcessor(String name,
Class<? extends DslJsr223PostProcessor.PostProcessorScript> scriptClass) |
DslJsr223PostProcessor(String name,
DslJsr223PostProcessor.PostProcessorScript script) |
DslJsr223PostProcessor(String name,
String script) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jmeter.util.JSR223TestElement |
buildJsr223TestElement() |
protected DslJsr223PostProcessor.DslLambdaPostProcessor |
buildLambdaTestElement() |
buildTestElement, languagebuildConfiguredTestElement, buildTestElementGui, buildTreeUnder, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGuiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildTreeUnder, showInGuipublic DslJsr223PostProcessor(String name, DslJsr223PostProcessor.PostProcessorScript script)
public DslJsr223PostProcessor(String name, Class<? extends DslJsr223PostProcessor.PostProcessorScript> scriptClass)
protected org.apache.jmeter.util.JSR223TestElement buildJsr223TestElement()
buildJsr223TestElement in class DslJsr223TestElement<DslJsr223PostProcessor,DslJsr223PostProcessor.PostProcessorVars>protected DslJsr223PostProcessor.DslLambdaPostProcessor buildLambdaTestElement()
buildLambdaTestElement in class DslJsr223TestElement<DslJsr223PostProcessor,DslJsr223PostProcessor.PostProcessorVars>Copyright © 2024. All rights reserved.