In this video, after recording we configure a simple test case using the test wizard. You will learn how to delete unnecessary hosts and content types, how to verify the test case, how to choose a load pattern, step duration, and think time. At the end, the wizard will be ready to start the test.
HTTPS, Certificate, FireFox, Fiddler
In the next video you will learn how to start the performance test and monitor key performance indicators of a website under the test.
Watch Test Wizard: Running the TestDuration 3:04
Welcome back. After recording is complete, the Test Wizard reappears in the "Configuring the test case" step. The test wizard is the easiest way to start with StresStimulus because it walks you through the steps of setting up and running the test. Once you get familiar with StresStimulus, you can bypass the wizard to use many additional performance testing options. In our test, we will simulate multiple virtual users accessing the eStore website, and analyze how this will impact its performance and user experience. From the "Configure Test Case" step, click "Next" to see the list of hosts targeted in our test scenario. Here you can delete requests to unnecessary hosts, such as Google Analytics. I only want to test one server, so I’ll remove all other hosts. In the next step, you will see the list of Content types requested during the recording. You may want to delete requests to resources that have little impact on performance. I will delete all image and style sheet requests. Let's move to the next step to start verifying the test case. StresStimulus will replay the test case once with one virtual user to check for errors. This is necessary to make sure the load test results will be accurate. Click "Next" to start the Verify process. Verify completed successfully. If Verify discovers any errors in your test case, watch the video explaining how to resolve errors. Now we are ready to configure a load test. Click "Next" to select the Load pattern. You can choose a steady load, which emulates a constant number of virtual users, or step load, which ramps-up the users. I’ll choose a step load starting with 1 users and increasing by 1 every 3 seconds until it reaches 50. Click "Next" to set the test duration. Select test completion criteria from the available tree options: number of iterations, certain run duration time, or reaching the maximum users. I’ll choose "reaching the maximum users". After the Completion Condition will be reached, StresStimulus can do one of three things: wait until all pending responses are received, stop the test, or wait for already started iterations to complete. I will select "wait for iterations to complete". On the next step I will select a think time option. Think time is a delay after a page is downloaded and before the subsequent page is requested. The virtual users will inject the think time delay to emulate time spent by a physical user on the page. This makes the load test more realistic. The available options are: constant think time, recorded think time, random, or zero. I will keep the default of 2 seconds. Then we move to the "run the test" confirmation screen. When you are ready to start the test, Click "Run the test" and the test will start. In the next video we will review how to monitor your website performance during the test. Thank you for watching.