You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2006/01/13 20:51:39 UTC
svn commit: r368833 -
/jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/component_reference.xml
Author: sebb
Date: Fri Jan 13 11:51:28 2006
New Revision: 368833
URL: http://svn.apache.org/viewcvs?rev=368833&view=rev
Log:
Add reference to JMeterThread.last_sample_ok
Modified:
jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/component_reference.xml
Modified: jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/component_reference.xml?rev=368833&r1=368832&r2=368833&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/component_reference.xml Fri Jan 13 11:51:28 2006
@@ -1117,6 +1117,7 @@
<ul>
<li>${COUNT} < 10</li>
<li>"${VAR}" == "abcd"</li>
+ <li>"${JMeterThread.last_sample_ok}" == "true" (check if last sample succeeded)</li>
</ul>
If there is an error interpreting the code, the condition is assumed to be false, and a message is logged in jmeter.log.
</p>
@@ -2011,6 +2012,10 @@
Assertions are used to perform additional checks on samplers, and are processed after <b>each sampler</b>
in the same scope.
<br></br>
+ <note>
+ The variable <b>JMeterThread.last_sample_ok</b> is set to
+ "true" or "false" after all assertions for a sampler have been run.
+ </note>
</description>
<component index="§-num;.5.1" name="Response Assertion" anchor="basic_assertion" screenshot="assertion/assertion.gif">
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org