You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2014/11/04 13:21:15 UTC

[Bug 54156] DurationAssertion does not seem to make difference between Main sample only and Main sample and sub-samples for time

https://issues.apache.org/bugzilla/show_bug.cgi?id=54156

--- Comment #2 from Dzmitry Kashlach <dz...@blazemeter.com> ---
(In reply to Philippe Mouawad from comment #0)
> I may be wrong but I don't see in JMeterThread#checkAssertions code:
> if (scopedAssertion.isScopeParent(scope) ||
> scopedAssertion.isScopeAll(scope) || scopedAssertion.isScopeVariable(scope)){
>                     processAssertion(parent, assertion);
>                 }
> 

 Actually, this code is present in JMeterThread(lines 677-679).
But as far as I understand from code, Duration Assertion is processed against
parent+subsamples time anyway(if subsamples are present).
 This happens because SampleResult contains time not only for parent request,
but for parent+subrequests. To my mind, changes in SampleResult are required.

-- 
You are receiving this mail because:
You are the assignee for the bug.