grafana / k6-studio

Desktop application for Mac and Windows (Linux coming soon) designed to help you generate k6 test scripts
GNU Affero General Public License v3.0
90 stars 0 forks source link

WebSocket support #241

Open ppcano opened 4 days ago

ppcano commented 4 days ago

Brief summary

WebSocket requests are converted into k6 http requests

k6 Studio version

latest

OS

macOS

Steps to reproduce the problem

Recording a quickpizza flow https://quickpizza.grafana.com/

Expected behaviour

Skip WebSocket requests until they are implemented, or alternatively, use the k6 WS API.

Actual behaviour

Websocket request

Image

is converted into k6 http request:

  url = http.url`https://quickpizza.grafana.com/ws`;
    resp = http.request("GET", url, null, params);

    check(resp, {
      "status matches 101": (r) => r.status === 101,
    });

it then fails:

Image

Llandy3d commented 8 hours ago

Thanks for reporting this issue!