Package org.apache.jmeter.threads
Class TestCompiler
-
- All Implemented Interfaces:
-
org.apache.jorphan.collections.HashTreeTraverser
public class TestCompiler implements HashTreeTraverser
HashTreeTraverser implementation that traverses the Test Tree to build:
- A map with key Sampler and as value the associated SamplePackage
- A map with key TransactionController and as value the associated SamplePackage
-
-
Constructor Summary
Constructors Constructor Description TestCompiler(HashTree testTree)
-
Method Summary
Modifier and Type Method Description static void
initialize()
Clears the pairing Set Called by StandardJmeterEngine at the start of a test run. SamplePackage
configureSampler(Sampler sampler)
Configures sampler from SamplePackage extracted from Test plan and returns it SamplePackage
configureTransactionSampler(TransactionSampler transactionSampler)
Configures Transaction Sampler from SamplePackage extracted from Test plan and returns it void
done(SamplePackage pack)
Reset pack to its initial state void
addNode(Object node, HashTree subTree)
void
subtractNode()
void
processPath()
-
-
Method Detail
-
initialize
static void initialize()
Clears the pairing Set Called by StandardJmeterEngine at the start of a test run.
-
configureSampler
SamplePackage configureSampler(Sampler sampler)
Configures sampler from SamplePackage extracted from Test plan and returns it
- Parameters:
sampler
- Sampler- Returns:
-
configureTransactionSampler
SamplePackage configureTransactionSampler(TransactionSampler transactionSampler)
Configures Transaction Sampler from SamplePackage extracted from Test plan and returns it
- Parameters:
transactionSampler
- TransactionSampler- Returns:
-
done
void done(SamplePackage pack)
Reset pack to its initial state
- Parameters:
pack
- the SamplePackage to reset
-
subtractNode
void subtractNode()
-
processPath
void processPath()
-
-
-
-