grafana / k6-docs

The k6 documentation website.
https://grafana.com/docs/k6/latest/
84 stars 215 forks source link

chore: update script example from hybrid performance guide #1653

Closed heitortsergent closed 1 month ago

heitortsergent commented 1 month ago

What?

The example in our Hybrid performance with k6 browser guide included a couple of variables that weren't defined, and the example won't work if a user is trying to copy/paste it.

I updated the example so that users can copy/paste the script and run it, and it should work.

Checklist

Related PR(s)/Issue(s)

heitortsergent commented 1 month ago

@ankur22 @mdcruz would you mind taking a look at this and see if the changes I made to the example script make sense? 🤓

heitortsergent commented 1 month ago

I reviewed this locally and with @tom-miseur, so I'm going to go ahead and merge this. 🤓