loadrunner pressure measurement process technology

For a number of complex online trading business workflow management system of the company, internal testing for performance testing team management has implemented a lightweight operating modes allow novice learn from, in order to implement a similar system pressure measurement process quickly use, reduce error rates and unnecessary communication management costs, as we wrote in the process is the pressure measured in the implementation of a basic set of LR work processes so that novices can quickly be familiar with, as follows:

First, the record maintenance scripts

  1. Before recording the scripts manually familiar features.
  2. Recording a script, function is relatively simple, the action is placed; if more complex functions, a plurality of action is required, such as process, each step of action. Where every action you need to set a transaction.

    1. To make sure you keep a copy of the original script after script recording process optimization script script.
    2. After recording the script script maintenance, mainly divided into the following:
      A: the associated dynamic data;
      B: name defines things;
      C: Set Time Reflection;
      D: parameter setting, can be divided into three cases:
      1): Per sequential cycles value
      loadrunner pressure measurement process technology[!
      2): each cycle taking random number
      loadrunner pressure measurement process technology
      3): take only one value of
      loadrunner pressure measurement process technology
      two, the availability check script
      playback, see the script is feasible, by checking the log or the like checkpoint.
      Third, the pressure sensing scene setting
      1). First select the script into the design of the page, in the scene plan, plan ways to select "Group", select the operating mode "Basic Plan", as shown:
      loadrunner pressure measurement process technology

    2) The group plan, double initialized Properties "VUSER before each run to initialize", set to run a Vuser 1S per 10 or more look at the system requirements, as shown in FIG:
    loadrunner pressure measurement process technology
    3) Double-click the Vuser run attribute " a Vuser all started simultaneously ", one set for each Vuser 1S1 or more than 10, as shown in FIG:
    loadrunner pressure measurement process technology
    4) properties Double duration" has been running "before completion, set to 30 minutes, as shown:
    loadrunner pressure measurement process technology

5) If there is a plurality of scene setting button click runtime >> --- ,, preference options HTTP request connection timeout (in seconds) is set 800S, HTTP request receiving timeout (seconds) set 800S, step downloads timeout (seconds) set 800S.
loadrunner pressure measurement process technology

6) The number of concurrent need to set the scene group. Figure:

loadrunner pressure measurement process technology

7) the above settings finished, run into the interface, as shown:
loadrunner pressure measurement process technology
Click Start scene, stress testing begins.

8) after the end of the stress test, the response time taken analysis results. Check the response time meets the requirements, and screenshots. Figure:
loadrunner pressure measurement process technology

Guess you like

Origin blog.51cto.com/372550/2444645