artilleryio / report-viewer

Report viewer for @artilleryio built in @reactjs @getbootstrap @fontawesome ... Create an easy to read and understand report with crucial data highlights and graphs.
https://artillery.io
Mozilla Public License 2.0
27 stars 14 forks source link

Awesome Work! - but I have a question :) #1

Closed mauriciobergallo-zz closed 3 years ago

mauriciobergallo-zz commented 3 years ago

Hey mate! first of all, thank you for your amazing work on this plugin.

I'm facing an "issue" maybe. I tried this plugin with my local version of artillery with no luck.

The info of artillery in my local machine is:

ARTILLERY DEV PREVIEW �
Please report bugs on https://github.com/artilleryio/artillery/issues

Modern performance testing toolkit

VERSION
  artillery/2.0.0-dev2 win32-x64 node-v12.16.3

USAGE
  $ artillery [COMMAND]

COMMANDS
  dino    here be dinosaurs
  help    display help for artillery
  report  generate a HTML report from a JSON log produced with artillery run
  run     run a test script

Maybe is something related with the lates version of Artillery ?

Thanks!

PS: Sorry if I should reach you in a different way, but I didn't know how.

cfryerdev commented 3 years ago

Hey, could you provide more information? Not sure which plugin you are referring to. Happy to help wherever. Feel free to reach out directly on our discord - discord.gg/37vGhH3NMB

mauriciobergallo-zz commented 3 years ago

Hey! thanks for your feedback, yes, the plugin is: Report Viewer (https://github.com/artilleryio/report-viewer) maybe is not a plugin, just a tool, and this is the exported by Artillery.

Thanks in advance.

20210413_1_basic.zip

cfryerdev commented 3 years ago

Excellent, ill look into this today!

Update: This looks like an Artillery V2 Report, you can output the V1 reports by setting an environment variable ARTILLERY_USE_LEGACY_REPORT_FORMAT before your cli command. I will get started on updating the report viewer to support the new schema soon.

Example:

$ ARTILLERY_USE_LEGACY_REPORT_FORMAT=1 artillery run some_task.yaml -o some_report.json
mauriciobergallo-zz commented 3 years ago

Hey!

I've just tested the workaround that you've mentioned, but no look.

This is the file that was exported.

Thanks in advanced!

20210414_basic.zip

cfryerdev commented 3 years ago

Closed, https://reportviewer.artillery.io/ should now support the v2 report object, let me know if you see anything odd :) Thank you!