Thursday, February 18, 2016

Converting or compiling Jmeter result file (JTL) to HTML

Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications. 
Ant is very flexible to use .It converts the JTl to HTML format .

Below are the setting to use Apache ANT that converts JTl in to an HTML file :

1)    Ensure that the JAVA_HOME environment variable is set to the folder where your JDK is installed.
2)    Download the binaries from http://ant.apache.org
3)    Unzip the zip file to a convenient location c:\folder. using Winzip, winRAR, 7-zip or similar tools.
4)    Create a new environment variable called ANT_HOME that points to the Ant installation folder, in this case c:\apache-ant-1.8.2-binfolder.
5)    Append the path to the Apache Ant batch file to the PATH environment variable. In our case this would be the c:\apache-ant-1.8.2-bin\binfolder. (%ANT_HOME%\bin)
6)    Now to check environmental Variable is set on cmd check Java –version and ant –version.
7)    On  cmd browse to extras in jmeter (cd D:\Software\apache-jmeter-2.13\extras) and set heap size .

8)    Then type > ant on command line and press enter
9)    In continuation without closing the java program press Ctrl+C and terminate batch job .
10)    Then enter in cmd line > ant –Dtest =<Filename> report  then press enter.
11)    It will create the same name html file



In the Resultant HTML file following information are provided :
1)    Total no. of success rate ,failures rate and the response time.







2)    Response time of each and every transaction.
3)    Highlighted failure count.

4)    Failure detail corresponding to the transaction.





13 comments:

  1. I have read your blog its very attractive and impressive. I like it your blog.

    Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

    Java Online Training Java Online Training JavaEE Training in Chennai Java EE Training in Chennai

    ReplyDelete
  2. How to link a website using HTML - without knowing what you're doing!
    A very simple way to link a website using HTML - without actually knowing any HTML - is to do a search for a free online HTML editor.forum for programmers

    ReplyDelete
  3. i have tried the same use case but in report file i am not getting the Analysis percentage

    ReplyDelete
  4. I often use online converters to convert files (e.g. doc to pdf, tiff to jpg, etc.). The best in my ranking - https://anyconv.com/ AnyConv

    ReplyDelete
  5. Some times its a pain in the ass to read what blog owners wrote but this site is very user friendly ! . new york web designs

    ReplyDelete
  6. The processor or CPU is the brains of the personal computer – it does most of the calculations your video game titles need to have to run (with the movie card undertaking most of the graphics function). With it getting such an critical part, you would instinctually go for the fastest – and most pricey – processor you could find, but there is a improved alternate to blowing hard cash on one thing that will be obsolete in a year: receiving a processor that will play tomorrow’s video game titles at a low cost is the sweet spot for any gaming computer. web design agency new york

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Its like you read my mind! You seem to know so much about this, like you wrote the book in it or something. I think that you can do with a few pics to drive the message home a little bit, but other than that, this is excellent blog. A fantastic read. I will definitely be back. branding san francisco

    ReplyDelete
  9. Immigration Solicitors… [...]below you’ll find the link to some sites that we think you should visit[...]… design agencies sf

    ReplyDelete
  10. you possess a excellent blog here! do you wish to make some invite posts on my blog? website design la

    ReplyDelete
  11. well of course, everyone loves to get rich but not everyone would love to do hard work;; web designer los angeles

    ReplyDelete
  12. Hi, best wishes to you and your very nice blog,    los angeles web agency

    ReplyDelete
  13. I really love the theme on your website, I run a web site , and i would adore to use this theme. Is it a free style, or is it custom? top web design companies

    ReplyDelete

plz give ur comments !!!!!!