Chaining scenarios to delete the data created by the first one call


Here is my need: I have a back-end to create and delete data (“la routine”).
I want to test the performance of creating data.
To make a 0-footprint test, I need to immediatly delete the created data after inserting it in database.
So I need to:

  1. insert the data (it returns the ID)
  2. delete the data using its ID

I hope to chain these calls to perform them sequentially. But I don’t if it’s possible yet.

I’m pretty new in using Gatling, so maybe my mind is wrong.

Could anyone help me please?

Thanks in advance,