org.apache.jmeter.protocol.http.sampler
Class SoapSampler
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.samplers.AbstractSampler
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
org.apache.jmeter.protocol.http.sampler.HTTPSampler
org.apache.jmeter.protocol.http.sampler.SoapSampler
- All Implemented Interfaces:
- Cloneable, Sampler, Serializable, TestElement, TestListener
- public class SoapSampler
- extends HTTPSampler
Sampler to handle SOAP Requests.
- Version:
- $Id: SoapSampler.java,v 1.11.2.1 2004/09/21 18:25:37 sebb Exp $
- Author:
- Jordi Salvat i Alabart
- See Also:
- Serialized Form
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase |
ARGUMENTS, AUTH_MANAGER, AUTO_REDIRECTS, CONTENT_TYPE, COOKIE_MANAGER, DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT, DEFAULT_PROTOCOL, DOMAIN, FILE_DATA, FILE_FIELD, FILE_MIMETYPE, FILE_NAME, FOLLOW_REDIRECTS, GET, HEADER_MANAGER, IMAGE_PARSER, MAX_FRAME_DEPTH, MAX_REDIRECTS, METHOD, MIMETYPE, MONITOR, MULTIPART_FORM, NON_HTTP_RESPONSE_CODE, NON_HTTP_RESPONSE_MESSAGE, NORMAL_FORM, PATH, PORT, POST, PROTOCOL, UNSPECIFIED_PORT, URL, USE_KEEPALIVE |
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase |
addArgument, addArgument, addEncodedArgument, addTestElement, clone, downloadPageResources, encodeSpaces, errorResult, getArguments, getAuthManager, getCookieManager, getDomain, getFileField, getFilename, getFollowRedirects, getHeaderManager, getMethod, getMimetype, getMonitor, getPath, getPort, getProtocol, getQueryString, getUrl, getUseKeepAlive, isImageParser, isMonitor, parseArguments, sample, setArguments, setAuthManager, setCookieManager, setDomain, setFileField, setFilename, setFollowRedirects, setHeaderManager, setImageParser, setMethod, setMimetype, setMonitor, setPath, setPort, setProtocol, setUseKeepAlive, testEnded, testEnded, testIterationStart, testStarted, testStarted |
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, canRemove, clear, clearTemporary, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from interface org.apache.jmeter.testelement.TestElement |
canRemove, clear, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse |
XML_DATA
public static final String XML_DATA
- See Also:
- Constant Field Values
URL_DATA
public static final String URL_DATA
- See Also:
- Constant Field Values
SoapSampler
public SoapSampler()
setXmlData
public void setXmlData(String data)
getXmlData
public String getXmlData()
getURLData
public String getURLData()
setURLData
public void setURLData(String url)
setPostHeaders
public void setPostHeaders(URLConnection connection)
throws IOException
- Set the HTTP request headers in preparation to open the connection
and sending the POST data.
- Overrides:
setPostHeaders
in class HTTPSampler
- Parameters:
connection
- URLConnection
to set headers on
- Throws:
IOException
- if an I/O exception occurs
sendPostData
public void sendPostData(URLConnection connection)
throws IOException
- Send POST data from
Entry
to the open connection.
- Overrides:
sendPostData
in class HTTPSampler
- Parameters:
connection
- URLConnection
of where POST data
should be sent
- Throws:
IOException
- if an I/O exception occurs
sample
public SampleResult sample(Entry e)
- Description copied from class:
HTTPSamplerBase
- Do a sampling and return its results.
- Specified by:
sample
in interface Sampler
- Overrides:
sample
in class HTTPSamplerBase
- Parameters:
e
- Entry
to be sampled
- Returns:
- results of the sampling
toString
public String toString()
- Overrides:
toString
in class HTTPSamplerBase
Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.