Jenkins display multiple JMeter report(.jtl) in single graph












0















In Jenkins, I have configured multiple JMeter scripts using maven-jmeter-plugin in single job. After execution, each JMeter script is generating its own report file(.jtl) in results folder.



I have also configured the Performance plugin of Jenkins to display the report after JMeter script execution.



My problem is, the Performance plugin is showing different graph for each .jtl file.
Current Graph



Current Graph



I need to report to be shown in single graph.
Expected Graph
Expected Merged Graph



Is there any plugin available to achieve the same?

if no, how can I update the current plugin to achieve merged graph?










share|improve this question



























    0















    In Jenkins, I have configured multiple JMeter scripts using maven-jmeter-plugin in single job. After execution, each JMeter script is generating its own report file(.jtl) in results folder.



    I have also configured the Performance plugin of Jenkins to display the report after JMeter script execution.



    My problem is, the Performance plugin is showing different graph for each .jtl file.
    Current Graph



    Current Graph



    I need to report to be shown in single graph.
    Expected Graph
    Expected Merged Graph



    Is there any plugin available to achieve the same?

    if no, how can I update the current plugin to achieve merged graph?










    share|improve this question

























      0












      0








      0








      In Jenkins, I have configured multiple JMeter scripts using maven-jmeter-plugin in single job. After execution, each JMeter script is generating its own report file(.jtl) in results folder.



      I have also configured the Performance plugin of Jenkins to display the report after JMeter script execution.



      My problem is, the Performance plugin is showing different graph for each .jtl file.
      Current Graph



      Current Graph



      I need to report to be shown in single graph.
      Expected Graph
      Expected Merged Graph



      Is there any plugin available to achieve the same?

      if no, how can I update the current plugin to achieve merged graph?










      share|improve this question














      In Jenkins, I have configured multiple JMeter scripts using maven-jmeter-plugin in single job. After execution, each JMeter script is generating its own report file(.jtl) in results folder.



      I have also configured the Performance plugin of Jenkins to display the report after JMeter script execution.



      My problem is, the Performance plugin is showing different graph for each .jtl file.
      Current Graph



      Current Graph



      I need to report to be shown in single graph.
      Expected Graph
      Expected Merged Graph



      Is there any plugin available to achieve the same?

      if no, how can I update the current plugin to achieve merged graph?







      jenkins jmeter jenkins-plugins performance-testing






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 21 '18 at 11:45









      Prasad JadhavPrasad Jadhav

      2,763164875




      2,763164875
























          1 Answer
          1






          active

          oldest

          votes


















          1














          There is Merge Results plugin which can be used for combining/comparing results of up to 4 different JMeter tests.



          You can install the plugin using JMeter Plugins Manager



          enter image description here



          Merge Results tool can also be used in command-line





          1. Amend merge-results.properties (by default it's located in "bin" folder of your JMeter installation), make sure it contains these lines:



            inputJtl1=TestResult_1.jtl
            inputJtl2=TestResult_2.jtl



          2. Execute Merge Results using JMeter Plugins Command Line Tool like:



             JMeterPluginsCMD --tool Reporter --generate-csv CombinedResult.jtl --input-jtl merge-results.properties --plugin-type MergeResults 


          3. Configure Jenkins Performance Plugin to read CombinedResult.jtl file instead of your 2 files.







          share|improve this answer
























          • Merging the JTL will not show multiple lines in single graph generated by Jenkins Performance Plugin - Trend Report? any solution on Jenkins side?

            – Prasad Jadhav
            Nov 21 '18 at 14:09











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53411347%2fjenkins-display-multiple-jmeter-report-jtl-in-single-graph%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          There is Merge Results plugin which can be used for combining/comparing results of up to 4 different JMeter tests.



          You can install the plugin using JMeter Plugins Manager



          enter image description here



          Merge Results tool can also be used in command-line





          1. Amend merge-results.properties (by default it's located in "bin" folder of your JMeter installation), make sure it contains these lines:



            inputJtl1=TestResult_1.jtl
            inputJtl2=TestResult_2.jtl



          2. Execute Merge Results using JMeter Plugins Command Line Tool like:



             JMeterPluginsCMD --tool Reporter --generate-csv CombinedResult.jtl --input-jtl merge-results.properties --plugin-type MergeResults 


          3. Configure Jenkins Performance Plugin to read CombinedResult.jtl file instead of your 2 files.







          share|improve this answer
























          • Merging the JTL will not show multiple lines in single graph generated by Jenkins Performance Plugin - Trend Report? any solution on Jenkins side?

            – Prasad Jadhav
            Nov 21 '18 at 14:09
















          1














          There is Merge Results plugin which can be used for combining/comparing results of up to 4 different JMeter tests.



          You can install the plugin using JMeter Plugins Manager



          enter image description here



          Merge Results tool can also be used in command-line





          1. Amend merge-results.properties (by default it's located in "bin" folder of your JMeter installation), make sure it contains these lines:



            inputJtl1=TestResult_1.jtl
            inputJtl2=TestResult_2.jtl



          2. Execute Merge Results using JMeter Plugins Command Line Tool like:



             JMeterPluginsCMD --tool Reporter --generate-csv CombinedResult.jtl --input-jtl merge-results.properties --plugin-type MergeResults 


          3. Configure Jenkins Performance Plugin to read CombinedResult.jtl file instead of your 2 files.







          share|improve this answer
























          • Merging the JTL will not show multiple lines in single graph generated by Jenkins Performance Plugin - Trend Report? any solution on Jenkins side?

            – Prasad Jadhav
            Nov 21 '18 at 14:09














          1












          1








          1







          There is Merge Results plugin which can be used for combining/comparing results of up to 4 different JMeter tests.



          You can install the plugin using JMeter Plugins Manager



          enter image description here



          Merge Results tool can also be used in command-line





          1. Amend merge-results.properties (by default it's located in "bin" folder of your JMeter installation), make sure it contains these lines:



            inputJtl1=TestResult_1.jtl
            inputJtl2=TestResult_2.jtl



          2. Execute Merge Results using JMeter Plugins Command Line Tool like:



             JMeterPluginsCMD --tool Reporter --generate-csv CombinedResult.jtl --input-jtl merge-results.properties --plugin-type MergeResults 


          3. Configure Jenkins Performance Plugin to read CombinedResult.jtl file instead of your 2 files.







          share|improve this answer













          There is Merge Results plugin which can be used for combining/comparing results of up to 4 different JMeter tests.



          You can install the plugin using JMeter Plugins Manager



          enter image description here



          Merge Results tool can also be used in command-line





          1. Amend merge-results.properties (by default it's located in "bin" folder of your JMeter installation), make sure it contains these lines:



            inputJtl1=TestResult_1.jtl
            inputJtl2=TestResult_2.jtl



          2. Execute Merge Results using JMeter Plugins Command Line Tool like:



             JMeterPluginsCMD --tool Reporter --generate-csv CombinedResult.jtl --input-jtl merge-results.properties --plugin-type MergeResults 


          3. Configure Jenkins Performance Plugin to read CombinedResult.jtl file instead of your 2 files.








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 21 '18 at 12:46









          Dmitri TDmitri T

          69.7k33458




          69.7k33458













          • Merging the JTL will not show multiple lines in single graph generated by Jenkins Performance Plugin - Trend Report? any solution on Jenkins side?

            – Prasad Jadhav
            Nov 21 '18 at 14:09



















          • Merging the JTL will not show multiple lines in single graph generated by Jenkins Performance Plugin - Trend Report? any solution on Jenkins side?

            – Prasad Jadhav
            Nov 21 '18 at 14:09

















          Merging the JTL will not show multiple lines in single graph generated by Jenkins Performance Plugin - Trend Report? any solution on Jenkins side?

          – Prasad Jadhav
          Nov 21 '18 at 14:09





          Merging the JTL will not show multiple lines in single graph generated by Jenkins Performance Plugin - Trend Report? any solution on Jenkins side?

          – Prasad Jadhav
          Nov 21 '18 at 14:09


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53411347%2fjenkins-display-multiple-jmeter-report-jtl-in-single-graph%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Costa Masnaga

          Fotorealismo

          Sidney Franklin