In recent work, some colleagues often askLoadRunnerHow did we simulate hundreds of users??
Now let's make a simple description. LoadRunner The concept is "virtual user ". Virtual user ", The virtual user will simulate the real user to operate your application.Program. There are many simulated modes, such as recording the mouse clicks and keyboard hitting time (GUI-based) ; Record how the client sends data streams to the server (Stream-based) And so on.
To perform stress tests on applications,LoadRunnerIt is implemented in two steps.
- Recording operations of real users
During recording,VugenMonitors client databases, tracks requests sent from users to servers, and responses sent from servers. For example:
- replay simulated user operation processes
During playback, the virtual user script calls the server by executing API Directly interact with the server. When a virtual user interacts directly with the server, the client user interface does not need to occupy system resources (that is, no user interface calls system resources ). We all know that the user interface consumes the most system resources.LoadRunnerWithout simulating real operations through the user interface, he can use a few testing machines to simulate a lot of virtual users to access server applications at the same time, thus adding a certain amount of load to the server. For example
Last note: Vugen When recording a script, it is not based on the number of client software installed, but on the communication protocol, for example: HTTP/html, TCP /IP, Web Service And so on. In addition, Mercury And SAP , PeopleSoft , Citrix Cooperation with other companies ( Alliance ) Relationship, so they have better support for their software, that is, performance testing support.
VugenYesLoadRunnerFor more information, seeLoadRunnerArchitecture Overview