13 | JMeter | HTML Reports from GUI & CMD |

Поділитися
Вставка
  • Опубліковано 13 чер 2021
  • All FREE courses - automationstepbystep.com/
    How to create HTML Reports from command line & GUI
    How to create html dashboard reports from command line
    How to create html dashboard reports from standalone csv result file
    Study the html dashboard reports
    How to generate from GUI
    Step 1 : Create a test plan or use existing test plan
    Step 2 : Open cmd line goto jmeter bin folder
    Step 3 : Run commands
    Create report at the end of the test
    jmeter -n -t “location of test file” -l “location of your result file” -e -o “location of reports folder”
    Create report from a standalone csv file
    jmeter -g “location of your result file” -o “location of reports folder”
    Join Automation Step By Step channel: ua-cam.com/users/automationste...
    Stories by Raghav - automationstepbystep.com/stor...
    My Udemy Courses - automationstepbystep.com/udem...
    Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you
    You can support my mission for education by sharing this knowledge and helping as many people as you can
    If my work has helped you, consider helping any animal near you, in any way you can.
    #JMeterBeginnerTutorials
    _______ ONLINE COURSES TO LEARN _______
    automationstepbystep.com/onli...
    GitHub - github.com/Raghav-Pal/
    Udemy - www.udemy.com/user/raghav-pal-3/
    Training by Raghav at your venue - raghav.qna@gmail.com
    Training schedule - automationstepbystep.com/trai...
    ----------- UI TESTING -----------
    Selenium Beginners - bit.ly/2MGRS8K
    Selenium Java Framework from Scratch - bit.ly/2N9xvR6
    Selenium Python - bit.ly/2oyMp5x
    Selenium Tips - bit.ly/2owxc50
    Selenium Builder - bit.ly/2MKNtlq
    Katalon Studio - bit.ly/2wARFdi
    Robot Framework with RIDE- bit.ly/2Px6Ue9
    Robot Framework with Eclipse - bit.ly/2N8DZxb
    Protractor - bit.ly/2KtqVkU
    TestProject - bit.ly/2DRNJYE
    ----------- API TESTING -----------
    Web Services (API) - bit.ly/2MGafL7
    SoapUI - bit.ly/2MGahmd
    Postman - bit.ly/2wz8LrW
    General - bit.ly/2PYdwmV
    Katalon Studio API Testing - bit.ly/2BwuCTN
    ----------- MOBILE TESTING -----------
    Appium - bit.ly/2ZHFSGX
    Mobile Playlist - bit.ly/2PxpeUv
    ----------- CI | CD | DEVOPS -----------
    Jenkins Beginner - bit.ly/2MIn8EC
    Jenkins Tips & Trick - bit.ly/2LRt6xC
    Docker - bit.ly/2MInnzx
    Kubernetes - bit.ly/2MJIlMK
    ------------VIRTUALISATION------------
    Virtualization on windows - bit.ly/2SItIL9
    ----------- VERSION CONTROL SYSTEM -----------
    Git & GitHub - bit.ly/2Q1pagY
    GitLab - bit.ly/2kQPGyQ
    ----------- PERFORMANCE TESTING -----------
    JMeter Beginner - bit.ly/2oBbtIU
    JMeter Intermediate - bit.ly/2oziNVB
    JMeter Advanced - bit.ly/2Q22Y6a
    JMeter Tips & Tricks - bit.ly/2NOfWD2
    Performance Testing - bit.ly/2wEXbLS
    ----------- PROGRAMMING -----------
    Java Beginners - bit.ly/2PVUcXs
    Java Tips & Tricks - bit.ly/2CdcDnJ
    GROOVY - bit.ly/2FvWV5C
    JAVASCRIPT - bit.ly/2KJDZ8o
    PYTHON - bit.ly/2Z4iRye
    ----------- IDE -----------
    Visual Studio Code - bit.ly/2V15yvt
    ----------- BUILD TOOLS -----------
    Maven - bit.ly/2NJdDRS
    Gradle - bit.ly/30l3h1B
    ----------- OTHERS -----------
    Redis- bit.ly/2N9jyCG
    Misc - bit.ly/2Q2q5xQ
    Tools & Tips - bit.ly/2oBfwoR
    QnA Friday- bit.ly/2NgwGpw
    Sunday Special - bit.ly/2wB23BO
    Ask Raghav - bit.ly/2CoJGWf
    Interviews - bit.ly/2NIPPxk
    All Playlists - bit.ly/2LSiezA
    ---------- Connect with Raghav -----------
    Website - automationstepbystep.com/
    LifeCharger - lifecharger.org/
    Udemy Courses - www.udemy.com/user/raghav-pal-3/
    Facebook - / automationstepbystep
    Twitter - / learnwithraghav
    UA-cam - / automationstepbystep
    Never Stop Learning
    Raghav

КОМЕНТАРІ • 93

  • @Sanjeevkumar-cl6nl
    @Sanjeevkumar-cl6nl 2 роки тому +3

    Thanks a lot! Raghav, Watching your videos for more than 2 years.
    Your intention is to cover each and every topic without leaving anything.
    I was struggling with generating a report in CLI mode which you made simpler by providing GUI mode.
    Keep up the fantabulous work!!!

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

    Raghav here clear, concise, and understandable as usual! Thank you very much!

  • @manikandanv1811
    @manikandanv1811 Рік тому +1

    Extrodinary vedio your vedios are very detailed and makes success for me after long searches about jmeter
    Thank you ragav bro

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

    Awesome explanation! clear and to the point

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

    Thank you for sharing this report generation tru Jmeter!

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

      Thanks for listening

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

    Very useful video, indeed!

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

    that was very helpful

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

    Hi raghav, following your videos for a while. I got an error while execution
    Uncaught Exception java.lang.OutOfMemoryError: unable to create new native thread" when testing with multiple threads in JMeter.
    I have increase the heapsize too but it didn't help. Could you please suggest some fix.
    Thanks!

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

      Hi Amardeep, this can be due to that your system is not able to support the load you are testing,

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

    Thank you

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

    Hi Raghav. Started learning Jmeter and found this is the latest one from you and completed this playlist. Can you please suggest what to view after this as there are multiple playlists from you..

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

      Hi Bhargav, can check all the tutorials here - automationstepbystep.com/

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

    Thank you for sharing these JMeter videos. Can the JMeter testing be set up to execute at specific times and add to a current cvs file? For example, I am looking to track the executions scheduled to run over 24 hours or a week, or a month and compared them to a baseline test?

    • @RaghavPal
      @RaghavPal  Рік тому +1

      Hi Mike,
      Yes, it is possible to schedule JMeter tests to run at specific times using external tools like cron or Windows Task Scheduler. You can configure your test to run as a command-line interface (CLI) mode and use these external tools to trigger the execution at specific times.
      Regarding adding the results to a CSV file, JMeter provides several options for storing and analyzing test results. One option is to use the built-in CSV output format, which allows you to save the test results to a CSV file. You can configure the format of the output file and specify which metrics to include in the file. Additionally, JMeter supports multiple CSV output files, which can be useful for tracking the results of multiple tests over time.
      To compare the test results to a baseline test, you can use JMeter's built-in comparison tools or export the test results to external tools like Excel or R. JMeter provides several plugins that allow you to visualize and analyze the test results, including the Aggregate Report and the Summary Report.
      Overall, JMeter provides a lot of flexibility and options for storing and analyzing test results, which should allow you to track the executions scheduled to run over a 24-hour, a week, or a month, and compare them to a baseline test.

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

      @@RaghavPal You are the best. Thank you for the explination.explanation

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

    Thanks a lot it was very very very good

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

    hello! thank you for this video. have it a way to change the language of reports (html report in particular) ?

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

      Hi Jean, there is a way to change the language in JMeter, I am not aware if there is any specific setting to change only the report language.
      www.ubik-ingenierie.com/blog/changing-jmeter-language/

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

    Hi , am getting error java heap space while generating html report from .jtl file in gui mode.. increased heap size in jmeter.bat to 4gb but still same ..pls suggest

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

      Hi Shruthi, will need to check details and logs, hope you have added think time (pauses) between requests and are ramping up users gradually

  • @domesticcadiz
    @domesticcadiz 6 місяців тому +1

    you showed us how to generate a report from a csv file but what about even getting a csv file? is this from just changing results.jtl to results.csv and we are good or where does that come from?

    • @RaghavPal
      @RaghavPal  6 місяців тому +1

      You can get a report in csv file by using command:
      jmeter -n -t testplan.jmx -l results.csv
      Its your wish to first create csv and then use it for generating html report or do it directly in one command as shown

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

    Hi raghav I want to learn Api automation testing, using Jmeter could you help me out how to automate apis using Jmeter?

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

      Sure, can check this - ua-cam.com/play/PLhW3qG5bs-L9sCVY1c_vox9blIrIzwEEb.html

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

    Hi Raghav, after I run it in CMD I get this message "'jmeter' is not recognized as an internal or external command,
    operable program or batch file." do you know how to run it ?

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

      Hi Willy, Pls try to add the Jmeter installation bin directory to the system PATH using My Computer > properties > Advanced System settings > Environment variables > Under system variables, select PATH > Add D:\JMETER\apache-jmeter\bin to your path at the end
      stackoverflow.com/questions/42890296/jmeter-is-not-recognized-as-an-internal-or-external-command-operable-program

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

      @@RaghavPalhi sir , tried it as you said but same problem occuring

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

      Hi Willy Setianto have you got it

  • @SaiKiran-np3xn
    @SaiKiran-np3xn 2 роки тому

    Hi I have a doubt while generating the report in gui mode how to create csv file should I give empty file ?

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

      You can give empty file or you can give non-existing file name too, It will create a file

    • @SaiKiran-np3xn
      @SaiKiran-np3xn 2 роки тому

      @@RaghavPal thank you sir for your early reply

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

    Hi, how can i send multiple messages(files) from jms publisher to active mq???

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

      I will need to check on this, Try some online help

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

      @@RaghavPal found it thanks.

  • @VinodKumar-zf4el
    @VinodKumar-zf4el 10 місяців тому

    @raghavpal great explanation on Jmeter, can you please help me to customise the jmeter report with input requests and output response as an attachments in the html report.

    • @RaghavPal
      @RaghavPal  10 місяців тому

      Vinod
      There are two ways to customize the JMeter report with input requests and output responses as attachments in the HTML report:
      1. **Use the JMeter Request and Response PostProcessors**
      The JMeter Request and Response PostProcessors can be used to save the input requests and output responses to files. You can then attach these files to the HTML report.
      To use the Request and Response PostProcessors, follow these steps:
      1. Add a Request PostProcessor to your test plan.
      2. In the Request PostProcessor, select the "Save Request" checkbox and specify a file path to save the input request.
      3. Add a Response PostProcessor to your test plan.
      4. In the Response PostProcessor, select the "Save Response" checkbox and specify a file path to save the output response.
      5. Run your test plan.
      6. After the test plan has finished running, you can attach the input request and output response files to the HTML report.
      To attach the input request and output response files to the HTML report, follow these steps:
      1. Open the HTML report in a web browser.
      2. Click the "Reports" tab.
      3. Click the "Summary Report" link.
      4. In the "Summary Report", click the "Attachments" link.
      5. Click the "Add File" button.
      6. Select the input request and output response files that you want to attach to the report.
      7. Click the "Attach" button.
      2. **Use a JMeter Plugin**
      There are a number of JMeter plugins that can be used to customize the HTML report. One such plugin is the JMeter HTML Reporter plugin.
      The JMeter HTML Reporter plugin allows you to add input requests and output responses as attachments to the HTML report. To use the JMeter HTML Reporter plugin, follow these steps:
      1. Install the JMeter HTML Reporter plugin.
      2. Add the JMeter HTML Reporter plugin to your test plan.
      3. Configure the JMeter HTML Reporter plugin to save the input requests and output responses as attachments.
      4. Run your test plan.
      5. After the test plan has finished running, you can view the HTML report with the input requests and output responses attached.
      Which method you choose to use depends on your specific needs and preferences. If you only need to attach a few input requests and output responses to the HTML report, then you can use the JMeter Request and Response PostProcessors. If you need to attach a large number of input requests and output responses to the HTML report, or if you need to customize the HTML report in other ways, then you can use a JMeter plugin such as the JMeter HTML Reporter plugin.
      I hope this helps

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

    Hi Raghav , I am getting an error while running this command.
    I have already have an summary report created and saved.
    But yet I am getting this error message , could you please help ?
    An error occurred: Error in NonGUIDriver Results file:D:\Jmeter\apache-jmeter-5.4.1\Contract.csv is not empty
    errorlevel=1

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

      Hi Hari, give a new file name, even if it does not exist, jmeter will create the file

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

      @@RaghavPal Thank you for the response. Its working now .
      Is it necessary to keep the Jmeter open while running this command ?
      I am assuming it picks the current running script and applies to the csv file . Is this correct ?

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

    How can we send the HTML report to other users, like i want to share this report but it is not opening, as it is saved in my local

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

      Hi, you can attach in email or share it

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

    Hi Raghav, I am getting a error while running. even if i saved the file . please help me to fix this issue.
    C:\Users\priti>jmeter -n -t "D:\software\apache-jmeter-5.5\apache-jmeter-5.5\bin\templates\HomePage.jmx" -l "C:\Users\priti\Downloads\LearnJmeter\Result1.csv" -e -o "C:\Users\priti\Downloads\LearnJmeter\Reports"
    Creating summariser
    Created the tree successfully using D:\software\apache-jmeter-5.5\apache-jmeter-5.5\bin\templates\HomePage.jmx
    Error in NonGUIDriver java.lang.IllegalStateException: Could not find the TestPlan class!
    An error occurred: Error in NonGUIDriver Could not find the TestPlan class!
    errorlevel=1

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

      Hi,
      This error indicates that the TestPlan class is not found in the classpath when running the test in Non-GUI mode. Here are a few things you can try to fix the issue:
      Check that the test plan is not corrupted and is saved in the correct format JMX
      You can check your JMX with this tool - ua-cam.com/video/bYw-SKE-4Mk/v-deo.html
      Try to run the command with the -d option to see the debug information for the error
      If you are using a version of JMeter that is different from the one that created the test plan, try to open it with the version that was used to create it
      ---

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

      @@RaghavPal Resolved my issue. Thank you.

  • @Prince-nu6hq
    @Prince-nu6hq 2 роки тому

    Hi Raghav, You have recorded samplers as "Home page" then "Archive page" then "About page" but this sequence is NOT showing in same order on Html report page ?

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

      Hi Prince, the sequence may differ, anyways the run is not sequential, multiple users will be running different requests at any given time

    • @Prince-nu6hq
      @Prince-nu6hq 2 роки тому

      @@RaghavPal But even if we take one Thread/ user in Jmeter , the order of sequence on html report is NOT same .

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

      Not sure, if there is any setting to show the reports in order, will need to check online

    • @Prince-nu6hq
      @Prince-nu6hq 2 роки тому

      @@RaghavPal ok.Pls update once you check. Thanks .

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

    In my case it shows different throughput in html and Non cli mode what can i do.

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

      Go with CLI

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

      @@RaghavPal iam getting less tps any suggestions for configuration side

  • @dhaanasree7521
    @dhaanasree7521 День тому

    Hi Raghav
    Thank you for this video
    I have total 10 scripts in my application
    So i have created 10 thread groups
    And taken multiple transaction controller for the flow i.e login , place order , order confirmation,signout etc etc..and i have enable the parent sample also , while running in gui mode i am able to see only the name of transaction controllers if I click inside then only I am able to see the request.That is good for me
    But while running in non gui html reports I am getting each and every request other than the transaction controller.How can I handle this?

    • @dhaanasree7521
      @dhaanasree7521 День тому

      After clicking the parent sample, still I am getting all the requests in html reports this made me so much of confusion while calculating or sharing the report
      Getting more no of samples
      Almost triple
      Can u explain the settings to avoid this ?

    • @RaghavPal
      @RaghavPal  День тому

      Dhaana
      Let's break down the issue step by step and find a solution.
      Issue:
      * You have 10 thread groups in your JMeter test plan, each with multiple Transaction Controllers (e.g., login, place order, order confirmation, signout, etc.).
      * In GUI mode, when you run the test, you can see only the Transaction Controller names, and when you click on them, you can see the individual requests.
      * However, when you run the test in non-GUI mode and generate an HTML report, you're seeing all individual requests instead of just the Transaction Controllers.
      * This is causing confusion when calculating or sharing the report, as you're getting almost triple the number of samples.
      Solution:
      To avoid this issue, you need to configure JMeter to exclude individual requests from the report and only show the Transaction Controllers. Here's how:
      1. Add a `View Results Tree` listener: In your test plan, add a `View Results Tree` listener as a child of the Test Plan. This will allow you to configure what gets displayed in the report.
      2. Configure the `View Results Tree` listener:
      * Right-click on the `View Results Tree` listener and select `Configure`.
      * In the `Configure View Results Tree` dialog, go to the `Display` tab.
      * Under `Display`, select the `Only show errors` checkbox.
      * In the `Filter` section, select the `Transaction Controller` checkbox.
      * Click `OK` to save the changes.
      3. Run the test in non-GUI mode:
      * Run your test in non-GUI mode using the command-line interface or a CI/CD tool like Jenkins.
      * Make sure to specify the `-l` option to generate a log file, and the `-e` option to generate an HTML report. For example:
      ```
      jmeter -n -t your_test_plan.jmx -l log_file.jtl -e -o html_report
      ```
      4. Verify the HTML report:
      * Open the generated HTML report.
      * You should now see only the Transaction Controllers in the report, without individual requests.
      --

    • @dhaanasree7521
      @dhaanasree7521 День тому

      @@RaghavPal Thankyou for the detailed explanation and quick response.
      I have enabled the option of errors but I did not see any transaction controller in filter section
      I am using JMeter 5.6.3 version

    • @RaghavPal
      @RaghavPal  12 годин тому

      Dhaana
      You're using JMeter 5.6.3, which is a recent version. This version should have the Transaction Controller feature.
      Check the Filter section
      Go to the Filter section in JMeter. You can do this by:
      * Opening a Test Plan (e.g., a.jmx file)
      * Selecting the "Filter Results" button in the top-right corner of the JMeter window
      * Alternatively, you can also use the keyboard shortcut Ctrl + Shift + F (Windows) or Command + Shift + F (Mac)
      Look for Transaction Controller
      In the Filter section, you should see a list of available filters. Check if the "Transaction Controller" filter is present in the list. If it's not there, try the following:
      * Check if you have any other filters selected that might be hiding the Transaction Controller filter.
      * Try resetting the filter section by clicking the "Reset" button at the bottom of the Filter section.
      Verify Transaction Controller existence
      If you still can't find the Transaction Controller filter, let's verify that it exists in your JMeter installation:
      * Open a new Test Plan or create a new Thread Group.
      * Right-click on the Thread Group and select "Add" > "Logic Controller" > "Transaction Controller".
      If the Transaction Controller is not available in the "Add" menu, there might be an issue with your JMeter installation.
      -

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

    Hi raghav I have been following your videos from my college days.. Really helpful.. Im trying to generate html report in jemeter , but in Request summary i can see OK and KO values instead of pass amd fail
    Please help me how can i change values in request summary

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

      Hi Pranjali
      By default, JMeter uses the terms "OK" and "KO" to represent the pass and fail status of requests in the Request Summary. However, you can change these terms to "Pass" and "Fail" by modifying the `reportgenerator_summary_statistics_error_count` property in the JMeter `user.properties` file.
      The `reportgenerator_summary_statistics_error_count` property is a string that contains the text that will be displayed in the Request Summary for the pass and fail status. The default value for this property is "OK=0,KO=1". To change the values to "Pass" and "Fail", you would need to change the property to the following value:
      ```
      reportgenerator_summary_statistics_error_count=Pass=0,Fail=1
      ```
      Once you have changed the property, you will need to restart JMeter for the changes to take effect.
      Here are the steps on how to change the values in the Request Summary:
      1. Open the JMeter `user.properties` file.
      2. Find the `reportgenerator_summary_statistics_error_count` property.
      3. Change the value of the property to "Pass=0,Fail=1".
      4. Save the file.
      5. Restart JMeter.
      Once you have restarted JMeter, the Request Summary will show the pass and fail status as "Pass" and "Fail" instead of "OK" and "KO".
      I hope this helps

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

    How to fix this error? "Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Data exporter "html" is unable to export data."

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

      Vinoth
      The error message `Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Data exporter "html" is unable to export data.` indicates that JMeter is unable to generate the HTML dashboard report. This can happen for a few reasons:
      * The HTML data exporter is not configured correctly.
      * The HTML data exporter is unable to access the JMeter results file.
      * The JMeter results file is corrupted or invalid.
      To fix this error, you can try the following:
      1. Make sure that the HTML data exporter is configured correctly. You can check the configuration of the HTML data exporter by opening the `user.properties` file and verifying the settings for the `jmeter.reportgenerator.exporter.html` property.
      2. Make sure that the HTML data exporter is able to access the JMeter results file. You can check this by verifying that the HTML data exporter has the appropriate permissions to access the JMeter results file.
      3. Make sure that the JMeter results file is not corrupted or invalid. You can do this by opening the JMeter results file in a text editor and verifying that it is a valid JSON file.
      If you have checked all of the above and the error is still occurring, please provide more information about your environment, such as the version of JMeter that you are using and the operating system and version that you are using.
      Here are some additional tips for fixing the error:
      * Try restarting JMeter.
      * Try generating the report from a different location.
      * Try using a different data exporter, such as the CSV data exporter.
      * Try generating the report from a different JMeter results file.

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

    Please make videos on jmeter with app dynamics results analysis in depth

    • @RaghavPal
      @RaghavPal  Рік тому +1

      I will plan on it Prakhar

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

    Hi raghav I need an information of test runner class

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

      Hi, where exactly is this referred to

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

    Please provide the solution: JMeter 5.5 in non gui test "Generate Parent sample is not working.

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

      Hi, pls check this
      stackoverflow.com/questions/71241113/jmeter-5-4-3-generate-paranet-sample-is-not-working-in-non-gui-test

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

    Hi Raghav... How to share an HTML report to others??

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

      Hi Lavanya, you can try following steps:
      1.
      Generate the HTML report by running the following command in the command prompt:
      jmeter -n -t testplan.jmx -l testplan.jtl -e -o path/to/report/folder
      2.
      Once the HTML report is generated, you can share the entire report folder with others. This can be done by sending the folder as an attachment in an email, uploading it to a shared drive or cloud storage, or by copying it to a USB drive
      3.
      Host the HTML report on a web server: You can host the HTML report on a web server, such as Apache or Nginx, and share the link to the report with others. This will allow others to access the report from any location with an internet connection
      4.
      Share the report via Jenkins: If you are using Jenkins as a continuous integration tool, you can configure it to run JMeter tests and publish the HTML report as a post-build action
      Jenkins also provides options to share the report with others, for example, via email, Slack, or other notification channels
      5.
      Share the report via Test Management Tools: You can use test management tools like Zephyr, TestRail, etc to integrate the Jmeter report and share the report with others.
      Can check within your team, what option works best for you

  • @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.

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

      Hi Aftab, can check the Active Threads over time graph, here threads means virtual users,
      you can configure HTML REPORTS pls check this - jmeter.apache.org/usermanual/generating-dashboard.html

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

    I am not able to create report.csv file.

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

      Will need to check the setup/logs

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

    Yesterday I was trying to install this on windows 10 it was giving me error like latest java version needed. after that new error came I lost interest in jmeter

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

      Hi, you can check with some older JMeter ver

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

    How to generate project URL in HTML report

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

      Hi Vasanthi, what exactly do you mean by project url

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

    ERROR GUI::::: How to Solve? WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release

    • @RaghavPal
      @RaghavPal  8 місяців тому +1

      Tilak
      The error message "WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release" indicates that you are using an outdated version of JMeter. This warning message is telling you that the method of locating plugins using package scanning is deprecated and will be removed in a future release.
      To resolve this issue, you need to upgrade to a newer version of JMeter. The latest version of JMeter is 6.3.0. Once you have upgraded JMeter, you should no longer see this warning message.
      Here are the steps on how to upgrade JMeter:
      1. Download the latest version of JMeter from the Apache JMeter website.
      2. Extract the downloaded archive to a directory on your computer.
      3. Set the JMeter_HOME environment variable to the path of the extracted directory.
      4. Start JMeter by running the following command in your terminal:
      ```
      jmeter.bat
      ```
      (For Windows users)
      ```
      sh jmeter.sh
      ```
      (For macOS and Linux users)
      Once JMeter has started, you should no longer see the warning message "WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release".

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

      @@RaghavPal thankyour sir .

    • @inamrizwan799
      @inamrizwan799 7 місяців тому

      ​@@RaghavPal From where i can download latest version6.3.0. On Apache Jmeter website latetest version is 5.6.2 .

    • @inamrizwan799
      @inamrizwan799 7 місяців тому

      ​@@RaghavPal I'm facing same issue(WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release )when i was trying to Generate HTML Report and after that empty folder created without HTML

    • @RaghavPal
      @RaghavPal  7 місяців тому

      Here's how you can address this issue and successfully generate the HTML report:
      1. Update JMeter:
      Make sure you're using the latest version of JMeter. Download and install the latest version from the official website: jmeter.apache.org/download_jmeter.cgi. This ensures you benefit from the latest features and bug fixes, including improved plugin management.
      2. Update plugins:
      Ensure your required plugins are up-to-date. The deprecated package scanning method might be used by outdated plugins. Check the plugin documentation or repository for update instructions. Alternatively, consider using plugins compatible with the newer plugin registry mechanism.
      3. Configure plugins manually:
      If updating plugins isn't an option, you can manually configure them for use with the newer plugin registry. JMeter 5.4 introduced a plugin registry where plugins can be explicitly registered. Consult the JMeter documentation for details on plugin configuration: jmeter.apache.org/download_jmeter.cgi.
      4. Use alternate reporting tools:
      While the HTML report is commonly used, consider alternative reporting options. Plugins like "JMeter-Plugins-HtmlReporter" offer features similar to the built-in reporter. Additionally, explore tools like Listeners and Dashboard Runners for generating rich and interactive reports.
      Troubleshooting tips:
      Share the specific plugins you're using and their versions.
      Provide the exact JMeter version you're running.
      Check the JMeter logs for any additional error messages related to plugin loading or report generation.
      By following these steps and investigating further, you should be able to overcome the plugin deprecation warning and successfully generate the desired HTML report or utilize alternative reporting methods for your JMeter tests.