Logo Search packages:      
Sourcecode: jakarta-jmeter version File versions  Download package

org::apache::jmeter::protocol::http::sampler::SoapSampler Class Reference

Inheritance diagram for org::apache::jmeter::protocol::http::sampler::SoapSampler:

org::apache::jmeter::protocol::http::sampler::HTTPSampler2 org::apache::jmeter::samplers::Interruptible org::apache::jmeter::protocol::http::sampler::HTTPSamplerBase org::apache::jmeter::samplers::Interruptible org::apache::jmeter::testelement::TestListener org::apache::jmeter::testelement::ThreadListener org::apache::jmeter::protocol::http::util::HTTPConstantsInterface org::apache::jmeter::samplers::Sampler

List of all members.


Detailed Description

Commons HTTPClient based soap sampler

Definition at line 48 of file SoapSampler.java.


Public Member Functions

void addArgument (String name, String value, String metadata)
void addArgument (String name, String value)
void addEncodedArgument (String name, String value, String metaData)
void addEncodedArgument (String name, String value, String metaData, String contentEncoding)
void addEncodedArgument (String name, String value)
void addNonEncodedArgument (String name, String value, String metadata)
void addTestElement (TestElement el)
boolean canRemove ()
void clear ()
Object clone ()
boolean equals (Object o)
Arguments getArguments ()
AuthManager getAuthManager ()
boolean getAutoRedirects ()
CacheManager getCacheManager ()
String getClient ()
String getComment ()
int getConnectTimeout ()
String getContentEncoding ()
CookieManager getCookieManager ()
String getDomain ()
boolean getDoMultipartPost ()
String getEmbeddedUrlRE ()
String getFileField ()
String getFilename ()
boolean getFollowRedirects ()
HeaderManager getHeaderManager ()
int getHTTPFileCount ()
HTTPFileArg[] getHTTPFiles ()
String getImplementation ()
String getMethod ()
String getMimetype ()
String getMonitor ()
String getName ()
String getPath ()
int getPort ()
int getPortIfSpecified ()
JMeterProperty getProperty (String key)
boolean getPropertyAsBoolean (String key, boolean defaultVal)
boolean getPropertyAsBoolean (String key)
double getPropertyAsDouble (String key)
float getPropertyAsFloat (String key)
int getPropertyAsInt (String key, int defaultValue)
int getPropertyAsInt (String key)
long getPropertyAsLong (String key)
String getPropertyAsString (String key, String defaultValue)
String getPropertyAsString (String key)
String getProtocol ()
String getQueryString (String contentEncoding)
String getQueryString ()
int getResponseTimeout ()
boolean getSendFileAsPostBody ()
boolean getSendParameterValuesAsPostBody ()
boolean getSendSOAPAction ()
String getSOAPAction ()
String getSOAPActionQuoted ()
JMeterContext getThreadContext ()
String getThreadName ()
URL getUrl () throws MalformedURLException
String getURLData ()
boolean getUseKeepAlive ()
boolean getUseMultipartForPost ()
String getXmlData ()
String getXmlFile ()
boolean hasArguments ()
int hashCode ()
boolean interrupt ()
boolean isEnabled ()
boolean isImageParser ()
boolean isMonitor ()
boolean isProtocolDefaultPort ()
boolean isRunningVersion ()
boolean isTemporary (JMeterProperty property)
void parseArguments (String queryString)
void parseArguments (String queryString, String contentEncoding)
PropertyIterator propertyIterator ()
byte[] readResponse (SampleResult sampleResult, InputStream in, int length) throws IOException
void recoverRunningVersion ()
void removeProperty (String key)
SampleResult sample ()
SampleResult sample (Entry e)
void setArguments (Arguments value)
void setAuthManager (AuthManager value)
void setAutoRedirects (boolean value)
void setCacheManager (CacheManager value)
void setClient (String client)
void setComment (String comment)
void setConnectTimeout (String value)
void setContentEncoding (String value)
void setCookieManager (CookieManager value)
void setDomain (String value)
void setDoMultipartPost (boolean value)
void setEmbeddedUrlRE (String regex)
void setFileField (String value)
void setFilename (String value)
void setFollowRedirects (boolean value)
void setHeaderManager (HeaderManager value)
void setHTTPFiles (HTTPFileArg[] files)
void setImageParser (boolean parseImages)
void setImplementation (String value)
void setMD5 (boolean truth)
void setMethod (String value)
void setMimetype (String value)
void setMonitor (boolean truth)
void setMonitor (String value)
void setName (String name)
void setPath (String path, String contentEncoding)
void setPath (String path)
void setPort (int value)
void setProperty (String name, int value, int dflt)
void setProperty (String name, int value)
void setProperty (String name, boolean value, boolean dflt)
void setProperty (String name, boolean value)
void setProperty (String name, String value, String dflt)
void setProperty (String name, String value)
void setProperty (JMeterProperty property)
void setProtocol (String value)
void setResponseTimeout (String value)
void setRunningVersion (boolean runningVersion)
void setSendSOAPAction (boolean action)
void setSOAPAction (String action)
void setTemporary (JMeterProperty property)
void setThreadContext (JMeterContext inthreadContext)
void setThreadName (String inthreadName)
void setURLData (String url)
void setUseKeepAlive (boolean value)
void setXmlData (String data)
void setXmlFile (String filename)
void testEnded (String host)
void testEnded ()
void testIterationStart (LoopIterationEvent event)
void testStarted (String host)
void testStarted ()
void threadFinished ()
void threadStarted ()
String toString ()
void traverse (TestElementTraverser traverser)
boolean useMD5 ()

Static Public Member Functions

static int getDefaultPort (String protocol, int port)
static String[] getValidMethodsAsArray ()
static boolean isSecure (URL url)
static boolean isSecure (String protocol)

Static Public Attributes

static final String APPLICATION_X_WWW_FORM_URLENCODED = "application/x-www-form-urlencoded"
static final String ARGUMENTS = "HTTPsampler.Arguments"
static final String AUTH_MANAGER = "HTTPSampler.auth_manager"
static final String AUTO_REDIRECTS = "HTTPSampler.auto_redirects"
static final String CACHE_MANAGER = "HTTPSampler.cache_manager"
static final String CLIENT = "HTTPSampler.client"
static final String COMMENTS = "TestPlan.comments"
static final String CONNECT_TIMEOUT = "HTTPSampler.connect_timeout"
static final String CONNECTION_CLOSE = "close"
static final String CONTENT_ENCODING = "HTTPSampler.contentEncoding"
static final String CONTENT_TYPE = "HTTPSampler.CONTENT_TYPE"
static final String COOKIE_MANAGER = "HTTPSampler.cookie_manager"
static final int DEFAULT_HTTP_PORT = 80
static final String DEFAULT_HTTP_PORT_STRING = "80"
static final int DEFAULT_HTTPS_PORT = 443
static final String DEFAULT_HTTPS_PORT_STRING = "443"
static final String DEFAULT_METHOD = GET
static final String DELETE = "DELETE"
static final String DO_MULTIPART_POST = "HTTPSampler.DO_MULTIPART_POST"
static final String DOMAIN = "HTTPSampler.domain"
static final String EMBEDDED_URL_RE = "HTTPSampler.embedded_url_re"
static final String ENABLED = "TestElement.enabled"
static final String ENCODING_GZIP = "gzip"
static final String ETAG = "Etag"
static final String FOLLOW_REDIRECTS = "HTTPSampler.follow_redirects"
static final String GET = "GET"
static final String GUI_CLASS = "TestElement.gui_class"
static final String HEAD = "HEAD"
static final String HEADER_AUTHORIZATION = "Authorization"
static final String HEADER_CONNECTION = "Connection"
static final String HEADER_CONTENT_DISPOSITION = "Content-Disposition"
static final String HEADER_CONTENT_ENCODING = "content-encoding"
static final String HEADER_CONTENT_LENGTH = "Content-Length"
static final String HEADER_CONTENT_TYPE = "Content-Type"
static final String HEADER_COOKIE = "Cookie"
static final String HEADER_LOCATION = "Location"
static final String HEADER_MANAGER = "HTTPSampler.header_manager"
static final String HEADER_SET_COOKIE = "set-cookie"
static final String HTTP_1_1 = "HTTP/1.1"
static final String IF_MODIFIED_SINCE = "If-Modified-Since"
static final String IF_NONE_MATCH = "If-None-Match"
static final String IMAGE_PARSER = "HTTPSampler.image_parser"
static final String IMPLEMENTATION = "HTTPSampler.implementation"
static final String KEEP_ALIVE = "keep-alive"
static final String LAST_MODIFIED = "Last-Modified"
static final String METHOD = "HTTPSampler.method"
static final String MONITOR = "HTTPSampler.monitor"
static final String MULTIPART_FORM_DATA = "multipart/form-data"
static final String NAME = "TestElement.name"
static final String OPTIONS = "OPTIONS"
static final String PATH = "HTTPSampler.path"
static final String PORT = "HTTPSampler.port"
static final String POST = "POST"
static final String PROTOCOL = "HTTPSampler.protocol"
static final String PROTOCOL_HTTP = "http"
static final String PROTOCOL_HTTPS = "https"
static final String PUT = "PUT"
static final String RESPONSE_TIMEOUT = "HTTPSampler.response_timeout"
static final String SEND_SOAP_ACTION = "SoapSampler.SEND_SOAP_ACTION"
static final String SOAP_ACTION = "SoapSampler.SOAP_ACTION"
static final String TEST_CLASS = "TestElement.test_class"
static final String TRACE = "TRACE"
static final String TRANSFER_ENCODING = "transfer-encoding"
static final int UNSPECIFIED_PORT = 0
static final String UNSPECIFIED_PORT_AS_STRING = "0"
static final String URL = "HTTPSampler.URL"
static final String URL_DATA = "SoapSampler.URL_DATA"
static final int URL_UNSPECIFIED_PORT = -1
static final String URL_UNSPECIFIED_PORT_AS_STRING = "-1"
static final String USE_KEEPALIVE = "HTTPSampler.use_keepalive"
static final String XML_DATA = "HTTPSamper.xml_data"
static final String XML_DATA_FILE = "SoapSampler.xml_data_file"

Protected Member Functions

void addProperty (JMeterProperty property)
void clearTemporary (JMeterProperty property)
HTTPSampleResult downloadPageResources (HTTPSampleResult res, HTTPSampleResult container, int frameDepth)
void emptyTemporary ()
String encodeSpaces (String path)
HTTPSampleResult errorResult (Throwable e, HTTPSampleResult res)
HTTPSampleResult followRedirects (HTTPSampleResult res, int frameDepth)
String getConnectionHeaders (HttpMethod method)
String getResponseHeaders (HttpMethod method)
boolean isSuccessCode (int code)
void logProperties ()
void mergeIn (TestElement element)
HTTPSampleResult resultProcessing (boolean areFollowingRedirect, int frameDepth, HTTPSampleResult res)
HTTPSampleResult sample (URL url, String method, boolean areFollowingRedirect, int frameDepth)
void saveConnectionCookies (HttpMethod method, URL u, CookieManager cookieManager)
void setDefaultRequestHeaders (HttpMethod httpMethod)
int setPostHeaders (PostMethod post)
HttpClient setupConnection (URL u, HttpMethodBase httpMethod, HTTPSampleResult res) throws IOException
void traverseCollection (CollectionProperty col, TestElementTraverser traverser)
void traverseMap (MapProperty map, TestElementTraverser traverser)
void traverseProperty (TestElementTraverser traverser, JMeterProperty value)

Static Protected Member Functions

static String encodeBackSlashes (String value)

Protected Attributes

volatile HttpClient savedClient

Static Protected Attributes

static final int MAX_FRAME_DEPTH = JMeterUtils.getPropDefault("httpsampler.max_frame_depth", 5)
static final int MAX_REDIRECTS = JMeterUtils.getPropDefault("httpsampler.max_redirects", 5)
static final String NON_HTTP_RESPONSE_CODE = "Non HTTP response code"
static final String NON_HTTP_RESPONSE_MESSAGE = "Non HTTP response message"

Static Package Functions

 [static initializer]

Static Package Attributes

static final ThreadLocal httpClients = new ThreadLocal()
static final InetAddress localAddress
static final String PROXY_HOST
static final String PROXY_PASS
static final int PROXY_PORT
static final String PROXY_USER

Private Member Functions

String sendPostData (PostMethod post, final int length)

Static Private Attributes

static final String DEFAULT_CONTENT_TYPE = "text/xml"
static final String DOUBLE_QUOTE = "\""
static final String ENCODING = "utf-8"
static final Logger log = LoggingManager.getLoggerForClass()
static final String SOAPACTION = "SOAPAction"

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index