Gatling Stress Tool: Example Simulation with a Circular Feed

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.

Helpful Links:

Version Info
Gatling: 1.5.3

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s