Hacker News new | ask | show | jobs
by na-- 2028 days ago
The canonical way to record web traffic are HAR files: https://en.wikipedia.org/wiki/HAR_(file_format)

You can export HAR files from all web browsers and a lot of proxies and other tools. Then you can convert that recording to a k6 script with our HAR converter: https://k6.io/docs/test-authoring/recording-a-session/har-co...

We also have browser plugins to directly record browser traffic and import it as a k6 script in our cloud service: https://k6.io/docs/test-authoring/recording-a-session/browse...

However, you don't need a cloud subscription to run the tests, you can copy-paste the generated script code and `k6 run` it locally, without paying us anything.

1 comments

Thanks. Will check it out.