Thursday, 21 March 2013

Creating the Load Test | LoadRunner Tutorial pdf


Creating the Load Test

The Controller is the central console from which you build, manage, and monitor your test. You will use the Controller to run a sample script that emulates the actions performed by a real user, and create load on the system by having a number of virtual users concurrently perform these actions.
1. Open the HP LoadRunner window.
Choose Start > Programs > LoadRunner > LoadRunner. The HP LoadRunner Launcher window opens.

2. Open the Controller.
In the Load Testing tab, click Run Load Tests. By default, the LoadRunner Controller opens with the New Scenario dialog box.

Click Cancel.
3. Open the sample test.
Choose File > Open in the Controller menu, and open demo_scenario.lrs in the <LoadRunner Installation>\Tutorial directory.

The Design tab of the LoadRunner Controller opens, and the demo_script test appears in the Scenario Groups pane. You can see that 10 Vusers have been assigned to run the test.

Note: If you didn’t install the tutorial to the default LoadRunner installation directory, the script path will be incorrect (indicated by the script path being displayed in red). To enter the correct path, select the script and click the down arrow. Click the Browse button and navigate to demo_script in the <LoadRunner Installation>\Tutorial directory, and then click OK.
You are now ready to run the test.

No comments: