JMeter Tutorial 06 - How to generate HTML Dashboard Report in JMeter from Command Line

Поділитися
Вставка
  • Опубліковано 29 лис 2024

КОМЕНТАРІ • 129

  • @oscarh6651
    @oscarh6651 5 років тому +5

    Gracias!!

  • @SaurabhKumarSingh-nf2uz
    @SaurabhKumarSingh-nf2uz Рік тому

    By the way your video is fabulous clear and straight forward point to point. Best video for apache jmeter on the youtube platform.
    Gracious

  • @yourworld4786
    @yourworld4786 4 роки тому +1

    You are the best instructor, I like u from my heart

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +1

      Thank you so much, really very glad!

    • @yourworld4786
      @yourworld4786 4 роки тому +1

      Quality Assurance Lab your welcome, you deserve it please more videos related to Performance Testing. Do you teach as well ?

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      @@yourworld4786 Sure I will add more videos. Currently I do not teach on platforms other than youtube

  • @kiranbollini9765
    @kiranbollini9765 4 роки тому +1

    Very Good Explanation of Jmeter report!. Kudoos!

  • @sachintatkare.9362
    @sachintatkare.9362 2 роки тому +1

    what is the reason behind we extract report from UI and again from HTML with command prompt? can you please help me in this.

  • @MatichekYoutube
    @MatichekYoutube 4 роки тому

    Thank you for the helpful video. It is nice to hear a woman's voice for a change :).

  • @scientificdots34
    @scientificdots34 3 роки тому +2

    Mam the CSV file is generated but html dashboard is not generating saying this error : Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Error while processing samples: Consumer failed with message :Consumer failed with message :Consumer failed with message :Consumer failed with message :Begin size 0 is not equal to fixed size 5
    ... end of run

    • @Hoja4A1D
      @Hoja4A1D 2 роки тому +1

      hey I got the same error, Did you resolve this?

  • @SaurabhKumarSingh-nf2uz
    @SaurabhKumarSingh-nf2uz Рік тому

    I have one question @Quality Assurance Lab . Why My bin folder has not proxyserver and the certificate file in it. I am using the latest Apache Jmeter version 5.5 . Please Help mam

  • @hanvu2399
    @hanvu2399 4 роки тому +1

    Thank you so much. This video helped me a lot

  • @stanislavavovod8161
    @stanislavavovod8161 9 місяців тому

    Thanks for good explanation!

  • @20sivakrishna
    @20sivakrishna 5 років тому +2

    how to add project name in report dynamically ? Also, how can we add few more custom variables to "Test and reporting informations" sections?

  • @srinivasprasad7765
    @srinivasprasad7765 4 роки тому +1

    Hi..
    For @Perfmon result can we take HTML report and also one main question is don't I get CPU/Network i/o such things in terms of value to show(ex: CPU usage - 26% ) so and so with graph or without graph.

  • @riyasaha6751
    @riyasaha6751 4 роки тому +1

    how can I explain or analysis the HTML Report to the client ?

  • @shamsularefin132
    @shamsularefin132 4 роки тому +1

    Such a satisfactory video,thanks and go ahead, but i hv a ques.How do I know if my report is good or bad, what are the important issues i will be look for after making the report?

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +1

      You will get the number of users required for test run, expected response time for the requests in the test script etc. from the business team.
      On the basis of those retirements, In the HTML report -> Dashboard tab - > Statistics section - you can check Average, min and max response time, 90% line, Error % etc.
      Results in the form of graphs could be seen under charts. some important graphs as - Response times over time , Response time overview, Hits per second, Bytes throughput over time. You will have to validate these graphs and ensure that no abnormalities are seen.

  • @pratishrestha7424
    @pratishrestha7424 2 роки тому +1

    Hi, I am facing this issue: "Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Error while processing samples: Consumer failed with message :Consumer failed with message :Consumer failed with message :Consumer failed with message :Begin size 3 is not equal to fixed size 5". CA you help me? Why can't I be able to generate the HTML Report?

    • @Hoja4A1D
      @Hoja4A1D 2 роки тому

      I got the same error, Did you resolve the problem?

  • @mallammaganigi8019
    @mallammaganigi8019 3 роки тому +1

    nice one thanks

  • @sharadyadav4045
    @sharadyadav4045 4 роки тому +1

    Hi, I'm getting an error & html report is not generated. Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Cannot create temporary directory "C:\Program Files\apache-jmeter-5.3\bin\temp", check property "jmeter.reportgenerator.temp_dir"

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      Hi, you got this error as JMeter does not have the rights to create "temp" folder in the C:\Program Files.
      Please change the folder to something else and try again.
      Also, use the folder name without any gap in between - such as "JMeterProject".
      Folder as JMeter Project" should not be used.

  • @sakshinijhawan6345
    @sakshinijhawan6345 3 роки тому

    Thanks for this video, Please tell me one thing... How can I create specific bug report only

  • @sumitbera31
    @sumitbera31 4 роки тому +1

    Hi, It works fine for the first time. If I try to generate HTML reports again in the same folder, after deleting all the contents. It says the html-output folder is not empty

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +1

      Hi, add -f argument to your command line in the format - > jmeter ... -f -l result.jtl -e -o ...
      -f argument is used for force delete existing results files and web report folder if present before starting the test

    • @sumitbera31
      @sumitbera31 4 роки тому +1

      Thanks will try your solution

  • @UshaRajesha
    @UshaRajesha Рік тому

    Mam thank you for your Video, It helped me a lot. How can I test mobile app performance testing

  • @amitgulhane-nd5rr
    @amitgulhane-nd5rr Рік тому

    Hi,I have one question , if i want to send the html i.e. index file to client so do i need to share all the scripts and every thing or is there is any way so that i can open the html report on any other way

  • @srinivasprasad7765
    @srinivasprasad7765 4 роки тому +1

    By using GUI mode, after the execution the in CSV file there was no header, due to this I couldn't convert for HTML report. Can u please help me out.

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      Hi, could you please let me know the steps you followed to generate CSV file?I want to check why headers were not generated; Headers are always generated in the Result file.

    • @srinivasprasad7765
      @srinivasprasad7765 4 роки тому

      @@qualityassurancelab7764 just simply keeping an empty file in local and placing the path in the Write into section of view Result tree, here just going with default configure, later playing the recording. After the execution the result comes without a header.

    • @srinivasprasad7765
      @srinivasprasad7765 4 роки тому +1

      Hi, that Header issue I resolved, if while clicking on play button it shall ask for "Append on it" or "Overwrite the existing" in this taking 'overwrite' gave the Header to the CSV file..
      Further moving one new issue while converting to HTML is "Error while processing samples: consumer failed with message : Could not parse timStamp using format defined by property jmeter.save.saveservice.timestamp_format=ms on sample 1.58669E+12 so and so...
      Will u please sort my problem..

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +1

      @@srinivasprasad7765 Good to hear that Headers issue is resolved. Coming to your current issue -
      When you open .jtl/.csv results file with MS Excel , timestamps gets converted into scientific notation and saved in that format, which JMeter does not accept.
      So, convert the timestamp format to dd/MM/yyyy HH:mm in Result file and then Try to generate HTML report.
      Or, you can generate the result file and HTML report at one go using the command - jmeter -n -t [test JMX file] -l [test log file] -e -o [Path to output folder]
      Hope this helps!

  • @gangadharvemoori1890
    @gangadharvemoori1890 4 роки тому +1

    Hi, Thank you for the video, can't we create HTML report from GUI Mode/Jmeter?

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +3

      Hi, yes we can create HTML report for GUI mode as well. For that, move to Tools -> Generate HTML Report and provide below details:
      Results file (csv or jtl) - Provide the path of Result CSV /JTL file
      user.properties file - Provide the path of user.properties file used to run the load test. You will find this file under bin folder
      Output directory - The directory where you want the report to be created(must be empty)

  • @thajunnisa9826
    @thajunnisa9826 3 місяці тому

    hello mam! can we able to send this report to other end user? is it possible?

  • @Rarari4y
    @Rarari4y 3 роки тому

    Nice tutorial! and i successed to generate but why i got extension with FRMK, not HTML? When i am open the index.frmk in chrome, i just able to see the source code, not how it looks like yours. My jmeter is 5.4.1 version. Thank you!

  • @SaurabhKumarSingh-nf2uz
    @SaurabhKumarSingh-nf2uz Рік тому

    I have to create jmx folder separate to get the results in that folder

  • @noniprecioushlatshwayo8060
    @noniprecioushlatshwayo8060 4 роки тому +1

    HI Thanks for this tutorial, i was able to generate the csv however my html file is not generated on my file, please assist, do i need to include the graph result on GUI before i run my scripts to CMD?

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      Hi, did you get any error message when you executed from CMD? Also, could you please the command you executed where HTML file was not generated, the issue could be related to the file path.
      Moreover, there is no need to include the graph result on GUI before running scripts to CMD.

    • @noniprecioushlatshwayo8060
      @noniprecioushlatshwayo8060 4 роки тому +1

      @@qualityassurancelab7764
      C:\Users
      onhlanhla.hlatshway\Downloads\apache-jmeter-5.2.1 (2)\apache-jmeter-5.2.1\bin>jmeter -g "\Users
      onhlanhla.hlatshway\Downloads\apache-jmeter-5.2.1 (2)\apache-jmeter-5.2.1\bin\Jmeterprojects\RecordingDemo\Result\test3.csv" -o C "\Users
      onhlanhla.hlatshway\Downloads\apache-jmeter-5.2.1 (2)\apache-jmeter-5.2.1\bin\Jmeterprojects\RecordingDemo\HTML Reports\Report1"
      An error occurred: Unknown arg: \Users
      onhlanhla.hlatshway\Downloads\apache-jmeter-5.2.1 (2)\apache-jmeter-5.2.1\bin\Jmeterprojects\RecordingDemo\HTML Reports\Report1
      errorlevel=1
      This is the above error that i got when trying the jmeter -g formula

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      Hi @@noniprecioushlatshwayo8060 , please try again by removing spaces between words such as -
      "HTML Reports" -> Change it to "HTMLReports"
      "apache-jmeter-5.2.1 (2)" -> remove " (2)"

    • @noniprecioushlatshwayo8060
      @noniprecioushlatshwayo8060 4 роки тому +1

      @@qualityassurancelab7764 Hi thank you so much it worked, i have now increased my users to a 1000k, got this below error:
      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ResDownload-Thread-231
      - i have also noticed the html report are not being generated as well, when i decreased my threads to 50 they generate...

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      @@noniprecioushlatshwayo8060 Such error occurred since JMeter client machine(system where you installed JMeter) is not able to handle the load due to infrastructure or hardware limitations. To do load test with heavy user load, distributed/remote testing is introduced. Checkout this video and let me know for any query - ua-cam.com/video/trlv6qZTfVw/v-deo.html

  • @saurabhsingh-xm3dg
    @saurabhsingh-xm3dg 4 роки тому +1

    I have created the test for 7k user and CSV is generated perfectly fine but whenever I create HTML file its won't open on chrome - because chrome is taking to much time to parse those graphs - I can see this on task manager - I have One transaction with 20 samplers please suggest something @Quality Assurance Lab

  • @amruthanarayanan6077
    @amruthanarayanan6077 4 роки тому +1

    Is it possible to mail this HTML report at the end of test execution?

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      Yes, please use SMTP sampler to send the HTML report over the email - ua-cam.com/video/YuvDbQTkgNA/v-deo.html

  • @sainarasimhareddy4022
    @sainarasimhareddy4022 3 роки тому

    Hi your video is nice! Please do one video how to add assertions in HTML report.....!

  • @anooppahwa8419
    @anooppahwa8419 4 роки тому

    I am getting below error while generating the report:
    jodd.props.Props.load(Ljava/util/Map;)Ljodd/props/Props;

  • @anilbapanshakya2945
    @anilbapanshakya2945 3 роки тому +1

    Great!!!

  • @abalgaebroccoli2323
    @abalgaebroccoli2323 Рік тому

    Thank you!

  • @LoveUPes
    @LoveUPes 4 роки тому +1

    WHy dont you put it on Udemy. you will earn from each of your video.. good tutorial..keep it up

  • @pallavisikarwar7817
    @pallavisikarwar7817 3 роки тому

    hey mam i generate this report but don't know how to send this report to someone please tell me .

  • @veerakumar2316
    @veerakumar2316 5 років тому +1

    Plz make any dynatrace with Jmeter and influxdp with Jmeter

  • @swapm7801
    @swapm7801 4 роки тому

    Hi,Can we add request and response in HTML report?

  • @ramlakshmanbonthu2734
    @ramlakshmanbonthu2734 2 роки тому

    I am facing one isuue like .jmx doesn't exist or can't be opened how to resolve it..............can u explain...........

  • @m.hafeez5009
    @m.hafeez5009 3 роки тому

    how you create csv file using gui mode

  • @harshwardhandev4258
    @harshwardhandev4258 3 роки тому

    Hi mam how we generate trend report, means i want to compare last 5 html report in one report

  • @reddys3939
    @reddys3939 4 роки тому +1

    Am getting error while running this from cmd prompt

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      What error you received?

    • @reddys3939
      @reddys3939 4 роки тому

      @@qualityassurancelab7764 -am getting error while running this from cmd prompt jmeter -g file.csv -o htmlfile
      Error like
      Error occurred during initialization of boot layer
      Module Java activation not found.... But I installed Java and working with jmeter also

  • @HIMANSHU-hu2re
    @HIMANSHU-hu2re Рік тому

    Can we generate html report using aggregate report

  • @hadaiqahmad8753
    @hadaiqahmad8753 3 роки тому +1

    I get this error when I try to run the command
    An error occurred: Unknown arg:
    errorlevel=1

  • @TMK-xr4ee
    @TMK-xr4ee 4 роки тому

    Ubuntu 16.04 also same process❓

  • @aribaqamar9503
    @aribaqamar9503 8 місяців тому

    koi aik error wali html report generate kar kay btasakti hain? q k mery pass error per html report generate nhi horhi. plz help

  • @veerakumar2316
    @veerakumar2316 5 років тому +1

    Make any video about beanshell scripting in Jmeter

    • @qualityassurancelab7764
      @qualityassurancelab7764  5 років тому +1

      Sure, I will make more videos in the coming days

    • @qualityassurancelab7764
      @qualityassurancelab7764  5 років тому +1

      Hi Veera, You can check out the BeanShell scripting videos now -
      ua-cam.com/video/RBsWEENzSQ8/v-deo.html
      ua-cam.com/video/Nubg1eP3oh4/v-deo.html

  • @TheHarshilsheth
    @TheHarshilsheth 4 роки тому +1

    how to generate csv file in jmeter to view html dashboard report ?

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      As shown in the video there are two ways to generate html dashboard report:
      1) To create report at the end of the test run:
      Use the command: jmeter -n -t [test JMX file] -l [test log file] -e -o [Path to output folder]
      Here, test log file will be the path of the result csv/jtl file, which will be generated by the above command
      2) To create report after test run from the result file:
      Use the command: jmeter -g [log file] -o [Path to output folder]
      Here the log file should be an already existing csv/jtl file generated during test execution by the command - jmeter -n -t [test JMX file] -l [test log file]

    • @TheHarshilsheth
      @TheHarshilsheth 4 роки тому +1

      @@qualityassurancelab7764 Any apache ant file required for generating HTML report and all files moved into bin folder its mandatory because i have tried this tutorial over 2 days but displayed error as unknown arg so please give me more details to generate HTML report another way or this tutorial in detail
      thanks in advance

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      @@TheHarshilsheth Could you please let me know the steps which you followed to generate HTML report?

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому

      Hi @@TheHarshilsheth , please change 2 things in the command:
      1)Your command has "Program Files (x86)" in the csv file and HTML report path. "Program Files (x86)" has spaces in between. Try to take a path which do not have spaces in between such as - D:\jmeterProject
      ecording_demo\output\csvReports
      esult4.csv
      2) Try to use another path instead of path having Program Files (x86). Program Files (x86) folder is used for configuration purpose.
      And, it is not mandatory to have csv and html files in the bin folder.

    • @TheHarshilsheth
      @TheHarshilsheth 4 роки тому

      @@qualityassurancelab7764
      Displayed error as
      can not create temporary directory C:\Program Files (x86)\apache-jmeter-5.2.1\bin\temp check property "jmeter.reportgenerator.temp_dir"
      how to fix it?

  • @vikrantsingh6356
    @vikrantsingh6356 4 роки тому

    how can i share this report with my seniors?

  • @deepgupta6796
    @deepgupta6796 4 роки тому

    How to copy an excel file from one location to another location in jmeter

  • @shanteshyadwad
    @shanteshyadwad 4 роки тому

    i have multiple csv files and i would to see one dashboard for multiple csv file

  • @dezinasahu2831
    @dezinasahu2831 4 роки тому +1

    Mam why I m getting error after enter the output path? And my html report is also not generating due to error

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +1

      Hi, could you pls share the command and error?

    • @dezinasahu2831
      @dezinasahu2831 4 роки тому +1

      @@qualityassurancelab7764 yes sure
      An error occurred: Unknown arg: project
      ecording_demo
      esult
      esult2.csv
      errorlevel=1
      this is the error messege i m getting......can you please say the solution of this

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +1

      @@dezinasahu2831 Have you provided CSV PATH - project
      ecording_demo
      esult
      esult2.csv in the command to generate HTML report?
      Could you pls try by providing the full path , e.g. D:\jmeterProject
      ecording_demo\output\csvReports
      esult4.csv
      If the error not resolved, please provide the command you used to generate HTML report

    • @dezinasahu2831
      @dezinasahu2831 4 роки тому

      @@qualityassurancelab7764 No mam I m not getting the html report after providing the full path. I m struggling a lot mam how to do this! I m getting the same error as - an error occurred: unknown arg: project
      ecording_demo
      ecording_demo.jmx errorlevel=1
      I have tried both method to generate the html report through cmd and another through the existing csv file but I m getting the same error in both the process

    • @dezinasahu2831
      @dezinasahu2831 4 роки тому +1

      @@qualityassurancelab7764
      F:\apache-jmeter-5.3\bin\jmeter -n -t F:\jmeter project
      ecording_demo
      ecording_demo.jmx -l F:\jmeter project
      ecording_demo
      esult
      esult3.csv -e -o F:\jmeter project
      ecording_demo\htmlreport
      eport
      eport1..... This all command I put to generate my html report but got the same error.

  • @aftabhussain4903
    @aftabhussain4903 2 роки тому

    Html report is not showing users, it is test for how many users.. Please guide me about user testing.. I want to see number of users (Number of Thread) for which testing occurs.

  • @refdsfsf
    @refdsfsf 2 роки тому

    An error occurred: Error while processing samples: Consumer failed with message :Consumer failed with message :Consumer failed with message :Consumer failed with message :Begin size 1 is not equal to fixed size 5
    errorlevel=1 i am getting this error

  • @Ammulu1423
    @Ammulu1423 3 роки тому +1

    Tidying up ... @ Fri Feb 05 12:25:27 IST 2021 (1612508127623) Error generating the report: java.lang.NullPointerException

    • @qualityassurancelab7764
      @qualityassurancelab7764  3 роки тому

      Hi, please share the command you used to generate HTML report and the complete error message received

    • @refdsfsf
      @refdsfsf 2 роки тому

      @@qualityassurancelab7764 An error occurred: Error while processing samples: Consumer failed with message :Consumer failed with message :Consumer failed with message :Consumer failed with message :Begin size 1 is not equal to fixed size 5
      errorlevel=1

  • @Gardeningwithmayu
    @Gardeningwithmayu 4 роки тому

    can u please tell how to share it with development team since it is present in local system.

    • @ashish5162
      @ashish5162 2 роки тому

      /you can do it by giving them zip file

  • @SrinivasaRaoGurram
    @SrinivasaRaoGurram 4 роки тому

    how about having multiple reports and generate html report.

  • @pandithatchinadhanasekar8016
    @pandithatchinadhanasekar8016 4 роки тому +1

    Facing unknown arguments issue while try to run from command line

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +1

      Hi, could you please share the command you used to generate HTML report?

    • @pandithatchinadhanasekar8016
      @pandithatchinadhanasekar8016 4 роки тому +2

      @@qualityassurancelab7764 Trying to run my .jmx file through command line and facing the issue as "Unknown arguments". Please check your mail already dropped a mail to you mam

    • @pandithatchinadhanasekar8016
      @pandithatchinadhanasekar8016 4 роки тому +1

      Thanks a lot for your support mam

  • @abilashreddy659
    @abilashreddy659 3 роки тому

    hi can you share user.properties file

  • @specthanatos
    @specthanatos 5 років тому

    How can you add a custom graph?

    • @qualityassurancelab7764
      @qualityassurancelab7764  5 років тому +1

      Graph properties can be found in file reportgenerator.properties under ApacheJMeter\bin folder. To customize these properties, you should copy them in user.properties file under ApacheJMeter\bin folder and modify them.
      Also, to modify APDEX, Request Summary etc , you can work on the file dashboard.js.fmkr in ApacheJMeter\bin
      eport-template\content\js

  • @ajaypalsinghgour9393
    @ajaypalsinghgour9393 2 роки тому +1

    Use full but video quality not good... I am not able to see operations those are performed by you on video.

  • @karthiksivagnanam8979
    @karthiksivagnanam8979 4 роки тому

    How to configure html generation permanently

  • @satishchauhan2101
    @satishchauhan2101 3 роки тому

    Hey Quality Assurance lab
    When type below command then its gave error
    Command :jmeter -n -t [test JMX file] -l [test log file] -e -o [Path to output folder]
    Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Error while processing samples: Consumer failed with message :Consumer failed with message :Consumer failed with message :Consumer failed with message :Begin size 0 is not equal to fixed size 5

  • @AmitKumar-c4x2s
    @AmitKumar-c4x2s 3 місяці тому

    yo yo explaination

  • @Ammulu1423
    @Ammulu1423 3 роки тому

    Tidying up ... @ Fri Feb 05 12:25:27 IST 2021 (1612508127623) Error generating the report: java.lang.NullPointerException