Mihail Stoykov

Results 127 comments of Mihail Stoykov

This has been awaiting response from @Salamandastron1 for over a year. I would like to close it unless the user confirms that this isn't due to `keep-alive` connections

Can you remember the reasons we were particularly against this in the original discussion?

I feel like maybe some kind of full blown event system that possibly is also available to js scripts will be better solution. Some links: - https://doc.deno.land/deno/stable/~/Event - https://doc.deno.land/deno/stable/~/ErrorEvent -...

For your particular case I would expect that you can workaround, as long as you don't need anything to be executed on the event loop - js code usually: 1....

There is currently [an extension](https://github.com/grafana/xk6-websockets) that lets you do that. It might at some point be moved to core, but you can use it for now if it's particularly needed...

The extension is now released as an experimental module in k6 [v0.40.0](https://github.com/grafana/k6/releases/tag/v0.40.0), more info in the [relevant section of the release notes](https://github.com/grafana/k6/blob/master/release%20notes/v0.40.0.md#experimental-modules-2630-and-2656) But I am going to keep this open...

Hm ... I think this will work and it is somewhat (a lot IMO) similar to how golang stdlib does things. I would prefer, though, to first somewhat fix the...

There is technically no problem. but is currently not supported. The current k6 WebSocket implementation does *not* support sending non-text messages at all. The fix for that isn't hard and...

> Is there some sample code for xk6 support protobuf binary? Don't think so, sorry. For the record https://github.com/grafana/k6/pull/1841/ added `sendBinary` which can now send ArrayBuffers over websockets. So you...

HI @abadelt, this seems to be because k6 is not guranteed to emit VUS with a value of zero. This is mostly because the `vus` metric is emitted once every...