Closed mdi closed 9 years ago
Right now there isn't. But it would be straightforward to add an option that lets you do this.
What would you like to use as input, result ids or the actual result JSON? Or both? :)
Either/or. Whichever is easier.
Hey @mdi, I've published this feature as version 0.1.0 on npm.
You can now specify a command-line option -i <ids>
or --resultIds <ids>
, where <ids>
is a comma-separated list of WebPageTest result ids.
Because all the data with this option is coming directly from WebPageTest rather than our config, there are a couple of things you should be aware of:
home
/away
setting that is used to differentiate results in the html-comparison
mapper is forced to home
in these cases.Let me know if there are any problems. :)
This is great! Thanks!
I'm seeing one small error with run http://www.webpagetest.org/result/150505_60_C1B/
The error is: TypeError: Cannot read property 'speedIndex' of undefined
Ah, apologies, will take a look tomorrow. Have raised #9 to cover it.
I have results from a few previous runs that I'd like to run through webpagetest-mapper. Is there a way to do this?