public static class BenchmarkConfig.Builder extends Object
Constructor and Description |
---|
BenchmarkConfig.Builder() |
public BenchmarkConfig.Builder setUri(URI uri)
public BenchmarkConfig.Builder setRequests(int requests)
public BenchmarkConfig.Builder setConcurrencyLevel(int concurrencyLevel)
public BenchmarkConfig.Builder setKeepAlive(boolean keepAlive)
public BenchmarkConfig.Builder setVerbosity(int verbosity)
public BenchmarkConfig.Builder setHeadInsteadOfGet(boolean headInsteadOfGet)
public BenchmarkConfig.Builder setContentType(ContentType contentType)
public BenchmarkConfig.Builder setHeaders(String[] headers)
public BenchmarkConfig.Builder setSocketTimeout(Timeout socketTimeout)
public BenchmarkConfig.Builder setMethod(String method)
public BenchmarkConfig.Builder setUseChunking(boolean useChunking)
public BenchmarkConfig.Builder setUseExpectContinue(boolean useExpectContinue)
public BenchmarkConfig.Builder setUseAcceptGZip(boolean useAcceptGZip)
public BenchmarkConfig.Builder setPayloadFile(File payloadFile)
public BenchmarkConfig.Builder setPayloadText(String payloadText)
public BenchmarkConfig.Builder setSoapAction(String soapAction)
public BenchmarkConfig.Builder setTimeLimit(TimeValue timeLimit)
public BenchmarkConfig.Builder setForceHttp2(boolean forceHttp2)
public BenchmarkConfig.Builder setDisableSSLVerification(boolean disableSSLVerification)
public BenchmarkConfig.Builder setTrustStorePath(String trustStorePath)
public BenchmarkConfig.Builder setIdentityStorePath(String identityStorePath)
public BenchmarkConfig.Builder setTrustStorePassword(String trustStorePassword)
public BenchmarkConfig.Builder setIdentityStorePassword(String identityStorePassword)
public BenchmarkConfig build()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.