HP StormRunner Load. A practical guide. Part I

  • Tutorial
image

Hi Habr!



Today we are starting a series of articles on the HP StormRunner Load.

This post is part one of the HP StormRunner Load tutorial.

HP StormRunner Load is a SaaS-based solution for organizations and, possibly, software developers who need to create and run load tests for their web applications. With this practical guide, you will learn the features and capabilities of StormRunner Load, learn how to create sample scripts and deploy them to cloud load generators. You will also learn how to analyze the data from these tests and optimize the network, deployment processes and infrastructure.

Since the StormRunner Load solution is based on SaaS, you will need a test environment. These environments are hosted on the HP Software as a Service (SaaS) platform, and can be accessed from Firefox, Chrome, or IE 11 (and newer).

We will also use HP TruClient technology, which requires the latest version of Firefox. You will need to download and install Firefox, and then open HP SaaS from Firefox. StormRunner Load works great with Chrome and IE 11+, but for simplicity we will deal with Firefox in this guide.

Your trial version of HP StormRunner includes a certain number of hours of virtual users (Virtual User Hour, VUH), allowing you to run several load tests.

Roles



There are several roles that you can use when designing and running a load test. Although in reality you can to one degree or another play in all these roles, we will consider the following individuals and their responsibilities:

  1. Project administrator
  2. Performance engineer
  3. Performance analyst


Actions



We will complete the following development steps:

  1. Set up an HP SaaS account
  2. Getting Started with StormRunner Load
  3. Creating a TruClient Script
  4. Create and run a test
  5. Results Analysis
  6. Additional functions
  7. Help system and licensing


Exercise 0. Account Setup



ROLE: Project Administrator

In this exercise, we will log in through the HP Software as a Service (SaaS) web platform and move on to the HP StormRunner Load instance hosted there.

Option 1. I want to create an HP SaaS account

  1. Open the Firefox browser and go to the StormRunner trial page:

    https://saas.hp.com/try/stormrunner-load
  2. Fill out the form fields and click the Sign Up button below.

    Sign Up Form

    Check Email
    Check Email
  3. Check your email inbox and click the Confirm Email link.

    Confirm Email
    Confirm Email
  4. Log in to HP SaaS using your new login information.

    Sign in

    Congrats
    Congrats
  5. Under Trials / Freemium, select StormRunner Load and click Launch.

    Trials launch

    A new tab with a start screen will open in your Firefox browser.

    Get started
    Get started
  6. Click Got it, thanks
  7. Go to exercise 1.

    NOTE. If you are having problems with your existing HP SaaS account, try creating a new email address on Google or MSN and use it to get started with the trial version.

    Option 2. I already have an HP SaaS account
  8. Open the Firefox browser and go to the HP SaaS login page:

    https://login.saas.hp.com/msg/actions/showLogin
  9. Enter your email address and password and click Sign In.

    Sign in

    If you do not know your password, click Forgot Password? (Forgot your password?) And follow the on-screen instructions.

    Forgot
    Forgot
  10. After logging in, click the My Products drop-down menu.
  11. Under Trials / Freemium, select StormRunner Load and click Launch.

    Trials launch

    A new tab with a start screen will open in your Firefox browser.

    Get started
    Get started
  12. Click Got it, thanks

    A new tab will open in your Firefox browser.

    Go to exercise 1.


EXERCISE 1. Getting started with StormRunner Load



ROLE: Performance Engineer

In this exercise, we will begin to use the user interface to design a stress test.

Exploring the Get Started Dialog Box



If you want to get started right away, StormRunner Load offers some quick options.

  1. Open the Firefox browser and go to the HP SaaS login page: login.saas.hp.com/msg/actions/showLogin
  2. Log in to your HP SaaS account (also called "tenant") and select the trial account that you configured for HP StormRunner.

    Launch

    Make sure you see the Get Started with StormRunner dialog box.

    Get started

    If you do not see this window, click the Get Started field in the upper right corner of the Firefox browser.

    Get Started Button
    Get Started Button


There are 6 quick start options from this dialog box:

  • Use LoadRunner Web scripts. You can use existing Vugen Web scripts from HP LoadRunner.
  • Create a script with TruClient. Create Web 2.0 Automation Scripts from HP TruClient.
  • Code your own script with TruAPI (Program your own script with TruAPI). Create node.js API scripts using TruAPI.
  • Use JMeter scripts (Use JMeter scripts). Import and run Apache JMeter scripts.
  • Run tests from your CI / CD. Use the CLI utilities in StormRunner to run load tests using common CI tools such as Jenkins or TeamCity.
  • Do you already have load test scripts? (Do you already have load testing scripts?). What to expect? Start testing!


Close the Getting Started with StormRunner dialog box.

Exploring the Home Page (Home)



On the HP StormRunner Load start page, you can get a quick visual overview of your actions and previous test runs. In this section we will consider these possibilities.

  1. Click the Home tab on the top menu of the HP StormRunner in your browser.


The StormRunner homepage has several sections to help you navigate your workflows.

You don’t need to click any elements here - we just look at the available options.



  • Quick Start

    • Create a Test - develop a test and run it.
    • Create a test using a HAR file - develop a test using HTTP Archive format technology.
    • Create a REST test - develop a test using Representational State Transfer technology
  • Recently Worked On

    • A list of quick links to tests you've been working on lately.
  • Latest Runs

    • A chronological list of recent launches organized by hour, day or week.
  • Community Posts

    • Connect with other StormRunner Load users on the HP StormRunner Load Community on LinkedIn.
  • Watch Tutorials

    • View StormRunner instructional videos.


In the next exercise, we will learn how to write TruClient scripts, create and run tests.

Also popular now: