grafana / k6

A modern load testing tool, using Go and JavaScript - https://k6.io
GNU Affero General Public License v3.0
24.07k stars 1.2k forks source link

k6 extension: New experimental HTTP API #2461

Open codebien opened 2 years ago

codebien commented 2 years ago

Exploring problems and solutions for #2311 has shown us that trying to fix all the problems in the old API would require compromises that wouldn't solve the root cause of the issue.

To that end, we have decided to explore solutions for this and other HTTP-related issues in a new k6 extension. This will be an implementation of a new HTTP API, and will require changes in several core parts of k6.

We've come up with a design document for this work, with some initial ideas that would address most of these issues. The design is still very much in flux, and will likely change as the work progresses.

### Task list
- [ ] https://github.com/grafana/k6/issues/3038
- [ ] https://github.com/grafana/k6/issues/1011
saniyar-dev commented 10 months ago

Hi. I assume that new-http api is not in default k6 binary. How can I build/download a proper binary which includes this api?

codebien commented 10 months ago

Hey @saniyar-dev, as you can see https://github.com/grafana/k6/issues/3038 is still open, which means there isn't yet an implementation available for the new HTTP API.

olegbespalov commented 5 months ago

As we agreed during a meeting, we need to ensure that at some point a new HTTP module covers a case from https://github.com/grafana/k6/issues/1169