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

Support POST requests in runTest method #177

Open
max-ostapenko opened this issue Jul 26, 2023 · 1 comment · May be fixed by #180
Open

Support POST requests in runTest method #177

max-ostapenko opened this issue Jul 26, 2023 · 1 comment · May be fixed by #180

Comments

@max-ostapenko
Copy link
Contributor

I'm using this package to build a CI for custom metrics code([related issue]).(HTTPArchive/custom-metrics#6)
But I get the 414 URI Too Long error though.

After debugging it with a dryRun - it looks this package doesn't support POST requests.

I add 14Kb custom metric code to test options and GET request to API obviously fails.
Would be great to implement support for POST requests in runTest method.

P.S. WPT API supports it.

@max-ostapenko
Copy link
Contributor Author

max-ostapenko commented Sep 28, 2023

Fixed in the fork HTTPArchive/WebPageTest.api-nodejs

@max-ostapenko max-ostapenko linked a pull request Oct 11, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant