-
Notifications
You must be signed in to change notification settings - Fork 224
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
base: main
Are you sure you want to change the base?
Conversation
|
||
{{< /code >}} | ||
|
||
## Digest authentication |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Digest auth is deprecated since 2011 (https://en.wikipedia.org/wiki/Digest_access_authentication) so I would not recommend users to implement it in their HTTP servers. I also think this auth method is not widely used nowadays - for this reason I've removed this section.
@@ -71,33 +71,6 @@ export default function () { | |||
|
|||
{{< /code >}} | |||
|
|||
### Example of Digest Authentication |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same logic.
jar.set('http://quickpizza.grafana-dev.com:3333/api/cookies', 'my_cookie', 'hello world', { | ||
domain: 'quickpizza.grafana-dev.com', | ||
path: '/api/cookies', | ||
secure: false, // TODO set to false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will undo secure
changes once URLs are pointing at QP production.
```javascript | ||
import http from 'k6/http'; | ||
import { Trend, Rate, Counter, Gauge } from 'k6/metrics'; | ||
import { sleep } from 'k6'; | ||
|
||
export const TrendRTT = new Trend('RTT'); | ||
export const RateContentOK = new Rate('Content OK'); | ||
export const RateContentOK = new Rate('ContentOK'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test was failing due to space in the metric name.
What?
Part of https://github.com/grafana/k6-cloud/issues/2437.
Replace all uses of
httpbin.test.k6.io
with QuickPizza.NOTE: The URL used is currently
quickpizza.grafana-dev.com:3333
. This is because I was testing the changes against a local server. I will change the URLs to the finalquickpizza.grafana.com
soon, but this can be reviewed already anyways.Also, once this is approved, I will backport the changes to previous OSS versions, to avoid making the PR diff larger now.
Checklist
npm start
command locally and verified that the changes look good.docs/sources/k6/next
folder of the documentation.docs/sources/k6/v{most_recent_release}
folder of the documentation.docs/sources/k6/next
folder of the documentation.Related PR(s)/Issue(s)