org.apache.jmeter.protocol.http.sampler
Class HTTPSamplerFactory
public class HTTPSamplerFactory
Factory to return the appropriate HTTPSampler for use with classes that need
an HTTPSampler
DEFAULT_CLASSNAME
public static final String DEFAULT_CLASSNAME
HTTP_SAMPLER_APACHE
public static final String HTTP_SAMPLER_APACHE
Use Apache HTTPClient HTTP implementation
HTTP_SAMPLER_JAVA
public static final String HTTP_SAMPLER_JAVA
Use the the default Java HTTP implementation
newInstance
public static HTTPSamplerBase newInstance()
Create a new instance of the default sampler
- instance of default sampler
newInstance
public static HTTPSamplerBase newInstance(String alias)
Create a new instance of the required sampler type
alias
- HTTP_SAMPLER or HTTP_SAMPLER_APACHE
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.