Your first Load Test

User rating:
4.1 (64 ratings)
Try the full experience of Pro:

1. Create a LoadUI Project

The first view that you will see when you open LoadUI is the Workspace View. This is where you manage your projects.

workspaceView

Create a new Project by dragging the New Project icon to the project list.

Untitled_Time_0_00_2019

Now, in the Create New Project dialog, enter a name for the new project, and click Create. This will create and open a new project.

Untitled_Time_0_00_2320

2. Create a Web Page Load Test

Expand the Runners category in the component toolbar by clicking the grey arrow next to it.

expandComponentToolbar

Then add a Web Page Runner component by dragging the Web Page Runner icon to the project canvas.

dragNewComponent

Enter the URL of a web page which you wish to target for the test. Note that you will be sending several HTTP requests to this URL, so make sure to enter the URL of a site under your own control, which can handle the load.

Click Run Once to make sure that LoadUI can access the URL. This will send a single request to the target server. When the request is sent, the Requests counter in the black display is increased; when a response is received, the Completed counter increses.

webRunner_runOnce

Add a Fixed Rate VU Generator to generate some load; do this by dragging the Fixed Rate icon to the canvas, just as you did before with the Web Page Runner. VU is short for Virtual User — this component will spawn Virtual Users into your test.

Connect the two components by dragging the bottom connector of the Fixed Rate Generator to the top connector of the Web Page Runner component.

Load Testing with loadUI - Connecting the components

simpleWebTest

3. Run the project

Start running the Project by clicking on the Play button located near the top of the window. The Project is now running, sending 10 requests per second to the web site that you have specified.

Untitled_Time_0_01_1427

Congratulations, you have now created and are running a load test! You will see the Requests counter on the Runner increasing at a rate of 10 requests per second.

webRunner_display

4. Next Steps

Now, you are ready to follow the Statistics Basic Tutorial, which shows how you can visualise statistics for your load tests in great-looking charts. If you feel you need to know the more advanced stuff before you get started with your real load tests, follow on to the statistics in-depth guide.

If you just want some help to know what things mean in LoadUI, check out our reference pages:

 

Finally, you can find out how to generate reports for all your load tests in a couple of clicks with our LoadUI Report page.