How to insert data to mongoDB with gatling?

Hello all!

I am trying to create a scenario where first I add some data to my MongoDB and later on I execute a normal HTTP post.

First of all, Gatling doesn’t support a mongo connection so I need to use any kind of JDBC or mongo wrapper that I found googling, like:

Do you have any experience with them? Can you please advise me with which one to use?

Also, there appears another problem:

If I want to create a scenario with both previous steps, which protocol configuration should I add to the Gatling setup function? I guess both of them but I’m not sure, like:

setup( simulation).protocols( httpConfiguration, mongoConfiguration)

Many Thanks.