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 2016/08/05 13:05:54 UTC

[Bug 59948] New: New formated and sane HTML source code render to View Results Tree

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

            Bug ID: 59948
           Summary: New formated and sane HTML source code render to View
                    Results Tree
           Product: JMeter
           Version: 3.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: ra0077@gmail.com

Created attachment 34106
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34106&action=edit
Text render

Hi,

In "View Results Tree" we can check the HTML source code with Text render.

Like you can see in HTMLNotFormated.png attached file, it could be complex to
read the source code.

I propose to use Jsoup (already use in JMeter)to format/sane the HTML source
code in a new render called HTML formated

The result : HTMLFormated.png

Antonio

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

[Bug 59948] New formated and sane HTML source code render to View Results Tree

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

--- Comment #1 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
Created attachment 34107
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34107&action=edit
HTML formated render

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

[Bug 59948] New formated and sane HTML source code render to View Results Tree

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

--- Comment #3 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
Yes JSoup can modify/cleanup the HTML.
It's why I don't have modify the original render (Text) to allow user to see
the original response.
The new render is (in my opinion) just to understand response on errors when
the response display an error (e.g. in a login page, your login/password is not
good)

Can you attach a screenshot with the checkbox or button you want to add?

Because it will be interested only for Text render

Antonio

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

[Bug 59948] New formated and sane HTML source code render to View Results Tree

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

--- Comment #4 from Sebb <se...@apache.org> ---
The new formatter shows HTML Source, so I think that should be the name.

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

[Bug 59948] New formated and sane HTML source code render to View Results Tree

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

--- Comment #6 from Felix Schumacher <fe...@internetallee.de> ---
Date: Wed Sep 14 14:55:29 2016
New Revision: 1760716

URL: http://svn.apache.org/viewvc?rev=1760716&view=rev
Log:
This closes #224

Modified:
    jmeter/trunk/bin/jmeter.properties
    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: Wed Sep 14 20:18:03 2016
New Revision: 1760749

URL: http://svn.apache.org/viewvc?rev=1760749&view=rev
Log:
Add RenderAsHTMLFormated.java file

Added:
   
jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsHTMLFormated.java

Date: Sat Sep 24 12:10:03 2016
New Revision: 1762119

URL: http://svn.apache.org/viewvc?rev=1762119&view=rev
Log:
Correct typo. Followup to r1760716 and r1760749.
Relates to github issue #224

Bugzilla Id: 55948

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

[Bug 59948] New formated and sane HTML source code render to View Results Tree

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

--- Comment #2 from UbikLoadPack support <su...@ubikloadpack.com> ---
Hello,
It's an interesting proposal, but I would suggest to add a checkbox or button
that provokes the formatting.

Because JSoup may fail to format HTML or modify/cleanup the HTML introducing a
change with the original.

Thanks

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

[Bug 59948] New formated and sane HTML source code render to View Results Tree

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

Antonio Gomes Rodrigues <ra...@gmail.com> changed:

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

--- Comment #5 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
Code commited in SVN
Antonio

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