LoadStorm LITE Learning Center

Servers

Plans

Scenarios

Steps

Forms

Run

Analyze

Part 1: Add a Server

1. Once you’ve logged into your LoadStorm account go to the Build tab.
Navigation Bar
2. Next click the Add Server button.
Add Server
3. Now fill in the appropriate fields.

  • Note: http:// or https:// will automatically append to the beginning of the server URL from the drop-down box so you do not need it in the URL field.
  • Additionally this is where you can specify a custom port number, or setup basic authentication if needed to access your server.
  • The preemptive mode check box allows the basic authentication credentials to be sent with the initial request instead of first waiting for a response from the server requesting the credentials. Try this option if you’re having trouble with verifying through basic authentication.
New Server

Part 2: Verifying a Server

  1. To verify your server there are two options.
    1. Create an html file named loadstorm-{insert verification number}.html and put the file in your server’s root directory.
    2. Or you can add the verification code of loadstorm-{insert verification number} into a comment tag of your homepage. It is placed in a comment tag’s content so as not to display it on the page. See example below.
  2. After following one of the two options click on the Verify Now link to check the server for the code.
  3. Once verified you can remove the verification file or code from your server.
  4. If you have trouble with verification please contact us at support@loadstorm.com
Verifying a Server
Example html with verification code inside a comment:

<HTML>
<!-- loadstorm-123456 -->
<HEAD>
<TITLE>Your Website</TITLE>
</HEAD>
<BODY>
Hello World!
</BODY>
</HTML>

Creating a Plan

  • Creating a Plan – A Plan is a portfolio which must contain one or more scenarios for testing.
1. Make sure you’re on the Build tab.
Build Tab
2. Next click the Add Plan button.
Plan2 sized
3. Then fill in the details of your plan.
Plan 3 sized
4. Finally click Save.

Adding a Scenario

  • Adding a Scenario – A scenario is a collection of steps for a vuser to perform.
1. Make sure you’re on the Build tab.
Build Tab
2. Next click on the name of your plan.
Plan2 sized
3. Now click the Add Scenario button.
Scenario 4 sized
4. Then fill out the details of your scenario.

Weighting:
When you use multiple scenarios in a plan, you use the weighting to allocate what percentage of the VUsers will follow each scenario. The weighting numbers are all relative to one another. For example, if you have 4 scenarios all with a weight of 1, the VUsers will be distributed evenly at 25% for each scenario.

Or you can weight scenarios by percentage if you are careful to add all scenarios up to 100. For example:
50% Browsing = Weight 50
25% Adding items to shopping cart = Weight 25
20% Logging in = Weight 20
5% Completing checkout = Weight 5

Form Data:
If you need to submit a form in the scenario, select which form data set to use from the drop down menu. See the full section on forms for more information.

Scenario 3 sized
5. Finally click Save.

Adding Steps

1. Make sure you’re on the Build tab.
Build Tab
2. Next click on the name of your plan.
Plan2 sized
3. Now click the name of your scenario that you want to add steps to.
Scenario 4 sized
4. Then click Add Step.
steps 3 sized
5. When entering the uniform resource identifier (URI) do not include the address of the server. For example the address www.example.com/URI-path is where you want to go, but you select your target server which is www.example.com below the text box and now you just need to enter “/URI-path” in the text field. By entering a “/” by itself the domain will look like www.example.com/ and take you to the homepage. Then click Save.
Steps 4 sized
6. If the previous step processed correctly, you should see a preview of the page as well as transfer and duration information.
Steps 5 sized
7. To add additional steps, click new step. You can then choose to open a new page, click a link, or submit a form. If you select Click a link

, a table of links available on the current page will appear. Select a specific link for every VUser to click or check the box next Click a random link for each VUser to click a different link.

Steps 6 sized
8. If you select Submit form, tabs will appear with forms available on the current page. Choose which form you want the VUsers to submit by selecting that tab. Then choose to use either a constant value for every VUser to submit or click form data to select individual form fills for each VUser. See the following section on Forms for more information.
Steps 7 sized
9. If you want to reorder the steps in a scenario, click the Reorder Steps button.
Steps 8 sized
10. Then click and drag each step into the desired order and then click Save Order.
Steps 9 sized

Submitting a Form

LoadStorm allows you to customize your load tests by having each VUser submit forms with unique data such as email, username, and password. There are three parts to submitting a form:

  • Upload User Data CSV
  • Select which Set of Form Data to use in the Scenario
  • Create a Step for the form
1. Click on Build in the top navigation.
Build Tab
2. Your LoadStorm LITE account comes with three sets of ready to use user data. To review these form data sets, click on the name Tiny, Small or Huge. Each of these sets contain email, first name, last name, password, and username for as many unique VUsers as rows.
Form Data Set
3. To upload your own CSV of user data, click the Upload CSV button. Make sure that you are using a CSV file as normal Excel files will not upload correctly. Also make sure that the first row contains column names so that you can easily identify which column to use for each line of a form.
Forms 2 sized
4. Name your form data set, choose the file, and click Upload.
Forms 3 sized
5. Once you have uploaded your CSV (or decided to use one of the data sets in LoadStorm), open a plan, then click on the name of the scenario you want to use or add a new scenario.
Forms 4 sized
6. If using an existing scenario, click Edit.
Forms 5 sized
7. Select the desired Form data set from the dropdown menu and click Save.
Forms 6 sized
8. Build steps to navigate to a page or open the page with the form and click the New Step button.
Forms 7 sized
9. Click Submit form and then tabs will appear with the selection of forms available on the current page. Choose which form you want the VUsers to submit by selecting that tab. Then choose to use either a constant value for every VUser to submit or click form data to select individual form fills for each VUser. Then choose which column of your uploaded CSV or the system’s data to use for each field.
Forms 8 sized

Run a Test

1. Make sure you’re on the Run tab.
run 1 sized
2. Next click the Add Load Test button.
run 2 sized
3. Set when you want the test to run. To run the test right away, check the box next to Start load test as soon as possible.
run 4 sized
4. To schedule the test in the future, click the calendar icon next to Start and select the desired date and time.
run 5 sized
5. Parameterize the load test:

  • Select the ramp pattern for linear or step up. A linear pattern will add 1 VUser at a time and a step-up pattern will increase by a set number of VUsers every number of set minutes.
  • [INSERT IMAGE MADE IN PRO TO ILLUSTRATE THE DIFFERENCE!]
  • Set the start and peak concurrent users
  • If using a step up ramp pattern, set the step time and step increase to fit your needs.
run 3 sized
6. Finally, click Save and the test will run right away or at the scheduled time.

Analyze

1. To analyze the results of a load test, click Analyze in the top navigation.
Analyze New 1
2. Click the View Results button next to the test that you want to view.
Analyze New 2
3. The first table is a summary table that contains statistics for the entire test run.
Analyze New 3
4. The first graph shows throughput, user load, and requests per second. Hover over the graph to see the specific numbers for each one minute interval.
Analyze 4 New
5. The second graph shows average response time, peak response time, and error rate. This graph allows you to assess how your website or application is responding under load.
Analyze  New 56
6. Under the graphs are buttons to show requests by Elapsed Time, Error Code, and Response Time. There is also a button to Download as CSV which will allow you to download a CSV file of all the raw data from the test for further in-depth analysis.
Analyze New 6
Requests by Elapsed Time allows you to see which requests were made at any specific time during the test. This can help identify bottlenecks if you see a significant problem at a specific minute of the test.
Analyze New 7
Requests by Error Code allows you to see which errors codes are being returned and the frequency of each. It also allows you to identify which resources were associated with which error code.
Analyze New 8
Requests by Response Time allows you to identify bottlenecks by showing which resources have the slowest average response times throughout the test.
Analyze New 9