Run k6 websockets from Jmeter

Hello.

I created performance tests in Jmeter. but websockts part in k6. K6 working with webscokets really nice and better.

Now I want to trigger some how k6 script from Jmeter.

I tried to use OS SAmpler but it’s returned error

and look like Jmeter waiting till sampler works. But I need Jmter just run k6 when it needed and working with other requests.

Is it possible?

Hi there,

I’m not familiar with this integration with JMeter, but from that error it looks like another symptom of #1579. :frowning:

To confirm this, if you’re running k6 v0.27.0 or v0.27.1 (check with k6 version), can you try v0.26.2 and see if you get the same error? If it works with v0.26.2, then this issue is fixed on the current master and the fix will be released in v0.28.0, scheduled for later this month. Or you could compile k6 from master if you’re comfortable with the Go toolchain.

Sorry for the inconvenience!

Yes, looks like problem in 0.27 version. Thank you