简体   繁体   中英

How to convert jmeter dashboard report to pdf

How to convert jmeter dashboard report to pdf

I'm unable to convert html report to pdf. plz suggest me the solution

C'mon, have you done at least basic research before asking? There are a lot of options, for example:

  1. Print it to file, all modern browsers allow saving web content as PDF, check out How to save a webpage as a PDF
  2. There are online solutions like https://html2pdf.com/
  3. There are offline solutions like http://www.pdflite.com/html-to-pdf/
  4. There is BM.Sense online results analysis service which allows saving load test report as PDF

I tried many ways none of it works for Jmeter HTML report, other way was to zip all the artifacts and send over email but, that zip files contains.js files which get blocked by Gmail Yahoo

I written small code in Selenium to take screenshot (used Ashot API) of HTML report and sending over mail as attachment. Challenge here is headless mode of browser takes improper screenshot, so if you are on windows this can be achieved but as PNG, till now nothing works for PDF.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM