The definition of the injection profile of users is done with the inject method. This method takes as argument a sequence of injection steps that will be processed sequentially. A simulation can contain only one setUp [/code] method, the setUp method can have multiple inject profiles in it.The definition of the injection profile of users is done with the inject method. This method takes as argument a sequence of injection steps that will be processed sequentially. A simulation can contain only one setUp [/code] method, the setUp method can have multiple inject profiles in it
Define scenario A scenario can be defined as a Scala variable or Scala function. The following scenario is defined as a Scala function which takes a step, pacing, and duration as arguments.
If you arrived at this page directly, please go through this post first. It explains some basics, how to define HTTP protocol configurations and headers which will be used while building the test scenario along with the feeders and HTTP requests described in this post. Step 3: Define Feeders Feeders resemble parameter files in Loadrunner … Continue reading Gatling Simulation from Scratch – Feeders and HTTP Requests
I had an opportunity to use Gatling for load testing in one of my recent projects. My learning curve for this tool was very steep and I found it very elegant, highly capable and easy to use. So thought I'll share my learnings with everyone. Gatling is an open-source load testing framework based on Scala, … Continue reading Load Testing Using Gatling – Gatling Simulation from Scratch
Click here to know how to create perfmon data collector set manually Now lets see how to create a data collector set from a template. Do do this, first we need to create a template from the data collector set that we created in Step 1. Launch Perfmon. Expand Performance tree down to your data collector set, right … Continue reading Perfmon: Create a Template From an Existing Data Collector Set
Click here to know how to setup perfmon data collector sets manually and via templates How to start perfmon monitoring? Simple. Launch Perfmon, right click on the data collector set under User Defined and select Start. Or you can schedule it to start at a specified time. To do this, Right click on the data collector … Continue reading Perfmon: Schedule Perfmon to Start/Stop at Specified Time
Click here to know how to Create a template from an existing data collector set Launch Perfmon. Expand Performance tree down to User Defined, Right click on it, select New-> Data Collector Set. In the Create New dialog, name the data collector set, select Create from a template (Recommended) and click Next. Select System Performance as … Continue reading Perfmon: Create Perfmon Data Collector Set Using an Existing Template