lr agreement comes tool

Lr own protocol analysis tool:

Prior to recording a script, the election of the agreement is very important, otherwise the agreement will lead to the wrong Virtual User Generator to record less than a script, the script or recording is not complete, some applications may need to select more than one protocol to request a complete record of client and server side.

LR comes with protocol analysis tools: Protocol Advisor.

1、Virtual User Generator > File > Protocol Advisor > Analyze Application...

 

 2, pop Protocol Advisor, and then recording a script with the same operation on it, the final result will be a return communication protocol applications.

 

 

1) Application type: Select program type. It contains two options, Internet Applications system generally refers to B / S, which is accessed through a browser system; Win32 Applications Usually C / S system, i.e. the local applications, such as QQ.

2) Program to analyze: the selection procedure, if it is a local program (C / S), start the program to find the program. The startup program path QQ: "E: \ Program Files (x86) \ Tencent \ QQ \ QQProtect \ Bin \ QQProtect.exe"; if decency B / S find IE browser installation path. Such as: C: \ Program Files (x86) \ Internet Explorer \ iexplore.exe.

3) Program arguments: If the system is B / S, please enter the URL you want to access (do not add the URL http: //). If C / S was empty.

4) Working directory: the directory tool, which is the path to save the analysis information. Click OK to start playing application, the application to operate, loadrunner will record your actions, with recorded script is the same.

3. Click the stop analyzing stop recording.

 

 4, then returns the result lr: Visible

 

 

 5、

This time can be known protocol used in this case, click on the "Web (HTTP / HTML)", LR will immediately create a new file-based Web (HTTP / HTML) protocol and pop recording window ......

Guess you like

Origin www.cnblogs.com/QiKa/p/12018922.html