background image
<< About Recording Database Vuser Scripts | Understanding Database Vuser Technology >>
<< About Recording Database Vuser Scripts | Understanding Database Vuser Technology >>

Introducing Database Vusers

Creating Vuser Scripts
Chapter 9, page 138
Database Vuser Scripts · Developing Database Vuser Scripts
In
Introducing Database Vusers
Suppose that you have a database of customer information that is accessed by
customer service personnel located throughout the country. You use Database
Vusers to emulate this scenario in which the database server services many
requests for information. A Database Vuser could:
·
connect to the server
·
submit an SQL query
·
retrieve and process the information
·
disconnect from the server
You distribute several hundred Database Vusers among the available hosts, each
Vuser accessing the database by using the server API. This enables you to
measure the performance of your server under the load of many users.
The program that contains the calls to the server API is called a Database Vuser
script. It emulates the client application and all of the actions performed by it. Using
the LoadRunner Controller, you assign the script to multiple Vusers. The Vusers
execute the script and emulate user load on the client/server system. LoadRunner
generates performance data which you can analyze in report and graph format.