bobbingwide / slog

Post process oik-bwtrace daily trace summary reports
GNU General Public License v2.0
0 stars 0 forks source link

Develop JavaScript alternative to vt-driver.php #19

Open bobbingwide opened 3 years ago

bobbingwide commented 3 years ago

The Slog admin page has tabs to view reports, compare results etc. It doesn't yet have the ability to run performance tests. It would be nice to be able to drive the performance comparison testing directly from the Slog admin page.

Requirements

There would be two methods

  1. Run the same query limit times.
  2. Run a set of queries from a filtered file, performing up to limit times.

Proposed solution

MVP

Optional extras

Assumptions, Limitations, Questions

bobbingwide commented 3 years ago

Perform request against another site

In order to be able to run the request against another site we have to be able to overcome blocking by CORS policy.

Access to XMLHttpRequest at 'https://oik-plugins.co.uk/' from origin 
'https://s.b' has been blocked by CORS policy: 
No 'Access-Control-Allow-Origin' header is present on the requested resource.
driver.html:104 An error occurred while transferring the file.

We should also be able to detect this message, or prevent the user from attempting to run a request against another site.

bobbingwide commented 3 years ago

I've done the tasks for the MVP.

bobbingwide commented 2 years ago

Allow setting of the daily trace summary file name from the Driver tab

See #25