Many people, companies, and customers will one day ask, « Is my application really efficient? » I will comprehensively discuss this question here.
You can apply this material to applications hosted on-premise, such as SharePoint or CRM, and also applications hosted online, such as Office 365. Obviously you will not have access to some backend performance configuration elements hosted on Office 365’s servers.
A load testing tool should be able to record a realistic user scenario of the application under test and to define load by ramping up users.
With Visual Studio you can do all of that (Enterprise version required) by navigating through several screens. StresStimulus however allows to use a single screen to set all the parameters of your test.
So StresStimulus provides simplicity, but not at the expense of functionality; for example, the user simulation is extremely easy to set up compared to VS where you have to create quite complex parameters to simulate different profiles.
Mixing different scenarios is also pretty simple:
1. Build Test Cases.
2. Build Test Case Groups, which corresponds to the profile of LoadTest under VS, to replay them in parallel, sequentially, or both.
During test configuration, here are the parameters that can be adjusted very quickly:
These are actually the same as in VS (there is no magic; it is necessary to define a test pattern).
In terms of monitoring, the tool focuses on the essentials without getting bogged down with counters, such as Garbage Collector. I imagine that it is possible to add as many counters as you need, or alternatively use those of Windows in Perfmon, but then you have to use two different tools.
Before proceeding to build the test case, you should note that StresStimulus is completely integrated with a tool that many administrators use … Fiddler.
Let’s proceed to the Test wizard:
Once your recording scenario is completed, the different content types are analyzed, and the auto-correlation parameters are automatically calculated, the wizard checks the consistency of your test to see if everything goes well during the running of the baseline test (the first test is used as a sample).
At this stage, the scenario is replayed:
Once replayed and validated, we can move on to the main question: how do I load test my platform?
We set the number of users:
Then, test duration and number of iterations per user:
We add Think Time (time between user clicks).
A small plus compared to VS is here you can set a random time within an interval of minutes (for users who take their time)
Then chose to enable the Browser Cache or not.
Now we are ready to run the test.
And we analyze the results.
A sequel regarding the interpretation of results is coming soon.
Meanwhile, I invite you to download StresStimulus from the official website: