Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58489

Convert .jtl output to binary image

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I want to create a standard image file for external email. (eg; Outlook)

      Currently Performance Trend reports are created (via Jmeter) as .jtl files.

      This works great as long as the email destination is inside the network and accessible to the Jenkins server.

      <img border="0" width="225" height="169" id="Picture 1" src="http://build:3333/job/my-load-test/performance/respondingTimeGraph?width=225&height=169&&legendLimit=5&performanceReportPosition=my_test.jtl">

      I want to send email to an address outside the network and would like to send the image binary data to email.

      A suggestion could be to include in email-ext-plugin to utilize something like:

      <img border="0" width="225" height="169" id="Picture 1" src='${FILE,path="mypath/my-loadtest/target/jmeter/results/my-loadtest.jtl"}'

      Not technically correct, but you get the idea. (document.getElementById("image").src = jtlFile; [base64 encoded]

       

      An alternate to this would be ability to save .jtl files as images (png/gif/jpg) and copy to external public web space that can be referenced in email.

      Another advantage of this would be to capture unique snapshot graphs for each build -> email

      Currently if you look at a Performance Trend report email from 2 years ago, it is still going to have latest build graph information.

        Attachments

          Activity

          packcat John Pierce created issue -
          packcat John Pierce made changes -
          Field Original Value New Value
          Description Currently
          packcat John Pierce made changes -
          Component/s performance-plugin [ 15803 ]
          packcat John Pierce made changes -
          Attachment image-2019-07-15-12-36-15-398.png [ 48000 ]
          packcat John Pierce made changes -
          Description Currently *I want to create a standard image file for external email.* (_eg; Outlook_)

          Currently Performance Trend reports are created (via Jmeter) as .jtl files.

          This works great as long as the email destination is inside the network and accessible to the Jenkins server.

          <img border="0" width="225" height="169" id="Picture 1" src="http://build:3333/job/my-load-test/performance/respondingTimeGraph?width=225&amp;height=169&amp;&amp;legendLimit=5&amp;performanceReportPosition=*my_test.jtl*">

          !image-2019-07-15-12-36-15-398.png!

          I want to send email to an address outside the network and would like to send the image binary data to email.

          A suggestion could be to include in email-ext-plugin to utilize something like:

          <img border="0" width="225" height="169" id="Picture 1" src='*${FILE,path="mypath/my-loadtest/target/jmeter/results/my-loadtest.jtl"}*'

          Not technically correct, but you get the idea. ({{document.getElementById("image").src = *jtlFile*; [}}base64 encoded]

           

          An alternate to this would be ability to save .jtl files as images (png/gif/jpg) and copy to external public web space that can be referenced in email.

          Another advantage of this would be to capture unique snapshot graphs for each build -> email

          Currently if you look at a Performance Trend report email from 2 years ago, it is still going to have latest build graph information.
          packcat John Pierce made changes -
          Labels jenkins performance plugins user-experience
          packcat John Pierce made changes -
          Description *I want to create a standard image file for external email.* (_eg; Outlook_)

          Currently Performance Trend reports are created (via Jmeter) as .jtl files.

          This works great as long as the email destination is inside the network and accessible to the Jenkins server.

          <img border="0" width="225" height="169" id="Picture 1" src="http://build:3333/job/my-load-test/performance/respondingTimeGraph?width=225&amp;height=169&amp;&amp;legendLimit=5&amp;performanceReportPosition=*my_test.jtl*">

          !image-2019-07-15-12-36-15-398.png!

          I want to send email to an address outside the network and would like to send the image binary data to email.

          A suggestion could be to include in email-ext-plugin to utilize something like:

          <img border="0" width="225" height="169" id="Picture 1" src='*${FILE,path="mypath/my-loadtest/target/jmeter/results/my-loadtest.jtl"}*'

          Not technically correct, but you get the idea. ({{document.getElementById("image").src = *jtlFile*; [}}base64 encoded]

           

          An alternate to this would be ability to save .jtl files as images (png/gif/jpg) and copy to external public web space that can be referenced in email.

          Another advantage of this would be to capture unique snapshot graphs for each build -> email

          Currently if you look at a Performance Trend report email from 2 years ago, it is still going to have latest build graph information.
          *I want to create a standard image file for external email.* (_eg; Outlook_)

          Currently Performance Trend reports are created (via Jmeter) as .jtl files.

          This works great as long as the email destination is inside the network and accessible to the Jenkins server.

          <img border="0" width="225" height="169" id="Picture 1" src="http://build:3333/job/my-load-test/performance/respondingTimeGraph?width=225&height=169&&legendLimit=5&performanceReportPosition=*my_test.jtl*">

          !image-2019-07-15-12-36-15-398.png!

          I want to send email to an address outside the network and would like to send the image binary data to email.

          A suggestion could be to include in email-ext-plugin to utilize something like:

          <img border="0" width="225" height="169" id="Picture 1" src='*${FILE,path="mypath/my-loadtest/target/jmeter/results/my-loadtest.jtl"}*'

          Not technically correct, but you get the idea. ({{document.getElementById("image").src = *jtlFile*;}} [base64 encoded]

           

          An alternate to this would be ability to save .jtl files as images (png/gif/jpg) and copy to external public web space that can be referenced in email.

          Another advantage of this would be to capture unique snapshot graphs for each build -> email

          Currently if you look at a Performance Trend report email from 2 years ago, it is still going to have latest build graph information.
          packcat John Pierce made changes -
          Attachment image-2019-07-17-12-20-02-915.png [ 48015 ]
          packcat John Pierce made changes -
          Attachment image-2019-07-17-12-21-11-698.png [ 48016 ]
          slide_o_mix Alex Earl made changes -
          Assignee David van Laatum [ davidvanlaatum ] Alex Earl [ slide_o_mix ]
          packcat John Pierce made changes -
          Attachment 3test_cHub_Coverage.jtl [ 48025 ]
          slide_o_mix Alex Earl made changes -
          Component/s email-ext-plugin [ 15538 ]
          slide_o_mix Alex Earl made changes -
          Assignee Alex Earl [ slide_o_mix ] Andrey Pokhilko [ undera ]

            People

            Assignee:
            undera Andrey Pokhilko
            Reporter:
            packcat John Pierce
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: