82838485868788
setPercentThroughput(100); runThisTime = false; } public void setStyle(int style) { setProperty(new IntegerProperty(STYLE, style)); }
9899100101102103104
public boolean isPerThread() { return getPropertyAsBoolean(PERTHREAD); } public void setMaxThroughput(int maxThroughput) { setProperty(new IntegerProperty(MAXTHROUGHPUT, maxThroughput)); }
167168169170171172173
setIncludeList(new HashSet()); setCaptureHttpHeaders(true); // maintain original behaviour } public void setPort(int port) { this.setProperty(new IntegerProperty(PORT, port)); }
180181182183184185186
setProperty(new BooleanProperty(CAPTURE_HTTP_HEADERS, capture)); } public void setGroupingMode(int grouping) { this.groupingMode = grouping; setProperty(new IntegerProperty(GROUPING_MODE, grouping)); }
189190191192193194195
addAssertions = b; setProperty(new BooleanProperty(ADD_ASSERTIONS, b)); } public void setSamplerTypeName(int samplerTypeName) { setProperty(new IntegerProperty(SAMPLER_TYPE_NAME, samplerTypeName)); }
54555657585960
public LoopController() { setContinueForever_private(true); } public void setLoops(int loops) { setProperty(new IntegerProperty(LOOPS, loops)); }
99100101102103104105
* * @param numThreads * the number of threads. */ public void setNumThreads(int numThreads) { setProperty(new IntegerProperty(NUM_THREADS, numThreads)); }
224225226227228229230
* * @param rampUp * the ramp-up value. */ public void setRampUp(int rampUp) { setProperty(new IntegerProperty(RAMP_TIME, rampUp)); }
162163164165166167168
public boolean isTestFieldResponseHeaders(){ return RESPONSE_HEADERS.equals(getTestField()); } private void setTestType(int testType) { setProperty(new IntegerProperty(TEST_TYPE, testType)); }
setProperty(new IntegerProperty(TEST_TYPE, testType)); } private void setTestTypeMasked(int testType) { int value = getTestType() & ~(TYPE_MASK) | testType; setProperty(new IntegerProperty(TEST_TYPE, value)); }