Hi all
In my testplan I want to define "Duration Assertions" on different
levels, but seldom on the sampler level. From the JMeter-GUI it is
only possible to define Assertions on Sampler level.
But as a workaround (silly I know) I used the drag'n'drop mechanism of
JMeter to move the Assertion afterwards to, for example Controller
level or to the "top level" (in my case the Tread group).
During the test, the Assertions do their job. So if a check of an
assertion fails after processing a sample result (in my case HTTP
Samples), the test will be marked as failed.
But in the output of the test (XML file) it looks like this:
<sampleResult timeStamp="..." dataType="text"
threadName="Thread Group1-1"
label="testrequest" time="3091"
responseMessage="OK"
responseCode="200"
success="false"/>
^^^^^
So the error message is not taken from the assertion failure :-(
Is this a known bug or am I totally wrong by using assertions that
way?
Many thanks for any hint!
Silvio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]