Summary: | View Results Tree : Add an XPath Tester | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Philippe Mouawad <p.mouawad> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | p.mouawad |
Priority: | P2 | ||
Version: | Nightly (Please specify date) | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | XPath Tester Screenshot |
Description
Philippe Mouawad
2013-09-29 12:24:44 UTC
Created attachment 31034 [details]
XPath Tester Screenshot
Date: Mon Nov 11 21:56:26 2013 New Revision: 1540858 URL: http://svn.apache.org/r1540858 Log: Bug 55610 - View Results Tree : Add an XPath Tester Bugzilla Id: 55610 Added: jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsXPath.java (with props) Modified: jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/component_reference.xml Date: Mon Nov 11 21:59:33 2013 New Revision: 1540861 URL: http://svn.apache.org/r1540861 Log: Bug 55610 - View This XPath tester is very very slow. On my core i5, when I select the xpath tester, I must wait more than 1 minute to display their pane (on Html page) The first time, I believed that my computer (linux) has been crashed (stopped), and I prepared to make a hard reset! This new tester is too slow to display the pane for the end user, I think it must be tuned / fixed. When I try to display the Xpath tester pane (on html page), I have this message (on stderr): [Fatal Error] :49:3: The element type "meta" must be terminated by the matching end-tag "</meta>". Can you show what XML you tested ? Or did you try HTML ? What is the size of your XML ? It is strange, I test on this for example: - http://projects.apache.org/feeds/rss/jmeter.xml It is not slow at all. Also for me, XPath is for XML. CSS/JQuery is for HTML. The error you mention is due to formatting, I will fix it. Tried on HTML not able to reproduce. What is your java version ? Yes, If the XML (or HTML) pages are correct (without syntax errors) the xpath tester isn't slow. Like : http://projects.apache.org/feeds/rss/jmeter.xml But with html page with syntax errors, it's need to wait a lot of time to display the xpath tester Example: http://jmeter.apache.org/ or http://jmeter.apache.org/issues.html [Fatal Error] loose.dtd:31:3: The declaration for the entity "HTML.Version" must end with '>'. https://www.google.fr [Fatal Error] :1:3: The markup in the document preceding the root element must be well-formed. http://www.royalairmaroc.com/fr-fr (more than 1 min) [Fatal Error] :34:106: Attribute "href" was already specified for element "a". Java JDK 7u45 64 bits on Linux Debian 7 Date: Sat Nov 23 14:33:37 2013 New Revision: 1544809 URL: http://svn.apache.org/r1544809 Log: https://issues.apache.org/bugzilla/show_bug.cgi?id=55610 Fix slow display issue due to XML formatting when content is not XML. Formatting is anyway not a good idea. Bugzilla Id: 55610 Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsXPath.java This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3245 |