Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for passing test metadata #1662

Closed
pmeenan opened this issue Jan 19, 2022 · 0 comments · Fixed by #1664
Closed

Add support for passing test metadata #1662

pmeenan opened this issue Jan 19, 2022 · 0 comments · Fixed by #1664
Assignees
Labels
Type: Enhancement An improvement to WebPageTest

Comments

@pmeenan
Copy link
Contributor

pmeenan commented Jan 19, 2022

Add support for a "metadata" parameter that gets stored with the test data and echoed back in the JSON and HAR results as part of the page data.

It should allow for either JSON or string data and if JSON, decode it and echo back the attributes rather than a double-encoded JSON string.

It should have a size limit to make sure it isn't abused for storing arbitrary data (10k should be WAY more than enough).

For the HTTP Archive, this will be used for including the page ID and page rank with the test data, both of which are currently stored separately and joined at analysis time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement An improvement to WebPageTest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant