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

Replace httpbin references with QuickPizza #1833

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

federicotdn
Copy link
Contributor

@federicotdn federicotdn commented Jan 7, 2025

What?

Part of https://github.com/grafana/k6-cloud/issues/2437.
Replace all uses of httpbin.test.k6.io with QuickPizza.

TODO: Once this is reviewed, I'll apply the changes to older k6 versions.

Checklist

  • I have used a meaningful title for the PR.
  • I have described the changes I've made in the "What?" section above.
  • I have performed a self-review of my changes.
  • I have run the npm start command locally and verified that the changes look good.
  • I have made my changes in the docs/sources/k6/next folder of the documentation.
  • I have reflected my changes in the docs/sources/k6/v{most_recent_release} folder of the documentation.
  • I have reflected my changes in the relevant folders of the two previous k6 versions of the documentation (if still applicable to previous versions).
  • I have made my changes in the docs/sources/k6/next folder of the documentation.

Related PR(s)/Issue(s)

@federicotdn federicotdn marked this pull request as ready for review January 10, 2025 10:58
@federicotdn federicotdn requested review from heitortsergent and a team as code owners January 10, 2025 10:58
@federicotdn federicotdn requested review from oleiade and codebien and removed request for a team, oleiade and codebien January 10, 2025 10:58
@heitortsergent heitortsergent self-assigned this Jan 10, 2025
@federicotdn federicotdn force-pushed the replace-httpbin branch 2 times, most recently from ddd68c3 to 3e45498 Compare January 13, 2025 14:51
const res = http.get(`http://example.com/posts`);
check(res, {
'is status 200': (r) => r.status === 200,
export default function () {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Script was not working without the export function.

@@ -14,10 +14,22 @@
import tempfile
from collections import namedtuple

Script = namedtuple("Script", ["text", "options"])
Script = namedtuple("Script", ["text", "options", "env"])

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Script has some new options, they are all documented though!

Copy link
Collaborator

@heitortsergent heitortsergent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a quick scan through and this looks great to me! This workflow is so helpful, and thanks for updating the CONTRIBUTING with the new options too. 🙇 🙇

CONTRIBUTING/README.md Outdated Show resolved Hide resolved
@federicotdn federicotdn merged commit 4d5adff into main Jan 15, 2025
5 checks passed
@federicotdn federicotdn deleted the replace-httpbin branch January 15, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants