Here is a simple example of a Gatling Stress Tool simulation that uses a circular feed to populate the request body. I wanted to exercise a dynamic search that I have in the UI by iterating through various different search criteria, thus varying the queries eventually executed by the database. Using a circular feed to populate the body of the request allowed me to do this. The body is JSON and is stored in a tsv file. I had to play with the quotes in the data file a bit to get it to work correctly.
Note, this is just the simulation, following the modularization structure in the gatling docs.
- Using feeders to construct a StringBody (2.0.0-M3a)
- Circular and random feed does not work as expected