Could you please tell me how to use subsctiber.subscribe()
I am facing with fails using this function, even with examples from the repository.
For example the test.js
Fails with the below error.
As I understand there are some issues with sleep(). Because it starts throwing these errors when 2 messages already received successfully.
But I don't understand where the sleep functions should be applied. And the other question, can I use async/await with the xk6-nats functions?
And one more question - is this possible to add some functionality to get stats from the nats server just like it was implemented in nats monitoring?
Could you please tell me how to use
subsctiber.subscribe()
I am facing with fails using this function, even with examples from the repository. For example the test.js Fails with the below error. As I understand there are some issues withsleep()
. Because it starts throwing these errors when 2 messages already received successfully. But I don't understand where the sleep functions should be applied. And the other question, can I use async/await with the xk6-nats functions?And one more question - is this possible to add some functionality to get stats from the nats server just like it was implemented in nats monitoring?
Thank you!