use of org.apache.jmeter.control.TransactionController in project jmeter by apache.
the class TestCompiler method configureTransactionSampler.
/**
* Configures Transaction Sampler from SamplePackage extracted from Test plan and returns it
* @param transactionSampler {@link TransactionSampler}
* @return {@link SamplePackage}
*/
public SamplePackage configureTransactionSampler(TransactionSampler transactionSampler) {
TransactionController controller = transactionSampler.getTransactionController();
SamplePackage pack = transactionControllerConfigMap.get(controller);
pack.setSampler(transactionSampler);
return pack;
}
Aggregations