Loadrunner V12.53 學(xué)習(xí)筆記(二)

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腳本回放時(shí)必須使用Process,其他情況可以使用Service

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

3.如果測試腳本中有訪問映射網(wǎng)絡(luò)驅(qū)動(dòng)器的代碼,此時(shí)應(yīng)該選擇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

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末儿礼,一起剝皮案震驚了整個(gè)濱河市敷搪,隨后出現(xiàn)的幾起案子屡拨,更是在濱河造成了極大的恐慌湃崩,老刑警劉巖惶我,帶你破解...
    沈念sama閱讀 206,602評論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件承耿,死亡現(xiàn)場離奇詭異冠骄,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)加袋,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,442評論 2 382
  • 文/潘曉璐 我一進(jìn)店門凛辣,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人职烧,你說我怎么就攤上這事蟀给◎觯” “怎么了?”我有些...
    開封第一講書人閱讀 152,878評論 0 344
  • 文/不壞的土叔 我叫張陵跋理,是天一觀的道長择克。 經(jīng)常有香客問我,道長前普,這世上最難降的妖魔是什么肚邢? 我笑而不...
    開封第一講書人閱讀 55,306評論 1 279
  • 正文 為了忘掉前任,我火速辦了婚禮拭卿,結(jié)果婚禮上骡湖,老公的妹妹穿的比我還像新娘。我一直安慰自己峻厚,他們只是感情好响蕴,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,330評論 5 373
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著惠桃,像睡著了一般浦夷。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上辜王,一...
    開封第一講書人閱讀 49,071評論 1 285
  • 那天劈狐,我揣著相機(jī)與錄音,去河邊找鬼呐馆。 笑死肥缔,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的汹来。 我是一名探鬼主播续膳,決...
    沈念sama閱讀 38,382評論 3 400
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼收班!你這毒婦竟也來了姑宽?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 37,006評論 0 259
  • 序言:老撾萬榮一對情侶失蹤闺阱,失蹤者是張志新(化名)和其女友劉穎炮车,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體酣溃,經(jīng)...
    沈念sama閱讀 43,512評論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡瘦穆,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 35,965評論 2 325
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了赊豌。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片扛或。...
    茶點(diǎn)故事閱讀 38,094評論 1 333
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖碘饼,靈堂內(nèi)的尸體忽然破棺而出熙兔,到底是詐尸還是另有隱情悲伶,我是刑警寧澤,帶...
    沈念sama閱讀 33,732評論 4 323
  • 正文 年R本政府宣布住涉,位于F島的核電站麸锉,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏舆声。R本人自食惡果不足惜花沉,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,283評論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望媳握。 院中可真熱鬧碱屁,春花似錦、人聲如沸蛾找。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,286評論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽打毛。三九已至柿赊,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間隘冲,已是汗流浹背闹瞧。 一陣腳步聲響...
    開封第一講書人閱讀 31,512評論 1 262
  • 我被黑心中介騙來泰國打工绑雄, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留展辞,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 45,536評論 2 354
  • 正文 我出身青樓万牺,卻偏偏與公主長得像罗珍,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個(gè)殘疾皇子脚粟,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,828評論 2 345

推薦閱讀更多精彩內(nèi)容