sitespeed.io icon indicating copy to clipboard operation
sitespeed.io copied to clipboard

Configuration setting for html results namespace/directory

Open stawip opened this issue 7 years ago • 5 comments

Hello,

I noticed that sometimes test results are placed within namespace/directory which isn't related to domain which was used for actual performance test run.

What is logic behind this behavior? How to configure it or be able to predict where test results will be placed?

Here is an example to illustrate my question:

https://dashboard.sitespeed.io/d/000000059/page-timing-metrics?orgId=1&var-base=sitespeed_io&var-path=alexaDesktop&var-group=en_wikipedia_org&var-page=_wiki_Barack_Obama&var-browser=chrome&var-connectivity=cable&var-function=median&from=1572078924937&to=1572256100389

image

And then results url looks like this: image

https://s3.amazonaws.com/results.sitespeed.io/www.google.com/2019-10-28-04-11-33/pages/en.wikipedia.org/wiki/Barack_Obama/index.html

Why wikipedia test run is placed under google.com namespace?

stawip avatar Oct 29 '19 12:10 stawip

Hi @stawek the first URL that you test is used by default as the path to the tests. So if you run multiple domains within one test as in https://github.com/sitespeedio/dashboard.sitespeed.io/blob/master/tests/nyc3-1/desktop/urls/alexaDesktop.txt they will live in the HTML under that URL. In Graphite/Grafana they will be under the right domain.

Best Peter

soulgalore avatar Oct 30 '19 07:10 soulgalore

@soulgalore Thank you for explanation

the first URL that you test is used by default as the path to the test

Since you not mentioned it in your response I suppose that at this moment it isn't possible to change this default behavior?

stawip avatar Oct 30 '19 08:10 stawip

In the CRON i've configured something like below - to get a different name based on date/time stamp --- not sure if this is what u are looking for --- but i do need a different folder name than the FILE name of the domain name... and this is how its achieved in my case

--outputFolder sitespeed-result/Comparison/$(date +%Y-%m-%d-%H-%M-%S)

softwareklinic avatar Oct 31 '19 18:10 softwareklinic

@stawek did you got the help you needed?

soulgalore avatar Nov 17 '19 23:11 soulgalore

Closing since no more feedback.

soulgalore avatar Jul 06 '20 08:07 soulgalore