Application of LoadRunner in performance test of mobile terminal

Source: Internet
Author: User
Tags hp loadrunner

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7F/61/wKioL1ccwIOjC4t_AAFaychinKI724.png "title=" Image001.png "alt=" Wkiol1ccwiojc4t_aafaychinki724.png "/>

If you've done a performance test before, I'm sure you'll be using the famous Performance test tool- Loadrunner The latest version is loadrunner 12.0 , combined with the current mobile market performance testing needs, Loadrunner loadrunner 12.0 hp  loadrunner  Mobile recorder "for the mobile application of the business of the script recording, and the application of the Vugen implement script editing, apply Controller analysis LoadRunner12.0

first, from the Google play"Download a mobile Script recording tool"HP LoadRunner Mobile Recorder,9-37 shown.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/63/wKiom1ccv-qSpAGwAADM1zhqfSY760.jpg "title=" Image002.jpg "alt=" Wkiom1ccv-qspagwaadm1zhqfsy760.jpg "/>

figure 9-37google "HP loadrunner Mobile Recorder" Download information onPlay

after downloading the installation package, install it to your phone and the phone will appear after installation 650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7F/63/wKiom1ccwE2Qd4w9AAAH1ezKL3E976.jpg "title= "Image004.jpg" alt= "wkiom1ccwe2qd4w9aaah1ezkl3e976.jpg"/> icon, double-click the icon to open the hp  loadrunner  mobile recorder 9-38

this We click the advanced options "Link, go to" advanced settings Span style= "font-family: ' The song body '; letter-spacing:0;" > "activities, such as 9-39 export automatically after recording /storage/sdcard0/android/data/ Com.hp.mobilerecorder/cache ".

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7F/63/wKiom1ccwAfTkYSRAAArIK1_Dfo717.gif "title=" Image006.gif "alt=" wkiom1ccwaftkysraaarik1_dfo717.gif "/> 650" this.width=650; "src=" http://s4.51cto.c Om/wyfs02/m01/7f/63/wkiom1ccwb3a-zo6aabpi5jfpdk091.jpg "title=" image008.jpg "alt=" Wkiom1ccwb3a-zo6aabpi5jfpdk091.jpg "/>

Figure 9-38 "HP loadrunner Mobile Recorder" main activity Interface infographic 9-39 "advancedsettings "Activities

after setting this option, return to the hp  loadrunner  Mobile  recorder "main activity, click" startrecording Stop recording monkeyrunner tool use (section II) "The article. You can press the phone's " home browser, Enter my blog address " http://tester2test.cnblogs.com Monkeyrunner tool use (section II) "of the article link, 9-41 show.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7F/63/wKiom1ccwF7CiPT3AABjLmRpNEg785.jpg "title=" Image010.jpg "alt=" Wkiom1ccwf7cipt3aabjlmrpneg785.jpg "/>

Figure 9-40 the screen after starting the recording

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7F/63/wKiom1ccwHGQ_Yo4AADcFdneTxM992.jpg "title=" Image012.jpg "alt=" Wkiom1ccwhgq_yo4aadcfdnetxm992.jpg "/>

Figure 9-41 "mobile platform automation testing from scratch-monkeyrunner Tool use (section II)" article content

at the very last , click the Stop Recording"button to stop recording, after"HP LoadRunner MobileRecorder"Pop up a distribution recording script package Activity window, you can choose according to their actual situation by mail orQQand so the tool distributes the script package, where we cancel the distribution and return to the "HP loadrunner Mobile Recorder"Main activity interface,9-42and see the script package name that it generates.2015-06-26_14-32-33.lrcap". We can then use the Mobile helper software to "2015-06-26_14-32-33.lrcap"The script package file is downloaded to our computer to theMobile Phone helper, for example,9-43is shown.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/63/wKiom1ccwIiyalAQAAA8NPz9emc183.png "title=" Image013.png "alt=" Wkiom1ccwiiyalaqaaa8npz9emc183.png "/>

Figure 9-42 "HP loadrunner Mobile Recorder" main activity interface Information

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7F/63/wKiom1ccwKKRxBDYAACL3O0eEHU644.png "title=" Image015.png "alt=" Wkiom1ccwkkrxbdyaacl3o0eehu644.png "/>

Figure 9-43 "2015-06-26_14-32-33.lrcap" script package file information

Here we download the "2015-06-26_14-32-33.lrcap" script package file to my "C" Packing directory, and then directly double-click the file, the system will automatically call the LoadRunner Vugen Open it,as shown in 9-44.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7F/61/wKioL1ccwYny6iojAADvZlx01oY445.jpg "title=" Image018.jpg "alt=" Wkiol1ccwyny6iojaadvzlx01oy445.jpg "/>

figure 9-44 "2015-06-26_14-32-33.lrcap" script package file information opened with Vugen

is it not as common as ours? isn't there much difference in Web scripting? You can play back the script as you would any other Web script, click the "Replay" button and the playback results will be displayed automatically when the playback is complete,as shown in 9-45 .

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7F/63/wKiom1ccwNnT9bddAACHZoy05d0024.jpg "title=" Image020.jpg "alt=" Wkiom1ccwnnt9bddaachzoy05d0024.jpg "/>

Figure 9-45 playback results Information

Click the The TestResults"link to view the specific playback content,as shown in 9-46.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/63/wKiom1ccwPDg36v1AAEz0pPCqjE126.jpg "title=" Image022.jpg "alt=" Wkiom1ccwpdg36v1aaez0ppcqje126.jpg "/>

Figure 9-46 Specific playback results Information

Of course, you can also modify the contents of the script according to the actual situation, for example, to join the transaction, parameterization of the script and other operations.

can also be applied Controller chooses to modify the perfect script, carry on the design of the load scene, and add some performance counters to be examined,as shown in 9-47 .

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7F/61/wKioL1ccweHx4fYzAAGRiFPO3l4359.png "title=" Image023.png "alt=" Wkiol1ccwehx4fyzaagrifpo3l4359.png "/>

Figure 9-47 Designing a load scenario in a Controller

when the scene is well-designed, click Start Scenario"button execution scene, after the scene execution,LoadRunner will automatically generate test results, you can use the"Analysis "tool to analyze the results,9-48 is shown.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/63/wKiom1ccwTDiZfE8AAE6KGkuov0395.jpg "title=" Image026.jpg "alt=" Wkiom1ccwtdizfe8aae6kgkuov0395.jpg "/>

Figure 9-48analysis analyzing execution Results

If everyone has LoadRunner operation, analysis and other content is not very familiar with the proposal to see the author of another book in this area, namely, "proficient in software performance testing and LoadRunner best Practice", the book in detail to introduce the performance test related concepts, classification, indicators, The testing process and the use of LoadRunner tools and their detailed cases.


This article is from the "Testers Home" blog, please make sure to keep this source http://tester2test.blog.51cto.com/461899/1767301

Application of LoadRunner in performance test of mobile terminal

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.