I am a newbie to k6.
Is it possible to use es6 Promise calls in the VU code or only JS calls documented in k6 JavaScript API and Modules are supported.
I am a newbie to k6.
Is it possible to use es6 Promise calls in the VU code or only JS calls documented in k6 JavaScript API and Modules are supported.
Hi @samba01,
You can’t use Promises with k6 (currently) because k6 doesn’t have support for promises or an event loop, but some people have found a workaround if all you need is to reuse some code with promises.
I hope this helps you and good luck