Xk6-mock reloaded: Mocking services during test development

Have you ever wanted to write a k6 test before the service to be tested was available? The xk6-mock extension allows services to be mocked during test development.
Check xk6-mock , the k6 extension for mocking services during test development. API documentation is available at xk6-mock API
I completely rewrote the xk6-mock extension. Now supports asynchronous operations (event loop ready). It also has a simpler API.
As always, I look forward to your feedback.

3 Likes