1 | BatchSampleSender(RemoteSampleListener listener) {↵ | | 1 | StatisticalSampleSender(RemoteSampleListener listener) {↵
|
2 | this.listener = listener;↵ | | 2 | this.listener = listener;↵
|
3 | init();↵ | | 3 | init();↵
|
4 | log.info("Using batching for this run." ↵ | | 4 | log.info("Using batching for this run." ↵
|
5 | + " Thresholds: num=" ↵ | | 5 | + " Thresholds: num="↵
|
6 | + numSamplesThreshold ↵ | | 6 | + numSamplesThreshold ↵
|
7 | + ", time=" + timeThreshold);↵ | | 7 | + ", time=" + timeThreshold);↵
|
8 | }↵ | | 8 | }↵
|
|
9 | /**↵ | | 9 | /**↵
|
10 | * Checks for the Jmeter properties num_sample_threshold and time_threshold,↵ | | 10 | * Checks for the Jmeter properties num_sample_threshold and time_threshold,↵
|
11 | * and assigns defaults if not found.↵ | | 11 | * and assigns defaults if not found.↵
|
12 | */↵ | | 12 | */↵
|
13 | private void init() {↵ | | 13 | private void init() {↵
|
14 | this.numSamplesThreshold = JMeterUtils.getPropDefault(↵ | | 14 | this.numSamplesThreshold = JMeterUtils.getPropDefault(↵
|
15 | "num_sample_threshold", DEFAULT_NUM_SAMPLE_THRESHOLD);↵ | | 15 | "num_sample_threshold", DEFAULT_NUM_SAMPLE_THRESHOLD);↵
|
16 | this.timeThreshold = JMeterUtils.getPropDefault("time_threshold", ↵ | | 16 | this.timeThreshold = JMeterUtils.getPropDefault("time_threshold",↵
|
17 | DEFAULT_TIME_THRESHOLD);↵ | | 17 | DEFAULT_TIME_THRESHOLD);↵
|
18 | } | | 18 | }
|