Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the test tool Loadrunner, browse blog visits and score actual combat

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Note: there should be a lot of tools for browsing blog visits and points on the Internet. I just combined this example to explain the use of Loadrunner.

Experimental blog site: http://blog.csdn.net/jcy58

The steps are as follows:

1. The script you just recorded contains the following figure

Knowledge point 1: this is caused by not shutting down the antivirus software and 360 security guards, so close the 360antivirus software and 360security guards on the Loadrunner installation machine before recording the script.

Compile and run the script, and the content of the following figure appears:

Knowledge point 2: the following is the problem related to js, so when recording the script, select URL recording mode (Loadrunner default is HTML mode), as shown below:

2. Start the recording trip.

If user An is now reading the article "Software reviewer's answer and Analysis 8", the link he is visiting is http://blog.csdn.net/jcy58/article/details/47123997

Knowledge point 3: if user B is reading "typos defects in IBM AppScan official help documents, IBM testers are too careless", then the link he is visiting is http://blog.csdn.net/jcy58/article/details/47081443, so here we need to use parameterization of a very important knowledge point in Loadrunner scripting technology:

The rules for the value of Loadrunner parameterization are as follows:

If the parameters in Loadrunner controller adopt sequential+each iteration (Sequential value method), and the number of virtual users is set to 5 users, then how do you get the parameters during iteration? (the order of parameters is A, B, C)

Answer:

(1) in the first iteration, all five virtual users take parameter A

(2) in the second iteration, all the five virtual users take parameter B

(3) in the third iteration, all five virtual users take parameter C

3. The last step: run the script

Select Simulate a new user on each iteration (simulate a new user for each iteration) and Clear cache on each iteration (clear the cache for each iteration)

Knowledge point 4: let the server mistakenly think that a real new user is visiting the article page on Jin Chaoyang's blog.

Let the script iterate a million times, and your blog visits and points will go up immediately.

Jin Chaoyang

QQ:1091051522

2015-7-31

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report