App performance test "recording with LoadRunner"

Source: Internet
Author: User

with the rapid growth of smartphones in recent years, from Game entertainment to mobile office with a wide range of mobile phonesAPPsoftware penetrates into our lives, for large mobile phonesAPPtesting not only focuses on its functionality, ease of use, but also its performance, and recently discoveredLoadRunner12can be on the phoneAPPdo performance testing, but becauseLoadRunner12There is no cracked version at most only -a concurrent user, so I useLoadRunner12Record your phoneAPPscript and drop it into theLoadRunner8.0for pressure measurement in theLoadRunner8.0can be concurrent10000a user.

1. Download Ccproxy Proxy Server , install and run the software used to detect the native LAN IP address

2. phone connected to a network, long press the network Click Modify Network Configuration, display advanced options, Proxy Server set to – manually, will Ccproxy detected local LAN IP Address Enter the proxy host name, set the proxy server port (here I set this to 8899 ), and then Close Ccproxy(only used to detect native LAN IP addresses because Loadrunne12 comes with a proxy server )

3. start LR12 virtualuser Generator, click file–new Script and Solution,single Protocol Select web–http/html, click Create

4. Click the Red tab of the toolbar Record button,recording mode Select Remote application via LoadRunner Proxy, The port is set to the proxy port set on the phone (my port is set to 8899) andLoadRunner listens to this port, which is the proxy port for the phone connection.

5. Click the Play Back button to test if the script is running successfully , response indicates that the server is responding and has data sent to the client

6. after the script is successfully run, locate the script's build path and copy it to the computer with LoadRunner8.0.

7. Running LoadRunner8.0 's Controller finds the script , clicks the Create button and modifies the number of concurrent users in the Design interface. LoadRunner12 is not cracked up to only a maximum of three users, and LoadRunner8.0 can be concurrent 10000 User , Here I set it to 60

8. before running the script, click results-àset Results Directory tick the first option to generate a log of each user's run time

9. Click start to run

Check each user run log , in the log can be seen with request and response( running logs Saved under the path shown in the results-àset Results Directory interface )

Click results–analyzeresults on the Controllerto view the results .

App performance test "recording with LoadRunner"

Related Article

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.