Gatling Stress Tool: Utilizing Session User Id in a Simulation

I’ve recently been playing around with Gatling Stress Tool to set up some performance tests. It has proved very easy to get up, running and testing.

For this test case I wanted to run through some CRUD operations and to make sure the object ID was unique, I’m using concatenating the session User Id to the object id. I don’t know scala, so I needed a little help that is readily available from the Gatling group.

Here’s the test case. It doesn’t have the httpConf stuff b/c I’m following the Simulation Modularization structure.

And then when it runs I can see the departmentCode is PerfDept1, PerfDept2, etc.

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