• LoadRunner录制问题解决方法大全


    LoadRunnerTnT的一篇文章比较全面地概括了LoadRunner录制问题的解决办法:

    http://www.loadrunnertnt.com/how-tos/quick-and-dirty-recording-techniques-for-web-httphtml/

    [1] Use another machine to record

    Install VuGen on another machine and proceed with recording. What we are doing here, is to differ a problematic machine to a working one (at a machine-level troubleshooting). The existing machine may have problems due to a clone image, restricted privileges or previous installation of programs (unless you are pretty sure that your machine is fully workable with Vugen).

     

    [2] Use web_custom_request

    Use the basic web request methods for communicating to the server. This is needed when Vugen (sometimes) is unable to recognise the HTTP traffic and compose into web_submit_data APIs. Therefore, by instructing VuGen to record using web_custom_request only, this will detect all unknown communications been used in a HTTP mode to be recorded but in a more unreadable or unfriendly web_custom_request script.

    1.1 Create a new Multi-Protocol Web (HTTP/HTML) script; do not create a Single Protocol script.

    1.2 In the recording options, select recording to be URL-based script (not HTML mode) and select “Use web_custom_request only”. Proceed with the recording.

    [3] Configure Port Mapping

    Some applications may use ports that are different from the browser. The default HTTP port is 80 by most application but this may not be used by the application that you are recording against. In such situation, you may need to configure Vugento capture the HTTP traffic by mapping the ports to the service type. The service type other than HTTP are FTP, Socket, etc depending on your application needs. In this way, Vugen will become a proxy and capture traffic on the defined port.

    1.1 In Recording Options ensure that you are already using web_custom_request only as stated in the previously.

    1.2 Go to Port Mappings, remove all registered Entry and add New Entry with the known information (such as port number and target server). Note that there should not be any duplicate port numbers.

    1.3 If 1.2 didn’t resolve the problem, try using “WinInet Level data” for the Capture Level and record the application.

    1.4 If 1.3 didn’t resolve the problem, try using “Socket level and WinInet level data” for the Capture Level and record the application.

    1.5 If the above didn’t resolve the problem, edit the port mapping entry; change the “Record Type” to “Direct” and to “Proxy” if you using SSL. If you know the ciphers used and type, you can configure it here.

    1.6 For SSL, either client-side or server-side, refer to “Configuring the Port Mappings” of the Vugen User Guide for the detailed information. You will have to provide the certificates in either Base64 or PEM format. PEM format can be converted with a tool called openssl.exe availablie with the installer as well as online search.

    [4] Use Older Recording Engine

    This is to utilize the old recording engine prior version 8.1. The old version records at the proxy level whereas the new engine records on the process level.

    [5] Use LoadRunner as Proxy Server for Recording (For Older Recording Engine)

    If [4], didn’t work out right, you have to specifically configure LoadRunner as a proxy to record all communication via port 7777. Take note that this is in the old recording engine.

    1.1 In Recording Options, under Browser, set the application to launch manually with “Manually launch an application”

    1.2 Under Recording Proxy, select “No Proxy”.

    1.3 On a separate machine (e.g. Machine A), set the Proxy to the LoadRunner machine with port 7777. (NOTE: Proxy server can be configured on the LR machine itself).

    1.4 Start recording on LoadRunner machine.

    1.5 Invoke the application on Machine A.

    1.6 You should be seeing events counted on the LoadRunner machine. It means the target application accesses the LR machine and LR is recording it.

    [6] Determine OS Support Status and application type

    At this point, you have tried almost everything (and have come to theend of the road/solutions). My recommendation is to check out with Mercury/HP support, on the support level of the target application. Also check them out if they had encountered such problems before.

    [7] Use Winsock protocol or network sniffing tools

    Using WinSock protocol, you can determine the actual communication method by the client to the server. With this evidence, you can bring forward a discussion with your client on the unknown communication method. Another good tool to use is the WireShark Network Analyzer (formerly known as Ethereal Network Analyzer) to identify the communication and port being used.

    其他参考:

    http://www.cnblogs.com/preftest/archive/2010/08/02/1790569.html

  • 相关阅读:
    iOS7上在xib中使用UITableViewController设置背景色bug
    Android 转载一篇.9图片详解文章
    Android 中4种屏幕尺寸
    网络传输中的三张表,MAC地址表、ARP缓存表以及路由表
    防火墙简介
    Makefile有三个非常有用的变量。分别是$@,$^,$
    makefile简单helloworld
    Python异常处理try except
    shell 读取配置文件的方法
    ubuntu 添加开机启动服务
  • 原文地址:https://www.cnblogs.com/preftest/p/1878183.html
Copyright © 2020-2023  润新知