public class FragmentMethodCall extends MethodCall
Fragments method definitions might be the explicitly defined from a test fragment controller or implicitly from module controller target controller.
INDENT, methodName| Constructor and Description |
|---|
FragmentMethodCall(org.apache.jmeter.testelement.TestElement element,
MethodCall methodDefinitionBody,
MethodCallContext context) |
| Modifier and Type | Method and Description |
|---|---|
MethodCall |
child(MethodCall child)
Allows adding a child call to this call.
|
Map<String,MethodCall> |
getMethodDefinitions() |
buildAssignmentCode, buildCode, buildCode, buildNoMatchingMethodFoundException, buildParamsCode, buildUnsupported, chain, chain, chainComment, chainSize, emptyCall, findParamsMatchingMethod, forStaticMethod, fromBuilderMethod, getImports, getReturnType, getStaticImports, headingComment, isCommented, prependChild, reChain, replaceChild, setCommented, unchainpublic FragmentMethodCall(org.apache.jmeter.testelement.TestElement element,
MethodCall methodDefinitionBody,
MethodCallContext context)
public MethodCall child(MethodCall child)
MethodCallThis method should only be used in seldom scenarios where you need to manually add children calls. In most of the cases this is not necessary, since DSL framework automatically takes care of JMeter children conversion.
If the call defines a ChildrenParam parameter, then children are just added as
parameters of the call. Otherwise, a children method will be looked into the class retunrned by
this method, and if there is, then chained into this call and used to register provided child
element.
Warning: You should only use this method after applying any required chaining.
child in class MethodCallchild - specifies the method call to be added as child call of this call.public Map<String,MethodCall> getMethodDefinitions()
getMethodDefinitions in interface CodeSegmentgetMethodDefinitions in class MethodCallCopyright © 2023. All rights reserved.