webservicesampler.html

来自「测试工具jmeter可用来进行性能测试」· HTML 代码 · 共 686 行 · 第 1/5 页

HTML
686
字号
</DL>
<HR>

<A NAME="setXmlData(java.lang.String)"><!-- --></A><H3>
setXmlData</H3>
<PRE>
public void <B>setXmlData</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;data)</PRE>
<DL>
<DD>Set the XML data.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>data</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="getXmlData()"><!-- --></A><H3>
getXmlData</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getXmlData</B>()</PRE>
<DL>
<DD>Get the XML data as a string.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>String data</DL>
</DD>
</DL>
<HR>

<A NAME="setSoapAction(java.lang.String)"><!-- --></A><H3>
setSoapAction</H3>
<PRE>
public void <B>setSoapAction</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;data)</PRE>
<DL>
<DD>Set the soap action which should be in the form of an URN.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>data</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="getSoapAction()"><!-- --></A><H3>
getSoapAction</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getSoapAction</B>()</PRE>
<DL>
<DD>Return the soap action string.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>String soap action</DL>
</DD>
</DL>
<HR>

<A NAME="setMemoryCache(boolean)"><!-- --></A><H3>
setMemoryCache</H3>
<PRE>
public void <B>setMemoryCache</B>(boolean&nbsp;cache)</PRE>
<DL>
<DD>Set the memory cache.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cache</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="getMemoryCache()"><!-- --></A><H3>
getMemoryCache</H3>
<PRE>
public boolean <B>getMemoryCache</B>()</PRE>
<DL>
<DD>Get the memory cache.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>boolean cache</DL>
</DD>
</DL>
<HR>

<A NAME="setReadResponse(boolean)"><!-- --></A><H3>
setReadResponse</H3>
<PRE>
public void <B>setReadResponse</B>(boolean&nbsp;read)</PRE>
<DL>
<DD>Set whether the sampler should read the response or not.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>read</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="getReadResponse()"><!-- --></A><H3>
getReadResponse</H3>
<PRE>
public boolean <B>getReadResponse</B>()</PRE>
<DL>
<DD>Return whether or not to read the response.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>boolean</DL>
</DD>
</DL>
<HR>

<A NAME="setUseProxy(boolean)"><!-- --></A><H3>
setUseProxy</H3>
<PRE>
public void <B>setUseProxy</B>(boolean&nbsp;proxy)</PRE>
<DL>
<DD>Set whether or not to use a proxy
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>proxy</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="getUseProxy()"><!-- --></A><H3>
getUseProxy</H3>
<PRE>
public boolean <B>getUseProxy</B>()</PRE>
<DL>
<DD>Return whether or not to use proxy
<P>
<DD><DL>

<DT><B>Returns:</B><DD>tru

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?