-
loadrunner在线技术指导
2011-11-15 12:26:47
-
Loadrunner 遍历一个页面中的URL并访问之
2011-11-14 18:11:56
-
mysql 锁表与解锁
2011-08-23 14:50:53
-
memcacheget set 并发情况下进行压力测试
2011-07-01 18:03:28
-
利用Tokyo Tyrant构建兼容Memcached协议、支持故障转(转发)
2011-06-21 14:11:14
-
apache ab性能测试
2011-06-19 12:42:56
-
性能测试优化总结
2011-06-14 11:34:59
-
memcache 性能优化测试
2011-06-14 11:29:06
-
Browser emulation
2011-05-06 13:05:23
-
action and step 区别
2011-05-06 09:43:06
-
loadrunner错误Error: Function two_way_comm_create_connector failed.
2011-02-23 11:13:05
-
loadrunner不支持java多线程
2011-02-21 18:06:47
-
loadrunner v11 新特性
2010-11-03 17:41:54
-
loadrunner 指标计算
2010-10-26 17:30:47
-
回归性能测试
2010-09-15 15:51:41
-
HP LoadRunner 9.50 新特性
2010-09-14 10:40:05
WebWorks_WriteDIVClose(); WebWorks_WriteAnchorOpen("exwp172006", false); New Protocols in VuGen 9.1WebWorks_WriteAnchorClose("exwp172006", false); WebWorks_WriteDIVOpen("exwp172006", false); LoadRunner 9.10 supports the Flex 2.0 framework with the Flex protocol. Using this technology, LoadRunner records and replays underlying protocols, including AMF3. This allows you to test full Flex applications, or applications that use Flash components.
WebWorks_WriteDIVClose(); WebWorks_WriteAnchorOpen("exwp172008", false); WebWorks_WriteAnchorClose("exwp172008", false);WebWorks_WriteDIVOpen("exwp172008", false); HP Performance Validation SDK (Software Development Kit) provides you with the tools to create a custom protocol. The protocol enables LoadRunner to record and run load tests on a previously unsupported application. As part of the QME (Quality Management Extensibility program), the SDK allows you to expand LoadRunner and create a record and replay protocol to fit your unique performance testing requirements.
WebWorks_WriteDIVClose(); WebWorks_WriteAnchorOpen("exwp172010", false); WebWorks_WriteAnchorClose("exwp172010", false);WebWorks_WriteDIVOpen("exwp172010", false);
Installation and Configuration Information
Prerequisite Software
Specific software needs to be installed before you can install LoadRunner. When you run the LoadRunner installation wizard, if the prerequisite software is not already installed on your computer, the wizard detects which software is missing and provides the option to install it.
The following prerequisite software needs to be installed:
- .NET Framework 3.5
- Microsoft Data Access Components (MDAC) 2.8 SP1 (or later)
- Microsoft Windows Installer 3.1
- Microsoft Core XML Services (MSXML) 6.0
- Microsoft Visual C++ 2005 Redistributable Package (x86)
- Microsoft Visual C++ 2008 Redistributable Package (x86)
- Web Services Enhancements (WSE) 2.0 SP3 for Microsoft .NET Redistributable Runtime MSI
- Web Services Enhancements (WSE) 3.0 for Microsoft .NET Redistributable Runtime MSI
System Requirements
VuGen, Controller, and Analysis
The following table describes the system requirements for installing VuGen, the Controller, or Analysis:
Load Generator for Windows System Requirements
The following table describes the system requirements for installing the Load Generator on a Windows machine.
Load Generator for UNIX System Requirements
The following table describes the memory requirements for installing the Load Generator on a UNIX machine.
Memory (RAM) |
256 MB minimum
Note: Memory depends on protocol type and system under test and can vary greatly. |
Available Hard Disk Space |
150 MB minimum |
The following table describes the supported operating systems on which you can install a UNIX load generator.
OS Type |
OS Version |
Platform. |
---|---|---|
Sun Solaris |
Sun UltraSPARC-based systems | |
HP-UX |
HP PA-RISC | |
IBM AIX |
PowerPC | |
Red Hat Linux |
Product Compatibility
LoadRunner 9.50 is compatible with the following HP product versions:
Pre-Installation Notes and Limitations
Windows
- To run the LoadRunner installation, you must have full local administrative rights on the designated machine.
- If LoadRunner 8.1 FP4 or earlier is installed on your machine, uninstall the current version before you begin the new installation.
- You cannot use the UNC (Universal Naming Convention) path to run the installation. Therefore, if the LoadRunner installation directory is located on a network drive, the network drive needs to be mapped before you can run the installation.
- LoadRunner does not support installation via terminal service. Installation must be performed at the destination machine.
- You cannot install LoadRunner on a machine that contains an existing installation of HP Performance Center or a standalone installation of either Analysis, Virtual User Generator, or Service Test.
- On Vista machines, if you want to add a new license from the LoadRunner Launcher (Configuration > LoadRunner License > New License), you need to have Administrator privileges on the Vista machine.
- If you are running McAfee or Aladdin's eSafe anti-virus applications, close them before installing LoadRunner.
- To use Windows 2003 with a HASP plug, download Aladdin's latest HASP driver.
- LoadRunner no longer supports Windows 2000.
UNIX
- The LoadRunner UNIX installation is based on native packages per operating system. This requires you to be logged in as root user to run the installation.
- If you are installing a UNIX load generator on an HP-UX operating system, you cannot install it from a network location. You can install it directly from the installation disk or you can copy the installer onto the local directory of the target machine.
Virtual Environment Installation
- LoadRunner supports Vmware version ESX 3.0, ESX 3.5, and VM Workstation 5.5 and is certified for the following Windows platforms: Windows XP SP2/SP3, Windows Server 2003 SP2, and Windows Vista SP1.
- Running Vusers on virtual machines may adversely affect performance due to the sharing of physical resources.
Diagnostics for J2EE/.NET Requirements:
ContentCheck in Multilingual Environments
- This version supports ContentCheck rules in French, German, Spanish, and Italian. The correct language file should be installed according to the system locale.
The suitable language file can also be copied from the installation disk:
..\lrunner\lrunner\WebInfra.nt\setup\international\<lang>\dat\LrwiAedInstallation.xml
to the <LoadRunner>\dat directory.
Windows Firewall Considerations
In most Windows environments, Windows Firewall is turned on by default. The firewall does not allow certain LoadRunner components to communicate with each other. The Windows firewall therefore needs to be turned off.
Note: Turning off Windows Firewall increases the risk to your computer's security.
For each process that needs the firewall you can unblock the process by clicking the unblock button in the popup window that indicates that the program needs it, or by manually tuning the Windows firewall from the Exceptions tab.
Oracle NCA Forms Support
WAN Emulation
- Make sure that the relevant 3rd party components are installed on the load generator machines. Note that in addition to the load generators, you may be required to install the relevant 3rd party component on additional LoadRunner components. For more information, see the relevant 3rd party software installation documentation.
- The relevant 3rd party component licenses must be purchased from the 3rd party vendor and not from HP.
HP Performance Validation SDK
Limitations
VuGen
General
- For the following protocols, replay is supported but recording is no longer supported: Siebel DB2, Siebel MSSQL, Siebel Oracle, and Voice XML.
- In Test Result reports, you can only use the Export to HTML file utility for scripts replayed in version 9.50 and later. To generate an HTML report for scripts created with earlier versions, run the script. again in the 9.50 version (or later) of the product.
- To compare snapshots, you cannot use a custom comparison tool.
Data Execution Prevention
Data Execution Prevention (DEP) may cause VuGen to stop recording. DEP was introduced in Windows XP SP2 and Windows Server 2003 SP1, and is included in Windows Vista.
If you experience unusual behavior. during recording in these environments, modify the DEP settings.
To modify the Windows DEP settings:
- Open Start > Control Panel > System.
- In the Advanced tab, click Performance settings.
- In the Performance Options Data Execution Prevention tab, select the first option, DEP for essential services only.
- Click OK to save the settings.
- Reboot the machine.
If you cannot change this option, click Add. Browse to the client program, for example IEXPLORE.EXE.
If neither of these options are possible, try to disable DEP completely.
Controller
Secure Channels
- You cannot use the Host Security Manager utility to update security settings on UNIX load generators that use rsh (remote shell) to connect to the Controller.
- You cannot use the Host Security Manager utility to change the security mode of the load generator located over a firewall from off to on.
- When the load generator is located over a firewall, if the load generator and Controller have different security modes, communication cannot be established.
- If the Controller machine is using secure channel communication, the MI Listener should not be installed on the same machine as the Controller.
GUI Vusers
- LoadRunner supports GUI Vuser scripts created using HP QuickTest. GUI Vuser scripts created in WinRunner are no longer supported.
- Windows Load Generator machines can only run one GUI Vuser at a time. To run multiple GUI Vusers in a load test, you need to open a terminal server session for each GUI Vuser. For more information, see the HP LoadRunner Controller User Guide.
SiteScope
- If you are configuring the SiteScope System Resources Graph (System Resources Graphs > SiteScope), you cannot specify a specific SiteScope user account. LoadRunner uses the default SiteScope Administrator user.
- For Sitescope 9.51 Users: If you want to configure SiteScope monitoring with a SiteScope account other than the default SiteScope Administrator account, you need to explicitly assign a group with monitors to that account in SiteScope.
Analysis
- If you are using Microsoft SQL Server 2005 to store Analysis data and you apply a global filter on the Analysis graphs, you may receive errors due to a Microsoft limitation. If you receive an error, try and apply the global filter again.
- If you merge graphs in Analysis, you cannot use the Filter current graph by selected measurements button in the Legend window, to filter the graph.
WAN Emulation
- There is no backward compatibility between the current LoadRunner/WAN Emulation integration and any previous integrations.
- The integrated 3rd party software may not comply with accepted Internationalization (I18N) conventions.
- Selecting either Use bandwidth, or Use custom bandwidth in the Network: Speed Simulation node in the Run Time Settings, may interfere with the WAN Emulation settings and could lead to unexpected behavior.
- WAN Emulation is disabled if the host used as the Load Generator is also used as the Controller.
- WAN Emulation is not supported if the load generator is running on a UNIX platform.
Windows Vista Limitations
- To run LoadRunner on Windows Vista, User Account Control (UAC) must be enabled for users with User privileges. For users with Administrator privileges, UAC can be enabled or disabled.
- Running the Windows Aero user interface on Vista machines, may slow down VuGen UI performance.
- On Vista machines, icons may not appear correctly in some dialog boxes.
- On Vista machines, replay for LDAP scripts recorded over SSL is not supported.
- If you want to connect to HP Quality Center from a LoadRunner machine running Vista and the Quality Center client is not installed on your machine, you need to have Administrator privileges on the Vista machine.
- Replaying a VB Vuser on a load generator machine with Windows Vista requires administrator privileges.
- When running a LoadRunner Agent on a Load Generator machine running Vista, it is recommended that you restart your machine after installing LoadRunner, before running Vusers.
- When running the LoadRunner Agent service on a Vista machine, the Agent Configuration will not restart the agent service if it is already running. To manually restart the Agent service, Choose Start > Administrative Tools > Services. Select the LoadRunner Agent service and choose Stop from the right-click menu. Restart it by selecting the LoadRunner Agent service and choosing Start from the right-click menu.
- On Vista machines, when recording with MS Exchange (MAPI) protocol, the read_next_mail and mapi_read_next_mail_ex functions work only once per script, resulting in reading only the first message in the mail box.
- On Vista machines, FTP sessions cannot be recorded on Internet Explorer.
Multilingual Support
- Language support. LoadRunner only supports English and the native language of the machine's operating system. For example, if you are using Japanese Windows XP, you can work with LoadRunner in Japanese and in English.
- Installation path. The path in which installation files for LoadRunner are located, and the path in which LoadRunner is installed, can contain only English characters.
- Japanese characters in Web (HTTP/HTML) scripts. If you set the advanced recording option to specify the encoding of an application, and the application uses different character encoding for different pages, then the recording log or script. may display invalid Japanese characters. This does not cause any errors in the script. replay.
- Non-breaking spaces in Web protocols for Far Eastern languages. A non-breaking space (     `\xA0', etc.) cannot be represented in some Far Eastern locale character sets (in which it is considered a lead byte). Instead, non-breaking spaces are converted to regular spaces (` `, `\x20', etc.), both during script. code generation and replay. This may cause replay problems, such as mismatches in length due to eliminating multiple regular spaces. To work around this issue, either:
Protocols
Microsoft .NET
Citrix
Web (HTTP/HTML)
Click and Script. (All)
- Does not support VBScript
- Does not support user actions on ActiveX objects and Macromedia Flash
- Scalability is lower than the Web HTML protocol, depending on the size and functionality of the business process
- Replay snapshots may differ from the actual Web page
- Support of right-to-left languages is limited (e.g., bi-directional or reversed text may not be processed as expected)
- Recording of an application in a specific language (e.g., French, Japanese) must be performed in a machine whose default locale (in Settings > Control Panel > Regional Options) is the same language
- The locale of the load-generator machine, including the default non-Unicode character set, must be configured to be the same as that of the recording machine. It cannot be assumed that the UNIX default character set is the same as in Windows, even for US-English machines, and this has to be explicitly verified. For example, the default character set in some UNIX machines, such as Linux, is UTF-8.
Web (Click and Script)
AJAX (Click and Script)
SAP (Click and Script)
- Cannot define transactions to measure time of a subset of steps done in a modal dialog
- During recording, if a user double-clicks on a tree-view tree cell outside of its text, VuGen records "Select" instead of "Activate." This results in a missing POST in replay.
- If the list of retrieved values contains a scroll bar, cannot select an item that requires scrolling in order to get it from the server.
- Scalability is lower than the SAP Web protocol, depending on the size and functionality of the business process.
- Does not support the Replace with Alternate Navigation run-time setting.
- In certain SAP environments (such as 6.20 and 6.40), the replay fails for tests that call the web_element function and select an element whose tag name is "TD".
SAPGUI
Microsoft Remote Desktop Protocol (RDP)
Listing Directory Service (LDAP)
- If an LDAP version 3 script. fails during replay, modify the mldpa_logon_ex statement to specify the version number by adding "Version=3" after "URL=.."
- When recording LDAP scripts, the binary parameter values for certain LDAP functions (such as mldap_add or mldap_modify) are not recorded. Recording of binary parameters is part of the protocol's extended functionality and is not supported by VuGen.
Media Player (MMS)
Media Player scripts fail with the error: Error -86801:Host access denied, <hostname> not available or missing.
Workaround: Call the mms_disable_host_check function in all Media Player scripts.
WAP
Web Services
- In VuGen Tree view, you may experience problems viewing/editing the following types of elements: any_object, CDATA, derived and recursive.
- For large SOAP envelopes, Record and Replay snapshots are disabled.
- The Import SOAP feature is not supported for envelopes containing a single element larger than 500KB.
- The recording of requests with attachments or security is not supported.
- For Axis toolkit, Web service calls that include both attachments and security are not supported.
- For .NET toolkit, SOAP version 1.2 is not supported for asynchronous calls.
- You can enter text strings up to 10 KB to encode to base 64. If your string is larger, use the Get from file option.
- For Axis toolkit, to use base64Binary encoding in scripts created before version 9.10, you must update your WSDL.
- VuGen supports Web Service messages over JMS message Queue, but does not support JMS Topics.
- JMS Bindings Extensions are not supported.
- All services in your script. should have the same security scenario. This can be configured via the Protocols and Security tab.
- Asynchronous Web Service calls and custom user handlers are not supported for WCF.
Note: For more detailed Web Services limitations, refer to the HP Service Test readme.
Documentation
The first page of this readme document contains the following identifying information:
To check for recent updates or to verify that you are using the most recent edition, visit the following URL:
http://h20230.www2.hp.com/selfsolve/manuals
This site requires that you register for an HP Passport and sign-in. To register for an HP Passport ID, go to:
http://h20229.www2.hp.com/passport-registration.html
Or click the New users - please register link on the HP Passport login page.
You will also receive updated or new editions if you subscribe to the appropriate product support service. Contact your HP sales representative for details.
Note: To view files in PDF format (*.pdf), Adobe Acrobat Reader must be installed on your system. To download Adobe Acrobat Reader, go to the following URL: www.adobe.com.
Support
You can visit the HP Software Support Web site at:
http://www.hp.com/go/hpsoftwaresupport
This web site provides contact information and details about the products, services, and support that HP Software offers.
HP Software online software support provides customer self-solve capabilities. It provides a fast and efficient way to access interactive
性能测试的感受
2010-07-30 11:10:11
loadrunner 用户百分比和业务百分比关系
2010-04-08 18:04:07
jmeter测试oracle
2010-03-18 18:56:05
loadrunner中JAVA环境变量设置
2009-12-25 13:26:04