Loadrunner V12.53 学习笔记(二)

In this section,I will introduce the basic functions for each LR items.


HP Software:

Agent Configuration:

Launch Agent Configuration, it allowed user to Enable "Firewall Agent" & "Terminal Services". The "Setting" button will be available once checked the "Enable Firewall Agent". From the Setting page, user is allowed to edit the Firewall settings.


Agent Processser

Agent Processer which need to install on the Agent PC machine. It will  generate Vuser and controlled by the Loadrunner Controller. It's used for receive scripts and execution instruction.


Agent Runtime Setting Configuration

Launch "Agent Runtime Setting Configuration",it will open the LR Agent Runtime settings page where allow user to setting the logon method. by default, user need to manaully logon to a machine before it can run Vuers. User is allowed to setting using automatic login from here.

"Allow Virtual users to run on this machie without user login": Allows an automatic login to the network from the agent machine, so that Vusers can run without any manual intervention.

  Domain.The network domain upon which the user machine resides.

  User.The user name required to run the Vusers.

  Password.The password for the specified user.

"Manual log in to this machine": Instructs LoadRunner to prompt you for a manual  login for each Vuser run.

Agent Service

When the PC works as an Agent, it should start the Agent Service.

##The difference between Agent Service and Agent Processer.

1. GUI Vusers 、ASPGUI脚本回放时必须使用Process,其他情况可以使用Service

2. Service is launched by the Local System user. and Processer is launched by the user who remote access the machine.

3.如果测试脚本中有访问映射网络驱动器的代码,此时应该选择Process而不是Service

改变Service到Process方法:

1 .uninstall the service

\launch_service\bin\magentservice.exe-remove

2 .run magentproc.exe from \launch_service\bin

Analysis

After Controller run the load test scenario, the analysis graphs will be generated per user's requirement, user can compare multiple graphs by combining results from several load test scenarios or merging serveral graphs into one. and then analysis out the system performance.

Analysis API Reference

This api set allow the following purposes:

  Unattended creation of an Analysis session that can then be opened in the HP LoadRunner Analysis

  Custom extraction of data from the results of a test run under the HP LoadRunner Controller

Configure Virtual Table Server Link

When you launch VirtualTable Server, you will get below window where you need to specify theServer NameandPort.

Once you have entered the valid server name and port, navigate to Start > AllPrograms > HP Software > HP LoadRunner > Tools, and then click ontheVirtual Table Serverlink.

Controller

Allows you to easily an deffectively control all the Vusers from a single point of control and monitor the scenario performance during test execution.

Diagnostics for J2EE and .Net Setup

This utility helps to setup the diagnostics for J2EE and .NET setup.


To setup diagnostics, you must start application server and make sure that you are not running any load test.To configure the settings, go to "Controller" >" Diagnostics", select "Enable the following diagnostics", and then specify the percentage of Vusers that you want to collect the diagnostics data. See the figure below.


Function Reference

It's the entry to access "VuGen Function Reference 12.53" file.

HostID Generator

It used to generate new hostID.



HP Web Tours Application

It will launch the localhost web Tours application.

IP Wizard

IP Wizard helps you to manage your system’s IP addresses. Once you launch it, you will get below window. Select "Create New Settings", and then click onNext.

Enter IPv4/v6 details, IP Wizard will automatically check if the server’s routing table will need updating. If yes, scripts will be generated. Then, click on the "Next" button


In the last step, IP Wizard will display the IP address and its subnet mask details as shown below. Click on "Finish".

Load Generator Calculator

This utility will help you to calculate how many virtual users that can run on a Load Generator machine for the specified script.

1. VnGen Script: Click on the highlighted button to specify the script path.

2. IP address or host names: user can enter multiply IP addresses by pressing on Enter Key.

3. User need to specify the CPU or/and Memory limites(in bytes) by double clicking on the checkbox.

Once the extimate is done, it will display the results in results multi-text box. and it will display the error message as expected. and if user have right, it will give you the calculated output.

LoadRuner Certificate Manager

1. Launch "Loadrunner Certificate Manager"- It will show the CA information which have been installed on current machine.

2. if no CA install, Use "Loadrunner Certificate Manager" to install a Certificate Authority(CA), Steps:

Run the Certificate Manager from\bin\LRcertificateMngr.exe.

If you have not previously created certificates  with this application, it displays the defaultLoadRunnercertificates.

In the Certificate Manager, clickChange.

ClickNewand enter the required values in the Create New CA Certificate screen. When finished, clickCreate.

To install this CA certificate on otherLoadRunnercomputers, clickExportto save the generated certificate. Then install it on otherLoadRunnercomputers using thegen_ca_certcommand with a-installoption as described at the end of the procedure below.

ClickNextand continue following the on-screen instructions  to create a corresponding SSL certificate and install both certificates on the currentLoadRunnermachine.

LoadRuner Detect

Detect environment issues with LRDetect tool. The LRDetect is a simple tool developed for support purposes. It collects operating system, hardware, software and other LoadRunner related information that helps the support team to quicker troubleshoot issues.


LoadRunner License Utility

To run Vusers from the LoadRunner Controller, you need the appropriate LoadRunner licenses. These licenses must be installed on the computer on which the LoadRunner Controller is installed. You use the LoadRunner License Utility to manage your LoadRunner licenses. The LoadRunner License Utility enables you to:

View the details of licenses that are currently installed.

Install additional licenses

details: http://claudihome.com/html/LR/WebHelp/Content/Controller/ui_License_Utility.htm


LoadRunner User Guide

Launch the "LoadRunner User Guide" file.

MI Listener Configuration

Configurate the "Check Client Certificates" value, by default is: false.

Setting "Private Key password"

Monitor Configuration

This dialog box enables you to select the type of monitors to run and the server whose resources you want to monitor, add the measurements to monitor for each server, and specify the frequency with which you want the monitored measurements to be reported.


Password Encoder

You can encode passwords in order to use the resulting strings as arguments in your script or parameter values. For example, your Web site may include a form in which the user must supply a password. You may want to test how your site responds to different passwords, but you also want to protect the integrity of the passwords. ThePassword Encoderenables you to encode your passwords and place secure values into the table.

To encode a password, on a LoadRunner machine, selectStart > All Programs > HP Software > HP LoadRunner > Tools > Password Encoder.


Performance Monitoring Best Pratices

The entry to access the "Performance Monitoring Best Pratices" file.

Readme

The entry to access the  "Performance Monitoring Best Pratices" file.

SSL Utility

The entry to access the "SSL Utility" which will allow user to "convert Certificate", "Test Connection" and "Remove Certificate Encryption".




Start HP Web Tours Server

The entry to start HP web Tour Server.


TruClient Help Center

The Entry to access the TruClient help file.

Tutorial - Online Version

The Entry to access the Online help file Version . 

Tutorial - Print Version

The Entry to access the Online help file Print Version .

Virtual Table Server

The Virtual Table Server (VTS) service maintains a database accessible by several clients (load generator) on the same network.

With VTS, several load generators can obtain values from a single common pool of values. One Vuser can create key values (such as a new customer ID), and any number of other Vusers can immediately use that value.

There are several versions of VTS. The VTS3 comes with LoadRunner 11.52 was completely rewritten to exchange data using REST JSON from a Node.JS server encapsulated in a 64-bit executable.

VTS2 was a 32-bit Windows program and uses an in-memory database.

Sure, a Vuser can make requests to obtain values, but that may impose a different load profile that may not be realistic.

Without VTS, a single Vuser can only act on values it creates. As of LR8.0 and 9.10, LoadRunner is limited to having each load generator refer to its own parameter files, which means the same static values are used by multiple load generators. VTS provides a way for load generators to communicate with each other in real time.

If the script "marks" each value as being used, VTS provides a mechanism for allocating unique values among load generators.

If the script is written to act according to data obtained from VTS, the behavior of load generators can be controlled in real time.

An alternative to VTS is making calls to aMySQL C API dllandthis VuGen code. But beware that call dll's is not thread safe, which requires running as a process rather than thread and thus drastically reducing the number of Vusers which can be run from each load generator machine.

Virtual User Generator

It's the entry to launch the VuGen.

In a performance testing environment,LoadRunner replaces human users with virtual users, also known as Vusers. Vusers generate a load on a system by emulating actions of typical users-in a repeatable and predictable manner. You use VuGen(LoadRunner'sVirtualUserGenerator) to create Vuser scripts.VuGen works on a record-and-playback principle. As you walk through a business process on your application, VuGen records your actions and transforms these actions into steps in a Vuserscript. These Vuser scripts form the foundation of your load tests.

HPE NV for Performance Testing:

HPENetwork Virtualization for Performance Testing(NV) helps to improve the accuracy of your LoadRunner scenarios and Performance Center tests.

HPE Network Virtualization is a  network emulation software solution that enables your organization to test application performance under a variety of current and potential network conditions.  This is an ideal solution for your development, testing, and networking teams, as well as any users who need to quickly and accurately understand whether their code or application is ready for the network and remote end users.

Help Center: The entry to access the help file.

NV Agent: The entry to launch the NV agent.(it will running in the background once launched it) 

NV License Manager: The entry to view the License info.

NV Network Editor: The entry to create/edit the NV network.

Next: Will study the functions for each of the items

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 199,711评论 5 468
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 83,932评论 2 376
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 146,770评论 0 330
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 53,799评论 1 271
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 62,697评论 5 359
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,069评论 1 276
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,535评论 3 390
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,200评论 0 254
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,353评论 1 294
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,290评论 2 317
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,331评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,020评论 3 315
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,610评论 3 303
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,694评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 30,927评论 1 255
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 42,330评论 2 346
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 41,904评论 2 341

推荐阅读更多精彩内容