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 - Now in Github | Reporter: | UbikLoadPack support <support> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | p.mouawad |
Priority: | P2 | Keywords: | PatchAvailable |
Version: | 2.6 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Patch fixing the problem with more test units |
Description
UbikLoadPack support
2017-02-08 10:27:05 UTC
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. Created attachment 34735 [details]
Patch fixing the problem with more test units
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 This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4271 |