I was in software industry since 2007. In this blog i am writing some tips i know from my personal experience for people who are in this software profession.
Monday, July 18, 2016
How to generate html report from jmeter output? ie., JTL -> HTML
How to generate html report from jmeter output? ie., JTL -> HTML
Steps
1) Find and replace the special characters in the jtl file.
Making use of vim find and replace commands will replace all special characters like &#xw;, &#xww;, &#xwww;, &#xwwww; and 𒄣 with empty space. This step have to be done because xsltproc will not work if these characters present.
vim -c ":%s/&#x\w;//g" -c ":wq" log.jtl
vim -c ":%s/&#x\w\w;//g" -c ":wq" log.jtl
vim -c ":%s/&#x\w\w\w;//g" -c ":wq" log.jtl
vim -c ":%s/&#x\w\w\w\w;//g" -c ":wq" log.jtl
vim -c ":%s/�//g" -c ":wq" log.jtl
vim -c ":%s/&#x\d+//g" -c ":wq" log.jtl
2) Execute xsltproc command using the attached style sheet Jmeter-Results-Details.xsl.
xsltproc Jmeter-Results-Details.xsl log.jtl > output/result.html
Here log.jtl is the jmeter result file. The result.html is the converted html file we want.
Note:
A) The steps are for linux machine. If you have a windows machine the utility xsltproc can be installed separately and find and replace can be done using any document editing software.
B) Style sheet used - XSLT Style Sheet for JTL to HTML
Subscribe to:
Post Comments (Atom)
تزریق بوتاکس یکی از مدل های جوان سازی پوست می باشد که به دلیل قیمت مناسب و مزایای فوق العاده ای که دارد، مورد پسند افراد بسیاری است.
ReplyDeletehttps://drkhaliliclinic.com/botax-injection/
این عامل سبب شده تا افراد بسیاری تزریق بوتاکس را نسبت به سایر موارد درمانی ترجیح دهند.
This comment has been removed by the author.
ReplyDelete