HP StormRunner Load. A practical guide. Part I
- Tutorial
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:
- Project administrator
- Performance engineer
- Performance analyst
Actions
We will complete the following development steps:
- Set up an HP SaaS account
- Getting Started with StormRunner Load
- Creating a TruClient Script
- Create and run a test
- Results Analysis
- Additional functions
- 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
- Open the Firefox browser and go to the StormRunner trial page:
https://saas.hp.com/try/stormrunner-load - Fill out the form fields and click the Sign Up button below.
Check Email - Check your email inbox and click the Confirm Email link.
Confirm Email - Log in to HP SaaS using your new login information.
Congrats - Under Trials / Freemium, select StormRunner Load and click Launch.
A new tab with a start screen will open in your Firefox browser.
Get started - Click Got it, thanks
- 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 - Open the Firefox browser and go to the HP SaaS login page:
https://login.saas.hp.com/msg/actions/showLogin - Enter your email address and password and click Sign In.
If you do not know your password, click Forgot Password? (Forgot your password?) And follow the on-screen instructions.
Forgot - After logging in, click the My Products drop-down menu.
- Under Trials / Freemium, select StormRunner Load and click Launch.
A new tab with a start screen will open in your Firefox browser.
Get started - 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.
- Open the Firefox browser and go to the HP SaaS login page: login.saas.hp.com/msg/actions/showLogin
- Log in to your HP SaaS account (also called "tenant") and select the trial account that you configured for HP StormRunner.
Make sure you see the Get Started with StormRunner dialog box.
If you do not see this window, click the Get Started field in the upper right corner of the Firefox browser.
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.
- 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.