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/04/18 18:06:56 UTC

[Bug 56431] New: Add ability for RegexExtractor to fail sampler result if there is no match

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

            Bug ID: 56431
           Summary: Add ability for RegexExtractor to fail sampler result
                    if there is no match
           Product: JMeter
           Version: 2.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: mizhka@gmail.com

Created attachment 31542
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31542&action=edit
SVN Diff

Often there is need to stop iteration / fail sampler result if RegexExtractor
doesn't find matches. To resolve this problem usually we need to add Assertion
together with RegexExtractor. It duplicates code, increase processing time and
make script's author less happy. 

This fix is very simple, it makes RegexExtractor to add Assertion failure in
case of regexp mismatch. 

Also fix is posted on github:
https://github.com/Cka3o4Huk/jmeter/commit/47a46ba39ddd4d3470869d6821336d59d410de02

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

[Bug 56431] Add ability for RegexExtractor to fail sampler result if there is no match

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56431

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Sebb <se...@apache.org> ---
The Response Assertion can already do this

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