K6 result storage in MongoDB

Hello , How can store my K6 test results into DB.

I am doing it in influx currently and want to know if i can do it in MongoDB as well.

Hi @billoreavinash12,

Unfortunately, k6 does not support outputing its data to mongoDB at the moment. However, it seems some of our users have developed an xk6 extension to do just that. We do not officially support it, nor take any part in its development, but it might be worth a try.

If you’re not familiar with xk6, it’s is a tool, developed and maintain by the k6 team, which allows you to build your own version of k6 including extensions, such as the one I’ve linked before.

Hope that’s helpful :bowing_man:

Thank you , this is really helpful.

1 Like