loadrunner learning 1.0

  Confused by the various working some time ago to press the body at this stage, from acceptance to resist, I started fortunate to have something different did not make the task fell on me, and before this I just want to sit safely complete the project tasks within a completely different mentality. I think when I finish difficult job, but how difficult the process, the outcome must be good! !

  Just recently took over a performance test task, loadrunner user concurrent performance testing, work more than a year, for the first time to complete a full performance testing tasks. At first I received this task, I was panic, worried that they do not, after all, I do not even know God Madongdong affairs. But is it for a while, soon figured out. Without this task, that I fully understand this stuff; but with this task, I had to learn loadrunner, even though the process may be difficult, but in which such a test cycle, whether it is research out of their own , or ask a colleague, working always in the end of this period. After you complete this task, anyway, it can be considered loadrunner completed a preliminary entry bar. Below, White began recording history ha ha. (I am here only to introduce the most basic operations, the specific learning needs some more and then distributed papers Record)

  First, the first is to install loadrunner, loadrunner installation is relatively simple (there may be a problem just did not encounter ~), download archive, unpacked, you can click on the installation file, click Next everything can be installed;

  Second, the record a script, for white, the recorded script can be strenuous, the first encounter is not compatible with the browser loadrunner problem, since the test system is to support the Google kernel, ie not be used, are not compatible, chrome browser, you can tune up, but could not open the page. Finally, the speed mode is 360, with 360 browser, there will be a lot of advertising like script appears after the recording is completed, needs to be irrelevant script code are deleted. When recording a script to insert a transaction, you want to see the response time of the operation, it took him to a transaction, for example: you can login as a transaction.

  Third, script playback, the problem here is that most, first playback, always said login date, and this is how it turned out to be a problem associated with it, the first time that the relevance of this concept, meaning that the client server-initiated request, the server gave a code, the client to request data must take this code; every time the server is to a different code, but the recorded script code is written dead, when it comes to playback with, then die, quit the server. So there is an association, access to the code after the server responds, and store it in a variable, then you get this variable.

  Fourth, the parametric variables, the script will have many of the attributes required parameters, the most basic is the account number and password, this is one to one, parameter settings, there is a function with a property to take the same line, you can to solve this problem, you can use an iterative function runs after setting the parameters of the parameter settings to see if correct.

  Fifth, the design execution scene, design scene, I set up a 50 seconds start 30 virtual users, but thought it was started 30 users inside 50 seconds this cycle, and then I turned out to be a start up to 30 users, and fainted. . . When execution scene to remember to turn off logging, if you change the script, the script must be refreshed.

  Sixth, the analysis results, only to see the current transaction response time, response time will not be too long and the like, the most important thing to learn, follow-up will spend time in this one.

  These are some of my own understanding, if you have a big God saw something wrong, please point out to the common learning and common progress! !

Guess you like

Origin www.cnblogs.com/color-zou/p/11404158.html