blob: fc07ff0314c1d2584bbb7e6d62201d817128f95c [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SampleResult (Apache JMeter dist API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SampleResult (Apache JMeter dist API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"i8":9,"i9":10,"i10":10,"i11":10,"i12":42,"i13":10,"i14":42,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":9,"i54":10,"i55":42,"i56":9,"i57":10,"i58":10,"i59":42,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":42,"i74":10,"i75":42,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":42,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":42,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":42,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Apache JMeter</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/jmeter/samplers/Sampler.html" title="interface in org.apache.jmeter.samplers"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/jmeter/samplers/SampleSaveConfiguration.html" title="class in org.apache.jmeter.samplers"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/jmeter/samplers/SampleResult.html" target="_top">Frames</a></li>
<li><a href="SampleResult.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.jmeter.samplers</div>
<h2 title="Class SampleResult" class="title">Class SampleResult</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.jmeter.samplers.SampleResult</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="../../../../org/apache/jmeter/gui/Searchable.html" title="interface in org.apache.jmeter.gui">Searchable</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.html" title="class in org.apache.jmeter.protocol.http.sampler">HTTPSampleResult</a>, <a href="../../../../org/apache/jmeter/samplers/StatisticalSampleResult.html" title="class in org.apache.jmeter.samplers">StatisticalSampleResult</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">SampleResult</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="../../../../org/apache/jmeter/gui/Searchable.html" title="interface in org.apache.jmeter.gui">Searchable</a></pre>
<div class="block">This is a nice packaging for the various information returned from taking a
sample of an entry.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../serialized-form.html#org.apache.jmeter.samplers.SampleResult">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#BINARY">BINARY</a></span></code>
<div class="block">Data type value ("bin") indicating that the response data is binary.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#DEFAULT_ENCODING">DEFAULT_ENCODING</a></span></code>
<div class="block">The default encoding to be used to decode the responseData byte array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#DEFAULT_HTTP_ENCODING">DEFAULT_HTTP_ENCODING</a></span></code>
<div class="block">The default encoding to be used if not overridden.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#TEXT">TEXT</a></span></code>
<div class="block">Data type value ("text") indicating that the response data is text.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#SampleResult--">SampleResult</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#SampleResult-long-boolean-">SampleResult</a></span>(long&nbsp;elapsed,
boolean&nbsp;atend)</code>
<div class="block">Create a sample with a specific elapsed time but don't allow the times to
be changed later
(only used by HTTPSampleResult)</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#SampleResult-long-long-">SampleResult</a></span>(long&nbsp;stamp,
long&nbsp;elapsed)</code>
<div class="block">Allow users to create a sample with specific timestamp and elapsed times
for cloning purposes, but don't allow the times to be changed later
Currently used by CSVSaveService and
StatisticalSampleResult</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#SampleResult-org.apache.jmeter.samplers.SampleResult-">SampleResult</a></span>(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;res)</code>
<div class="block">Copy constructor.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#addAssertionResult-org.apache.jmeter.assertions.AssertionResult-">addAssertionResult</a></span>(<a href="../../../../org/apache/jmeter/assertions/AssertionResult.html" title="class in org.apache.jmeter.assertions">AssertionResult</a>&nbsp;assertResult)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#addRawSubResult-org.apache.jmeter.samplers.SampleResult-">addRawSubResult</a></span>(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;subResult)</code>
<div class="block">Add a subresult to the collection without updating any parent fields.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#addSubResult-org.apache.jmeter.samplers.SampleResult-">addSubResult</a></span>(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;subResult)</code>
<div class="block">Add a subresult and adjust the parent byte count and end-time.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#addSubResult-org.apache.jmeter.samplers.SampleResult-boolean-">addSubResult</a></span>(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;subResult,
boolean&nbsp;renameSubResults)</code>
<div class="block">Add a subresult and adjust the parent byte count and end-time.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#cleanAfterSample--">cleanAfterSample</a></span>()</code>
<div class="block">Clean up cached data</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#clone--">clone</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#connectEnd--">connectEnd</a></span>()</code>
<div class="block">Set the time to the end of connecting</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#createTestSample-long-">createTestSample</a></span>(long&nbsp;elapsed)</code>
<div class="block">Create a sample with a specific elapsed time for test purposes, but don't
allow the times to be changed later</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#createTestSample-long-long-">createTestSample</a></span>(long&nbsp;start,
long&nbsp;end)</code>
<div class="block">Create a sample with specific start and end times for test purposes, but
don't allow the times to be changed later
(used by StatVisualizerModel.Test)</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#currentTimeInMillis--">currentTimeInMillis</a></span>()</code>
<div class="block">Helper method to get 1 ms resolution timing.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getAllThreads--">getAllThreads</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/jmeter/assertions/AssertionResult.html" title="class in org.apache.jmeter.assertions">AssertionResult</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getAssertionResults--">getAssertionResults</a></span>()</code>
<div class="block">Gets the assertion results associated with this sample.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getBodySize--">getBodySize</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">replaced by getBodySizeAsLong()</span></div>
</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getBodySizeAsLong--">getBodySizeAsLong</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getBytes--">getBytes</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">use getBytesAsLong</span></div>
</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getBytesAsLong--">getBytesAsLong</a></span>()</code>
<div class="block">return the bytes returned by the response.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getConnectTime--">getConnectTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getContentType--">getContentType</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getDataEncodingNoDefault--">getDataEncodingNoDefault</a></span>()</code>
<div class="block">Returns the dataEncoding.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getDataEncodingWithDefault--">getDataEncodingWithDefault</a></span>()</code>
<div class="block">Returns the dataEncoding or the default if no dataEncoding was provided.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getDataEncodingWithDefault-java.lang.String-">getDataEncodingWithDefault</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultEncoding)</code>
<div class="block">Returns the dataEncoding or the default if no dataEncoding was provided.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getDataType--">getDataType</a></span>()</code>
<div class="block">Returns the data type of the sample.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getEndTime--">getEndTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getErrorCount--">getErrorCount</a></span>()</code>
<div class="block">Returns the count of errors.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getFirstAssertionFailureMessage--">getFirstAssertionFailureMessage</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getGroupThreads--">getGroupThreads</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getHeadersSize--">getHeadersSize</a></span>()</code>
<div class="block">Get the headers size in bytes</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getIdleTime--">getIdleTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getLatency--">getLatency</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getMediaType--">getMediaType</a></span>()</code>
<div class="block">Get the media type from the Content Type</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getParent--">getParent</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getRequestHeaders--">getRequestHeaders</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getResponseCode--">getResponseCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getResponseData--">getResponseData</a></span>()</code>
<div class="block">Gets the responseData attribute of the SampleResult object.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getResponseDataAsString--">getResponseDataAsString</a></span>()</code>
<div class="block">Gets the responseData of the SampleResult object as a String</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getResponseHeaders--">getResponseHeaders</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getResponseMessage--">getResponseMessage</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getResultFileName--">getResultFileName</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getSampleCount--">getSampleCount</a></span>()</code>
<div class="block">return the sample count.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getSampleLabel--">getSampleLabel</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getSampleLabel-boolean-">getSampleLabel</a></span>(boolean&nbsp;includeGroup)</code>
<div class="block">Get the sample label for use in summary reports etc.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getSamplerData--">getSamplerData</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/jmeter/samplers/SampleSaveConfiguration.html" title="class in org.apache.jmeter.samplers">SampleSaveConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getSaveConfig--">getSaveConfig</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getSearchableTokens--">getSearchableTokens</a></span>()</code>
<div class="block">Get a list of all tokens that should be visible to searching</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getSentBytes--">getSentBytes</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getStartTime--">getStartTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getSubResults--">getSubResults</a></span>()</code>
<div class="block">Gets the subresults associated with this sample.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/jmeter/threads/JMeterContext.TestLogicalAction.html" title="enum in org.apache.jmeter.threads">JMeterContext.TestLogicalAction</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getTestLogicalAction--">getTestLogicalAction</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getThreadName--">getThreadName</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getTime--">getTime</a></span>()</code>
<div class="block">Get the time it took this sample to occur.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getTimeStamp--">getTimeStamp</a></span>()</code>
<div class="block">Get the sample timestamp, which may be either the start time or the end time.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getURL--">getURL</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getUrlAsString--">getUrlAsString</a></span>()</code>
<div class="block">Get a String representation of the URL (if defined).</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isBinaryType-java.lang.String-">isBinaryType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ct)</code>&nbsp;</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isIgnore--">isIgnore</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isMonitor--">isMonitor</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since 3.2 always return false</span></div>
</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isRenameSampleLabel--">isRenameSampleLabel</a></span>()</code>
<div class="block">see https://bz.apache.org/bugzilla/show_bug.cgi?id=63055</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isResponseCodeOK--">isResponseCodeOK</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isStampedAtStart--">isStampedAtStart</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isStartNextThreadLoop--">isStartNextThreadLoop</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">use <a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getTestLogicalAction--"><code>getTestLogicalAction()</code></a></span></div>
</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isStopTest--">isStopTest</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isStopTestNow--">isStopTestNow</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isStopThread--">isStopThread</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#isSuccessful--">isSuccessful</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#latencyEnd--">latencyEnd</a></span>()</code>
<div class="block">Set the time to the first response</div>
</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#markFile-java.lang.String-">markFile</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;filename)</code>
<div class="block">Set the "marked" flag to show that the result has been written to the file.</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#removeAssertionResults--">removeAssertionResults</a></span>()</code>
<div class="block">Allow custom SampleSenders to drop unwanted assertionResults</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#removeSubResults--">removeSubResults</a></span>()</code>
<div class="block">Allow custom SampleSenders to drop unwanted subResults</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#sampleEnd--">sampleEnd</a></span>()</code>
<div class="block">Record the end time of a sample and calculate the elapsed time</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#samplePause--">samplePause</a></span>()</code>
<div class="block">Pause a sample</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#sampleResume--">sampleResume</a></span>()</code>
<div class="block">Resume a sample</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#sampleStart--">sampleStart</a></span>()</code>
<div class="block">Record the start time of a sample</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setAllThreads-int-">setAllThreads</a></span>(int&nbsp;n)</code>&nbsp;</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setBodySize-int-">setBodySize</a></span>(int&nbsp;bodySize)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">use setBodySize(long)</span></div>
</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setBodySize-long-">setBodySize</a></span>(long&nbsp;bodySize)</code>&nbsp;</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setBytes-int-">setBytes</a></span>(int&nbsp;length)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">use setBytes(long)</span></div>
</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setBytes-long-">setBytes</a></span>(long&nbsp;length)</code>
<div class="block">In the event the sampler does want to pass back the actual contents, we
still want to calculate the throughput.</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setConnectTime-long-">setConnectTime</a></span>(long&nbsp;time)</code>
<div class="block">This is only intended for use by SampleResultConverter!</div>
</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setContentType-java.lang.String-">setContentType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>
<div class="block">Stores the content-type string, e.g.</div>
</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setDataEncoding-java.lang.String-">setDataEncoding</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dataEncoding)</code>
<div class="block">Sets the dataEncoding.</div>
</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setDataType-java.lang.String-">setDataType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dataType)</code>
<div class="block">Sets the data type of the sample.</div>
</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setEncodingAndType-java.lang.String-">setEncodingAndType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ct)</code>
<div class="block">Extract and save the DataEncoding and DataType from the parameter provided.</div>
</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setEndTime-long-">setEndTime</a></span>(long&nbsp;end)</code>&nbsp;</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setErrorCount-int-">setErrorCount</a></span>(int&nbsp;i)</code>&nbsp;</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setGroupThreads-int-">setGroupThreads</a></span>(int&nbsp;n)</code>&nbsp;</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setHeadersSize-int-">setHeadersSize</a></span>(int&nbsp;size)</code>
<div class="block">Set the headers size in bytes</div>
</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setIdleTime-long-">setIdleTime</a></span>(long&nbsp;idle)</code>
<div class="block">Set idle time pause.</div>
</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setIgnore--">setIgnore</a></span>()</code>
<div class="block">Call this method to tell JMeter to ignore this SampleResult by Listeners</div>
</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setLatency-long-">setLatency</a></span>(long&nbsp;latency)</code>
<div class="block">This is only intended for use by SampleResultConverter!</div>
</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setMonitor-boolean-">setMonitor</a></span>(boolean&nbsp;monitor)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since 3.2 NOOP</span></div>
</div>
</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setParent-org.apache.jmeter.samplers.SampleResult-">setParent</a></span>(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setRequestHeaders-java.lang.String-">setRequestHeaders</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>&nbsp;</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setResponseCode-java.lang.String-">setResponseCode</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;code)</code>&nbsp;</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setResponseCodeOK--">setResponseCodeOK</a></span>()</code>
<div class="block">Set response code to OK, i.e.</div>
</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setResponseData-byte:A-">setResponseData</a></span>(byte[]&nbsp;response)</code>
<div class="block">Sets the responseData attribute of the SampleResult object.</div>
</td>
</tr>
<tr id="i95" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setResponseData-java.lang.String-">setResponseData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;response)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">- only intended for use from BeanShell code</span></div>
</div>
</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setResponseData-java.lang.String-java.lang.String-">setResponseData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;response,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;encoding)</code>
<div class="block">Sets the encoding and responseData attributes of the SampleResult object.</div>
</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setResponseHeaders-java.lang.String-">setResponseHeaders</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>&nbsp;</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setResponseMessage-java.lang.String-">setResponseMessage</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg)</code>&nbsp;</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setResponseMessageOK--">setResponseMessageOK</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setResponseOK--">setResponseOK</a></span>()</code>
<div class="block">Set result statuses OK - shorthand method to set:
ResponseCode
ResponseMessage
Successful status
</div>
</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setResultFileName-java.lang.String-">setResultFileName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;resultFileName)</code>&nbsp;</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setSampleCount-int-">setSampleCount</a></span>(int&nbsp;count)</code>
<div class="block">The statistical sample sender aggregates several samples to save on
transmission costs.</div>
</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setSampleLabel-java.lang.String-">setSampleLabel</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label)</code>&nbsp;</td>
</tr>
<tr id="i104" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setSamplerData-java.lang.String-">setSamplerData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>&nbsp;</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setSaveConfig-org.apache.jmeter.samplers.SampleSaveConfiguration-">setSaveConfig</a></span>(<a href="../../../../org/apache/jmeter/samplers/SampleSaveConfiguration.html" title="class in org.apache.jmeter.samplers">SampleSaveConfiguration</a>&nbsp;propertiesToSave)</code>&nbsp;</td>
</tr>
<tr id="i106" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setSentBytes-long-">setSentBytes</a></span>(long&nbsp;sentBytesCount)</code>&nbsp;</td>
</tr>
<tr id="i107" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setStampAndTime-long-long-">setStampAndTime</a></span>(long&nbsp;stamp,
long&nbsp;elapsed)</code>
<div class="block">For use by SaveService only.</div>
</td>
</tr>
<tr id="i108" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setStartNextThreadLoop-boolean-">setStartNextThreadLoop</a></span>(boolean&nbsp;startNextThreadLoop)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">use SampleResult#setTestLogicalAction(TestLogicalAction)</span></div>
</div>
</td>
</tr>
<tr id="i109" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setStartTime-long-">setStartTime</a></span>(long&nbsp;start)</code>&nbsp;</td>
</tr>
<tr id="i110" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setStopTest-boolean-">setStopTest</a></span>(boolean&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i111" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setStopTestNow-boolean-">setStopTestNow</a></span>(boolean&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i112" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setStopThread-boolean-">setStopThread</a></span>(boolean&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i113" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setSuccessful-boolean-">setSuccessful</a></span>(boolean&nbsp;success)</code>
<div class="block">Sets the successful attribute of the SampleResult object.</div>
</td>
</tr>
<tr id="i114" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setTestLogicalAction-org.apache.jmeter.threads.JMeterContext.TestLogicalAction-">setTestLogicalAction</a></span>(<a href="../../../../org/apache/jmeter/threads/JMeterContext.TestLogicalAction.html" title="enum in org.apache.jmeter.threads">JMeterContext.TestLogicalAction</a>&nbsp;testLogicalAction)</code>&nbsp;</td>
</tr>
<tr id="i115" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setThreadName-java.lang.String-">setThreadName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;threadName)</code>&nbsp;</td>
</tr>
<tr id="i116" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setTimeStamp-long-">setTimeStamp</a></span>(long&nbsp;timeStamp)</code>
<div class="block">This is only intended for use by SampleResultConverter!</div>
</td>
</tr>
<tr id="i117" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setURL-java.net.URL-">setURL</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;location)</code>&nbsp;</td>
</tr>
<tr id="i118" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#storeSubResult-org.apache.jmeter.samplers.SampleResult-">storeSubResult</a></span>(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;subResult)</code>
<div class="block">Add a subresult read from a results file.</div>
</td>
</tr>
<tr id="i119" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#toString--">toString</a></span>()</code>
<div class="block">Returns the display name.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="DEFAULT_HTTP_ENCODING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_HTTP_ENCODING</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DEFAULT_HTTP_ENCODING</pre>
<div class="block">The default encoding to be used if not overridden.
The value is ISO-8859-1.</div>
</li>
</ul>
<a name="DEFAULT_ENCODING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_ENCODING</h4>
<pre>protected static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DEFAULT_ENCODING</pre>
<div class="block">The default encoding to be used to decode the responseData byte array.
The value is defined by the property "sampleresult.default.encoding"
with a default of DEFAULT_HTTP_ENCODING if that is not defined.</div>
</li>
</ul>
<a name="TEXT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TEXT</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> TEXT</pre>
<div class="block">Data type value ("text") indicating that the response data is text.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getDataType--"><code>getDataType()</code></a>,
<a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setDataType-java.lang.String-"><code>setDataType(java.lang.String)</code></a>,
<a href="../../../../constant-values.html#org.apache.jmeter.samplers.SampleResult.TEXT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="BINARY">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BINARY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> BINARY</pre>
<div class="block">Data type value ("bin") indicating that the response data is binary.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getDataType--"><code>getDataType()</code></a>,
<a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setDataType-java.lang.String-"><code>setDataType(java.lang.String)</code></a>,
<a href="../../../../constant-values.html#org.apache.jmeter.samplers.SampleResult.BINARY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SampleResult--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SampleResult</h4>
<pre>public&nbsp;SampleResult()</pre>
</li>
</ul>
<a name="SampleResult-org.apache.jmeter.samplers.SampleResult-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SampleResult</h4>
<pre>public&nbsp;SampleResult(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;res)</pre>
<div class="block">Copy constructor.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>res</code> - existing sample result</dd>
</dl>
</li>
</ul>
<a name="SampleResult-long-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SampleResult</h4>
<pre>protected&nbsp;SampleResult(long&nbsp;elapsed,
boolean&nbsp;atend)</pre>
<div class="block">Create a sample with a specific elapsed time but don't allow the times to
be changed later
(only used by HTTPSampleResult)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>elapsed</code> - time</dd>
<dd><code>atend</code> - create the sample finishing now, else starting now</dd>
</dl>
</li>
</ul>
<a name="SampleResult-long-long-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SampleResult</h4>
<pre>public&nbsp;SampleResult(long&nbsp;stamp,
long&nbsp;elapsed)</pre>
<div class="block">Allow users to create a sample with specific timestamp and elapsed times
for cloning purposes, but don't allow the times to be changed later
Currently used by CSVSaveService and
StatisticalSampleResult</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stamp</code> - this may be a start time or an end time (both in
milliseconds)</dd>
<dd><code>elapsed</code> - time in milliseconds</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setSaveConfig-org.apache.jmeter.samplers.SampleSaveConfiguration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSaveConfig</h4>
<pre>public&nbsp;void&nbsp;setSaveConfig(<a href="../../../../org/apache/jmeter/samplers/SampleSaveConfiguration.html" title="class in org.apache.jmeter.samplers">SampleSaveConfiguration</a>&nbsp;propertiesToSave)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>propertiesToSave</code> - The propertiesToSave to set.</dd>
</dl>
</li>
</ul>
<a name="getSaveConfig--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSaveConfig</h4>
<pre>public&nbsp;<a href="../../../../org/apache/jmeter/samplers/SampleSaveConfiguration.html" title="class in org.apache.jmeter.samplers">SampleSaveConfiguration</a>&nbsp;getSaveConfig()</pre>
</li>
</ul>
<a name="isStampedAtStart--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStampedAtStart</h4>
<pre>public&nbsp;boolean&nbsp;isStampedAtStart()</pre>
</li>
</ul>
<a name="createTestSample-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTestSample</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;createTestSample(long&nbsp;start,
long&nbsp;end)</pre>
<div class="block">Create a sample with specific start and end times for test purposes, but
don't allow the times to be changed later
(used by StatVisualizerModel.Test)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - start time in milliseconds since unix epoch</dd>
<dd><code>end</code> - end time in milliseconds since unix epoch</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>sample with given start and end time</dd>
</dl>
</li>
</ul>
<a name="createTestSample-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTestSample</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;createTestSample(long&nbsp;elapsed)</pre>
<div class="block">Create a sample with a specific elapsed time for test purposes, but don't
allow the times to be changed later</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>elapsed</code> - - desired elapsed time in milliseconds</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>sample that starts 'now' and ends <code>elapsed</code> milliseconds later</dd>
</dl>
</li>
</ul>
<a name="currentTimeInMillis--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>currentTimeInMillis</h4>
<pre>public&nbsp;long&nbsp;currentTimeInMillis()</pre>
<div class="block">Helper method to get 1 ms resolution timing.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the current time in milliseconds</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</a></code> - when <code>useNanoTime</code> is <code>true</code> but
<code>nanoTimeOffset</code> is not set</dd>
</dl>
</li>
</ul>
<a name="setStampAndTime-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStampAndTime</h4>
<pre>public&nbsp;void&nbsp;setStampAndTime(long&nbsp;stamp,
long&nbsp;elapsed)</pre>
<div class="block">For use by SaveService only.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stamp</code> - this may be a start time or an end time (both in milliseconds)</dd>
<dd><code>elapsed</code> - time in milliseconds</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</a></code> - when <code>startTime</code> or <code>endTime</code> has been
set already</dd>
</dl>
</li>
</ul>
<a name="markFile-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>markFile</h4>
<pre>public&nbsp;boolean&nbsp;markFile(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;filename)</pre>
<div class="block">Set the "marked" flag to show that the result has been written to the file.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>filename</code> - the name of the file</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if the result was previously marked</dd>
</dl>
</li>
</ul>
<a name="getResponseCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResponseCode</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getResponseCode()</pre>
</li>
</ul>
<a name="setResponseCodeOK--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResponseCodeOK</h4>
<pre>public&nbsp;void&nbsp;setResponseCodeOK()</pre>
<div class="block">Set response code to OK, i.e. "200"</div>
</li>
</ul>
<a name="setResponseCode-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResponseCode</h4>
<pre>public&nbsp;void&nbsp;setResponseCode(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;code)</pre>
</li>
</ul>
<a name="isResponseCodeOK--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isResponseCodeOK</h4>
<pre>public&nbsp;boolean&nbsp;isResponseCodeOK()</pre>
</li>
</ul>
<a name="getResponseMessage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResponseMessage</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getResponseMessage()</pre>
</li>
</ul>
<a name="setResponseMessage-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResponseMessage</h4>
<pre>public&nbsp;void&nbsp;setResponseMessage(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg)</pre>
</li>
</ul>
<a name="setResponseMessageOK--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResponseMessageOK</h4>
<pre>public&nbsp;void&nbsp;setResponseMessageOK()</pre>
</li>
</ul>
<a name="setResponseOK--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResponseOK</h4>
<pre>public&nbsp;void&nbsp;setResponseOK()</pre>
<div class="block">Set result statuses OK - shorthand method to set:
<ul>
<li>ResponseCode</li>
<li>ResponseMessage</li>
<li>Successful status</li>
</ul></div>
</li>
</ul>
<a name="getThreadName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getThreadName</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getThreadName()</pre>
</li>
</ul>
<a name="setThreadName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setThreadName</h4>
<pre>public&nbsp;void&nbsp;setThreadName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;threadName)</pre>
</li>
</ul>
<a name="getTimeStamp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimeStamp</h4>
<pre>public&nbsp;long&nbsp;getTimeStamp()</pre>
<div class="block">Get the sample timestamp, which may be either the start time or the end time.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>timeStamp in milliseconds</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getStartTime--"><code>getStartTime()</code></a>,
<a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getEndTime--"><code>getEndTime()</code></a></dd>
</dl>
</li>
</ul>
<a name="getSampleLabel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSampleLabel</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getSampleLabel()</pre>
</li>
</ul>
<a name="getSampleLabel-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSampleLabel</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getSampleLabel(boolean&nbsp;includeGroup)</pre>
<div class="block">Get the sample label for use in summary reports etc.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>includeGroup</code> - whether to include the thread group name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the label</dd>
</dl>
</li>
</ul>
<a name="setSampleLabel-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSampleLabel</h4>
<pre>public&nbsp;void&nbsp;setSampleLabel(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label)</pre>
</li>
</ul>
<a name="addAssertionResult-org.apache.jmeter.assertions.AssertionResult-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAssertionResult</h4>
<pre>public&nbsp;void&nbsp;addAssertionResult(<a href="../../../../org/apache/jmeter/assertions/AssertionResult.html" title="class in org.apache.jmeter.assertions">AssertionResult</a>&nbsp;assertResult)</pre>
</li>
</ul>
<a name="getAssertionResults--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAssertionResults</h4>
<pre>public&nbsp;<a href="../../../../org/apache/jmeter/assertions/AssertionResult.html" title="class in org.apache.jmeter.assertions">AssertionResult</a>[]&nbsp;getAssertionResults()</pre>
<div class="block">Gets the assertion results associated with this sample.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the assertion results for this sample.
Returns empty array if there are no assertion results.</dd>
</dl>
</li>
</ul>
<a name="addSubResult-org.apache.jmeter.samplers.SampleResult-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSubResult</h4>
<pre>public&nbsp;void&nbsp;addSubResult(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;subResult)</pre>
<div class="block">Add a subresult and adjust the parent byte count and end-time.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>subResult</code> - the <a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers"><code>SampleResult</code></a> to be added</dd>
</dl>
</li>
</ul>
<a name="isRenameSampleLabel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRenameSampleLabel</h4>
<pre>public static&nbsp;boolean&nbsp;isRenameSampleLabel()</pre>
<div class="block">see https://bz.apache.org/bugzilla/show_bug.cgi?id=63055</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if TestPlan is in functional mode or property subresults.disable_renaming is true</dd>
</dl>
</li>
</ul>
<a name="addSubResult-org.apache.jmeter.samplers.SampleResult-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSubResult</h4>
<pre>public&nbsp;void&nbsp;addSubResult(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;subResult,
boolean&nbsp;renameSubResults)</pre>
<div class="block">Add a subresult and adjust the parent byte count and end-time.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>subResult</code> - the <a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers"><code>SampleResult</code></a> to be added</dd>
<dd><code>renameSubResults</code> - boolean do we rename subResults based on position</dd>
</dl>
</li>
</ul>
<a name="addRawSubResult-org.apache.jmeter.samplers.SampleResult-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addRawSubResult</h4>
<pre>public&nbsp;void&nbsp;addRawSubResult(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;subResult)</pre>
<div class="block">Add a subresult to the collection without updating any parent fields.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>subResult</code> - the <a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers"><code>SampleResult</code></a> to be added</dd>
</dl>
</li>
</ul>
<a name="storeSubResult-org.apache.jmeter.samplers.SampleResult-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>storeSubResult</h4>
<pre>public&nbsp;void&nbsp;storeSubResult(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;subResult)</pre>
<div class="block">Add a subresult read from a results file.
<p>
As for <a href="../../../../org/apache/jmeter/samplers/SampleResult.html#addSubResult-org.apache.jmeter.samplers.SampleResult-"><code>addSubResult(SampleResult)</code></a>, except that the fields don't need to be
accumulated</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>subResult</code> - the <a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers"><code>SampleResult</code></a> to be added</dd>
</dl>
</li>
</ul>
<a name="getSubResults--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubResults</h4>
<pre>public&nbsp;<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>[]&nbsp;getSubResults()</pre>
<div class="block">Gets the subresults associated with this sample.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the subresults for this sample. Returns an
empty array if there are no subresults.</dd>
</dl>
</li>
</ul>
<a name="setResponseData-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResponseData</h4>
<pre>public&nbsp;void&nbsp;setResponseData(byte[]&nbsp;response)</pre>
<div class="block">Sets the responseData attribute of the SampleResult object.
If the parameter is null, then the responseData is set to an empty byte array.
This ensures that getResponseData() can never be null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>response</code> - the new responseData value</dd>
</dl>
</li>
</ul>
<a name="setResponseData-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResponseData</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;void&nbsp;setResponseData(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;response)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">- only intended for use from BeanShell code</span></div>
<div class="block">Sets the responseData attribute of the SampleResult object.
Should only be called after setting the dataEncoding (if necessary)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>response</code> - the new responseData value (String)</dd>
</dl>
</li>
</ul>
<a name="setResponseData-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResponseData</h4>
<pre>public&nbsp;void&nbsp;setResponseData(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;response,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;encoding)</pre>
<div class="block">Sets the encoding and responseData attributes of the SampleResult object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>response</code> - the new responseData value (String)</dd>
<dd><code>encoding</code> - the encoding to set and then use (if null, use platform default)</dd>
</dl>
</li>
</ul>
<a name="getResponseData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResponseData</h4>
<pre>public&nbsp;byte[]&nbsp;getResponseData()</pre>
<div class="block">Gets the responseData attribute of the SampleResult object.
<p>
Note that some samplers may not store all the data, in which case
getResponseData().length will be incorrect.
Instead, always use <a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getBytes--"><code>getBytes()</code></a> to obtain the sample result byte count.
</p></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the responseData value (cannot be null)</dd>
</dl>
</li>
</ul>
<a name="getResponseDataAsString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResponseDataAsString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getResponseDataAsString()</pre>
<div class="block">Gets the responseData of the SampleResult object as a String</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the responseData value as a String, converted according to the encoding</dd>
</dl>
</li>
</ul>
<a name="setSamplerData-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSamplerData</h4>
<pre>public&nbsp;void&nbsp;setSamplerData(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
</li>
</ul>
<a name="getSamplerData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSamplerData</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getSamplerData()</pre>
</li>
</ul>
<a name="getTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTime</h4>
<pre>public&nbsp;long&nbsp;getTime()</pre>
<div class="block">Get the time it took this sample to occur.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>elapsed time in milliseconds</dd>
</dl>
</li>
</ul>
<a name="isSuccessful--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSuccessful</h4>
<pre>public&nbsp;boolean&nbsp;isSuccessful()</pre>
</li>
</ul>
<a name="setDataType-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDataType</h4>
<pre>public&nbsp;void&nbsp;setDataType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dataType)</pre>
<div class="block">Sets the data type of the sample.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dataType</code> - String containing <a href="../../../../org/apache/jmeter/samplers/SampleResult.html#BINARY"><code>BINARY</code></a> or <a href="../../../../org/apache/jmeter/samplers/SampleResult.html#TEXT"><code>TEXT</code></a></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#BINARY"><code>BINARY</code></a>,
<a href="../../../../org/apache/jmeter/samplers/SampleResult.html#TEXT"><code>TEXT</code></a></dd>
</dl>
</li>
</ul>
<a name="getDataType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataType</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getDataType()</pre>
<div class="block">Returns the data type of the sample.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>String containing <a href="../../../../org/apache/jmeter/samplers/SampleResult.html#BINARY"><code>BINARY</code></a> or <a href="../../../../org/apache/jmeter/samplers/SampleResult.html#TEXT"><code>TEXT</code></a> or the empty string</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#BINARY"><code>BINARY</code></a>,
<a href="../../../../org/apache/jmeter/samplers/SampleResult.html#TEXT"><code>TEXT</code></a></dd>
</dl>
</li>
</ul>
<a name="setEncodingAndType-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEncodingAndType</h4>
<pre>public&nbsp;void&nbsp;setEncodingAndType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ct)</pre>
<div class="block">Extract and save the DataEncoding and DataType from the parameter provided.
Does not save the full content Type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ct</code> - - content type (may be null)</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setContentType-java.lang.String-"><code>which should be used to save the full content-type string</code></a></dd>
</dl>
</li>
</ul>
<a name="isBinaryType-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isBinaryType</h4>
<pre>public static&nbsp;boolean&nbsp;isBinaryType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ct)</pre>
</li>
</ul>
<a name="setSuccessful-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSuccessful</h4>
<pre>public&nbsp;void&nbsp;setSuccessful(boolean&nbsp;success)</pre>
<div class="block">Sets the successful attribute of the SampleResult object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>success</code> - the new successful value</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<div class="block">Returns the display name.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>display name of this sample result</dd>
</dl>
</li>
</ul>
<a name="getDataEncodingWithDefault--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataEncodingWithDefault</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getDataEncodingWithDefault()</pre>
<div class="block">Returns the dataEncoding or the default if no dataEncoding was provided.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of the dataEncoding or DEFAULT_ENCODING</dd>
</dl>
</li>
</ul>
<a name="getDataEncodingWithDefault-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataEncodingWithDefault</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getDataEncodingWithDefault(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultEncoding)</pre>
<div class="block">Returns the dataEncoding or the default if no dataEncoding was provided.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>defaultEncoding</code> - the default to be applied</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of the dataEncoding or the provided default</dd>
</dl>
</li>
</ul>
<a name="getDataEncodingNoDefault--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataEncodingNoDefault</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getDataEncodingNoDefault()</pre>
<div class="block">Returns the dataEncoding. May be null or the empty String.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of the dataEncoding</dd>
</dl>
</li>
</ul>
<a name="setDataEncoding-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDataEncoding</h4>
<pre>public&nbsp;void&nbsp;setDataEncoding(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dataEncoding)</pre>
<div class="block">Sets the dataEncoding.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dataEncoding</code> - the dataEncoding to set, e.g. ISO-8895-1, UTF-8</dd>
</dl>
</li>
</ul>
<a name="isStopTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStopTest</h4>
<pre>public&nbsp;boolean&nbsp;isStopTest()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether to stop the test waiting for current running Sampler to end</dd>
</dl>
</li>
</ul>
<a name="isStopTestNow--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStopTestNow</h4>
<pre>public&nbsp;boolean&nbsp;isStopTestNow()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether to stop the test now interrupting current running samplers</dd>
</dl>
</li>
</ul>
<a name="isStopThread--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStopThread</h4>
<pre>public&nbsp;boolean&nbsp;isStopThread()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether to stop this thread</dd>
</dl>
</li>
</ul>
<a name="setStopTest-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStopTest</h4>
<pre>public&nbsp;void&nbsp;setStopTest(boolean&nbsp;b)</pre>
</li>
</ul>
<a name="setStopTestNow-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStopTestNow</h4>
<pre>public&nbsp;void&nbsp;setStopTestNow(boolean&nbsp;b)</pre>
</li>
</ul>
<a name="setStopThread-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStopThread</h4>
<pre>public&nbsp;void&nbsp;setStopThread(boolean&nbsp;b)</pre>
</li>
</ul>
<a name="getRequestHeaders--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRequestHeaders</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getRequestHeaders()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the request headers</dd>
</dl>
</li>
</ul>
<a name="getResponseHeaders--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResponseHeaders</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getResponseHeaders()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the response headers</dd>
</dl>
</li>
</ul>
<a name="setRequestHeaders-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRequestHeaders</h4>
<pre>public&nbsp;void&nbsp;setRequestHeaders(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - -
request headers</dd>
</dl>
</li>
</ul>
<a name="setResponseHeaders-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResponseHeaders</h4>
<pre>public&nbsp;void&nbsp;setResponseHeaders(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - -
response headers</dd>
</dl>
</li>
</ul>
<a name="getContentType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContentType</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getContentType()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the full content type - e.g. text/html [;charset=utf-8 ]</dd>
</dl>
</li>
</ul>
<a name="getMediaType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMediaType</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getMediaType()</pre>
<div class="block">Get the media type from the Content Type</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the media type - e.g. text/html (without charset, if any)</dd>
</dl>
</li>
</ul>
<a name="setContentType-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setContentType</h4>
<pre>public&nbsp;void&nbsp;setContentType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</pre>
<div class="block">Stores the content-type string, e.g. <code>text/xml; charset=utf-8</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - the content-type to be set</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/jmeter/samplers/SampleResult.html#setEncodingAndType-java.lang.String-"><code>which can be used to extract the charset.</code></a></dd>
</dl>
</li>
</ul>
<a name="getIdleTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIdleTime</h4>
<pre>public&nbsp;long&nbsp;getIdleTime()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>idleTime</dd>
</dl>
</li>
</ul>
<a name="getEndTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEndTime</h4>
<pre>public&nbsp;long&nbsp;getEndTime()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the end time</dd>
</dl>
</li>
</ul>
<a name="getStartTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStartTime</h4>
<pre>public&nbsp;long&nbsp;getStartTime()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the start time</dd>
</dl>
</li>
</ul>
<a name="setStartTime-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStartTime</h4>
<pre>protected final&nbsp;void&nbsp;setStartTime(long&nbsp;start)</pre>
</li>
</ul>
<a name="setEndTime-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEndTime</h4>
<pre>public&nbsp;void&nbsp;setEndTime(long&nbsp;end)</pre>
</li>
</ul>
<a name="setIdleTime-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIdleTime</h4>
<pre>public&nbsp;void&nbsp;setIdleTime(long&nbsp;idle)</pre>
<div class="block">Set idle time pause.
For use by SampleResultConverter/CSVSaveService.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>idle</code> - long</dd>
</dl>
</li>
</ul>
<a name="sampleStart--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sampleStart</h4>
<pre>public&nbsp;void&nbsp;sampleStart()</pre>
<div class="block">Record the start time of a sample</div>
</li>
</ul>
<a name="sampleEnd--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sampleEnd</h4>
<pre>public&nbsp;void&nbsp;sampleEnd()</pre>
<div class="block">Record the end time of a sample and calculate the elapsed time</div>
</li>
</ul>
<a name="samplePause--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>samplePause</h4>
<pre>public&nbsp;void&nbsp;samplePause()</pre>
<div class="block">Pause a sample</div>
</li>
</ul>
<a name="sampleResume--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sampleResume</h4>
<pre>public&nbsp;void&nbsp;sampleResume()</pre>
<div class="block">Resume a sample</div>
</li>
</ul>
<a name="setMonitor-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMonitor</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;void&nbsp;setMonitor(boolean&nbsp;monitor)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 3.2 NOOP</span></div>
<div class="block">When a Sampler is working as a monitor</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>monitor</code> - flag whether this sampler is working as a monitor</dd>
</dl>
</li>
</ul>
<a name="isMonitor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isMonitor</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;boolean&nbsp;isMonitor()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 3.2 always return false</span></div>
<div class="block">If the sampler is a monitor, method will return true.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the sampler is a monitor</dd>
</dl>
</li>
</ul>
<a name="setSampleCount-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSampleCount</h4>
<pre>public&nbsp;void&nbsp;setSampleCount(int&nbsp;count)</pre>
<div class="block">The statistical sample sender aggregates several samples to save on
transmission costs.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>count</code> - number of samples represented by this instance</dd>
</dl>
</li>
</ul>
<a name="getSampleCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSampleCount</h4>
<pre>public&nbsp;int&nbsp;getSampleCount()</pre>
<div class="block">return the sample count. by default, the value is 1.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the sample count</dd>
</dl>
</li>
</ul>
<a name="getErrorCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getErrorCount</h4>
<pre>public&nbsp;int&nbsp;getErrorCount()</pre>
<div class="block">Returns the count of errors.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>0 - or 1 if the sample failed
TODO do we need allow for nested samples?</dd>
</dl>
</li>
</ul>
<a name="setErrorCount-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setErrorCount</h4>
<pre>public&nbsp;void&nbsp;setErrorCount(int&nbsp;i)</pre>
</li>
</ul>
<a name="setBytes-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre>public&nbsp;void&nbsp;setBytes(long&nbsp;length)</pre>
<div class="block">In the event the sampler does want to pass back the actual contents, we
still want to calculate the throughput. The bytes are the bytes of the
response data.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - the number of bytes of the response data for this sample</dd>
</dl>
</li>
</ul>
<a name="setBytes-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;void&nbsp;setBytes(int&nbsp;length)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">use setBytes(long)</span></div>
<div class="block">In the event the sampler does want to pass back the actual contents, we
still want to calculate the throughput. The bytes are the bytes of the
response data.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - the number of bytes of the response data for this sample</dd>
</dl>
</li>
</ul>
<a name="setSentBytes-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSentBytes</h4>
<pre>public&nbsp;void&nbsp;setSentBytes(long&nbsp;sentBytesCount)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sentBytesCount</code> - long sent bytes</dd>
</dl>
</li>
</ul>
<a name="getSentBytes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSentBytes</h4>
<pre>public&nbsp;long&nbsp;getSentBytes()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the sentBytes</dd>
</dl>
</li>
</ul>
<a name="getBytes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;int&nbsp;getBytes()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">use getBytesAsLong</span></div>
<div class="block">return the bytes returned by the response.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>byte count</dd>
</dl>
</li>
</ul>
<a name="getBytesAsLong--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytesAsLong</h4>
<pre>public&nbsp;long&nbsp;getBytesAsLong()</pre>
<div class="block">return the bytes returned by the response.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>byte count</dd>
</dl>
</li>
</ul>
<a name="getLatency--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLatency</h4>
<pre>public&nbsp;long&nbsp;getLatency()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the latency.</dd>
</dl>
</li>
</ul>
<a name="latencyEnd--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>latencyEnd</h4>
<pre>public&nbsp;void&nbsp;latencyEnd()</pre>
<div class="block">Set the time to the first response</div>
</li>
</ul>
<a name="setLatency-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLatency</h4>
<pre>public&nbsp;void&nbsp;setLatency(long&nbsp;latency)</pre>
<div class="block">This is only intended for use by SampleResultConverter!</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>latency</code> - The latency to set.</dd>
</dl>
</li>
</ul>
<a name="getConnectTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectTime</h4>
<pre>public&nbsp;long&nbsp;getConnectTime()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the connect time.</dd>
</dl>
</li>
</ul>
<a name="connectEnd--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectEnd</h4>
<pre>public&nbsp;void&nbsp;connectEnd()</pre>
<div class="block">Set the time to the end of connecting</div>
</li>
</ul>
<a name="setConnectTime-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConnectTime</h4>
<pre>public&nbsp;void&nbsp;setConnectTime(long&nbsp;time)</pre>
<div class="block">This is only intended for use by SampleResultConverter!</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>time</code> - The connect time to set.</dd>
</dl>
</li>
</ul>
<a name="setTimeStamp-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimeStamp</h4>
<pre>public&nbsp;void&nbsp;setTimeStamp(long&nbsp;timeStamp)</pre>
<div class="block">This is only intended for use by SampleResultConverter!</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>timeStamp</code> - The timeStamp to set.</dd>
</dl>
</li>
</ul>
<a name="setURL-java.net.URL-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setURL</h4>
<pre>public&nbsp;void&nbsp;setURL(<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;location)</pre>
</li>
</ul>
<a name="getURL--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getURL</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;getURL()</pre>
</li>
</ul>
<a name="getUrlAsString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUrlAsString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUrlAsString()</pre>
<div class="block">Get a String representation of the URL (if defined).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ExternalForm of URL, or empty string if url is null</dd>
</dl>
</li>
</ul>
<a name="getParent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParent</h4>
<pre>public&nbsp;<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;getParent()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the parent.</dd>
</dl>
</li>
</ul>
<a name="setParent-org.apache.jmeter.samplers.SampleResult-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setParent</h4>
<pre>public&nbsp;void&nbsp;setParent(<a href="../../../../org/apache/jmeter/samplers/SampleResult.html" title="class in org.apache.jmeter.samplers">SampleResult</a>&nbsp;parent)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - The parent to set.</dd>
</dl>
</li>
</ul>
<a name="getResultFileName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResultFileName</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getResultFileName()</pre>
</li>
</ul>
<a name="setResultFileName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResultFileName</h4>
<pre>public&nbsp;void&nbsp;setResultFileName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;resultFileName)</pre>
</li>
</ul>
<a name="getGroupThreads--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupThreads</h4>
<pre>public&nbsp;int&nbsp;getGroupThreads()</pre>
</li>
</ul>
<a name="setGroupThreads-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGroupThreads</h4>
<pre>public&nbsp;void&nbsp;setGroupThreads(int&nbsp;n)</pre>
</li>
</ul>
<a name="getAllThreads--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllThreads</h4>
<pre>public&nbsp;int&nbsp;getAllThreads()</pre>
</li>
</ul>
<a name="setAllThreads-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAllThreads</h4>
<pre>public&nbsp;void&nbsp;setAllThreads(int&nbsp;n)</pre>
</li>
</ul>
<a name="removeAssertionResults--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAssertionResults</h4>
<pre>public&nbsp;void&nbsp;removeAssertionResults()</pre>
<div class="block">Allow custom SampleSenders to drop unwanted assertionResults</div>
</li>
</ul>
<a name="removeSubResults--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeSubResults</h4>
<pre>public&nbsp;void&nbsp;removeSubResults()</pre>
<div class="block">Allow custom SampleSenders to drop unwanted subResults</div>
</li>
</ul>
<a name="setHeadersSize-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeadersSize</h4>
<pre>public&nbsp;void&nbsp;setHeadersSize(int&nbsp;size)</pre>
<div class="block">Set the headers size in bytes</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - the number of bytes of the header</dd>
</dl>
</li>
</ul>
<a name="getHeadersSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeadersSize</h4>
<pre>public&nbsp;int&nbsp;getHeadersSize()</pre>
<div class="block">Get the headers size in bytes</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the headers size</dd>
</dl>
</li>
</ul>
<a name="getBodySize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBodySize</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;int&nbsp;getBodySize()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">replaced by getBodySizeAsLong()</span></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the body size in bytes</dd>
</dl>
</li>
</ul>
<a name="getBodySizeAsLong--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBodySizeAsLong</h4>
<pre>public&nbsp;long&nbsp;getBodySizeAsLong()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the body size in bytes</dd>
</dl>
</li>
</ul>
<a name="setBodySize-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBodySize</h4>
<pre>public&nbsp;void&nbsp;setBodySize(long&nbsp;bodySize)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bodySize</code> - the body size to set</dd>
</dl>
</li>
</ul>
<a name="setBodySize-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBodySize</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;void&nbsp;setBodySize(int&nbsp;bodySize)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">use setBodySize(long)</span></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bodySize</code> - the body size to set</dd>
</dl>
</li>
</ul>
<a name="isStartNextThreadLoop--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStartNextThreadLoop</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;boolean&nbsp;isStartNextThreadLoop()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">use <a href="../../../../org/apache/jmeter/samplers/SampleResult.html#getTestLogicalAction--"><code>getTestLogicalAction()</code></a></span></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the startNextThreadLoop</dd>
</dl>
</li>
</ul>
<a name="setStartNextThreadLoop-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStartNextThreadLoop</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;void&nbsp;setStartNextThreadLoop(boolean&nbsp;startNextThreadLoop)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">use SampleResult#setTestLogicalAction(TestLogicalAction)</span></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>startNextThreadLoop</code> - the startNextLoop to set</dd>
</dl>
</li>
</ul>
<a name="cleanAfterSample--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cleanAfterSample</h4>
<pre>public&nbsp;void&nbsp;cleanAfterSample()</pre>
<div class="block">Clean up cached data</div>
</li>
</ul>
<a name="clone--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;clone()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="getSearchableTokens--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSearchableTokens</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getSearchableTokens()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/jmeter/gui/Searchable.html#getSearchableTokens--">Searchable</a></code></span></div>
<div class="block">Get a list of all tokens that should be visible to searching</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/jmeter/gui/Searchable.html#getSearchableTokens--">getSearchableTokens</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/jmeter/gui/Searchable.html" title="interface in org.apache.jmeter.gui">Searchable</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>List of searchable tokens</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - when something fails while getting the searchable tokens</dd>
</dl>
</li>
</ul>
<a name="isIgnore--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isIgnore</h4>
<pre>public&nbsp;boolean&nbsp;isIgnore()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>boolean true if this SampleResult should not be sent to Listeners</dd>
</dl>
</li>
</ul>
<a name="setIgnore--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIgnore</h4>
<pre>public&nbsp;void&nbsp;setIgnore()</pre>
<div class="block">Call this method to tell JMeter to ignore this SampleResult by Listeners</div>
</li>
</ul>
<a name="getFirstAssertionFailureMessage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFirstAssertionFailureMessage</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getFirstAssertionFailureMessage()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>String first non null assertion failure message</dd>
</dl>
</li>
</ul>
<a name="getTestLogicalAction--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTestLogicalAction</h4>
<pre>public&nbsp;<a href="../../../../org/apache/jmeter/threads/JMeterContext.TestLogicalAction.html" title="enum in org.apache.jmeter.threads">JMeterContext.TestLogicalAction</a>&nbsp;getTestLogicalAction()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the testLogicalAction</dd>
</dl>
</li>
</ul>
<a name="setTestLogicalAction-org.apache.jmeter.threads.JMeterContext.TestLogicalAction-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setTestLogicalAction</h4>
<pre>public&nbsp;void&nbsp;setTestLogicalAction(<a href="../../../../org/apache/jmeter/threads/JMeterContext.TestLogicalAction.html" title="enum in org.apache.jmeter.threads">JMeterContext.TestLogicalAction</a>&nbsp;testLogicalAction)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>testLogicalAction</code> - the testLogicalAction to set</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Apache JMeter</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/jmeter/samplers/Sampler.html" title="interface in org.apache.jmeter.samplers"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/jmeter/samplers/SampleSaveConfiguration.html" title="class in org.apache.jmeter.samplers"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/jmeter/samplers/SampleResult.html" target="_top">Frames</a></li>
<li><a href="SampleResult.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.</small></p>
</body>
</html>