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 2017/02/08 10:27:05 UTC

[Bug 60710] New: XPath Extractor : When content on which assertion applies is not XML, in View Results Tree the extractor is marked in Red and named SAXParseException

https://bz.apache.org/bugzilla/show_bug.cgi?id=60710

            Bug ID: 60710
           Summary: XPath Extractor : When content on which assertion
                    applies is not XML, in View Results Tree the extractor
                    is marked in Red and named SAXParseException
           Product: JMeter
           Version: 3.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: support@ubikloadpack.com
  Target Milestone: ---

Name of Extractor is lost which does not make it easy to find which extractor
is concerned.

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

[Bug 60710] XPath Extractor : When content on which assertion applies is not XML, in View Results Tree the extractor is marked in Red and named SAXParseException

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

--- Comment #2 from UbikLoadPack support <su...@ubikloadpack.com> ---
Created attachment 34735
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34735&action=edit
Patch fixing the problem with more test units

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

[Bug 60710] XPath Extractor : When content on which assertion applies is not XML, in View Results Tree the extractor is marked in Red and named SAXParseException

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

UbikLoadPack support <su...@ubikloadpack.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable
            Version|3.1                         |2.6

--- Comment #1 from UbikLoadPack support <su...@ubikloadpack.com> ---
Line 191 of class XPathExtractor, replace:
AssertionResult ass = new AssertionResult(thrown.getClass().getSimpleName());
// $NON-NLS-1$
by
AssertionResult ass = new AssertionResult(getName()); // $NON-NLS-1$

It seems it's the only Extractor which names assertions this way on failure.

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

[Bug 60710] XPath Extractor : When content on which assertion applies is not XML, in View Results Tree the extractor is marked in Red and named SAXParseException

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Wed Feb  8 12:08:17 2017
New Revision: 1782147

Contributed by Ubik Load Pack
URL: http://svn.apache.org/viewvc?rev=1782147&view=rev
Log:
Bug 60710 - XPath Extractor : When content on which assertion applies is not
XML, in View Results Tree the extractor is marked in Red and named
SAXParseException
Bugzilla Id: 60710

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/extractor/XPathExtractor.java
    jmeter/trunk/test/src/org/apache/jmeter/extractor/TestXPathExtractor.java
    jmeter/trunk/xdocs/changes.xml

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