When it comes to performance testing, we must think of Jmeter and LoadRunner. These two tools are widely used in China at present, mainly because Jmeter is open source and free, and there are cracked versions of LoadRunner 11 in the live network. Commercial performance testing tools are not affordable for small and medium enterprises. Domestic performance testing tools include CTPS(Huawei), kylinTOP (Qilin), PTS (Ali), WebTest(Tencent), etc. Foreign performance testing tool LoadRunner is relatively famous. Loadrunner is famous in China mainly because Loadrunner entered the Chinese market relatively early, and there are cracked versions on the Internet. For now, let’s look at the limitations of LoadRunner11, which is currently widely available on the web. To help peers in the use of the heart understand.

Step 1: Record a Web page using Loadrunner 11

Step 2: Create a test plan and run the test script respectively.

Step 3: Analyze the ORDER of HTTP requests based on the packet capture results.

Step 4: Compare the order of HTTP requests obtained by wireShark with the screen when browsing individual URLS.

Based on the above ideas we selected from the Internet a web URL (cloud.10oa.com/trial/view/…

2. Internet Explorer accesses the URL aloneFirst let’s take a look at the web screen for this URL using IE alone access time: Note: The actual request start time for HTTP starts with a yellow background

LR 11 Script Recording Create a Web (HTTP/ HTML) script, click the Record button, and select Internet Explorer (IE 9) to record.

Note: loadRunner11 does not support chrome,firefox Note: In this figure, the start and end times of HTTP requests are obtained through wireShark network packet capture, and then the waterfall diagram is drawn by Excel (the same as the following figure).

From the concurrency graph, there are 5 concurrences, but 6 concurrences are not very obvious, which is different from the waterfall graph when IE9 is accessed alone.

4. LR 11 Task creation and executionCreate a test plan based on the recorded script and execute the script once (only once) while capturing the loadRunner HTTP request network package through wireShark.

4. Result analysis

A waterfall of results from LoadRunner11’s test plan shows that HTTP requests are basically concurrent with two HTTP requests. The timing of the HTTP request is different from the waterfall diagram of the Internet Explorer during recording and the WATERFALL diagram of the HTTP request when Internet Explorer 9 accesses the URL alone. The request waterfall graph is concurrency according to loadRunner’s own internal rules, with two concurrent requests per user, which is a bit of an improvement over Jmeter (which is sequential requests per user), but still a long way from the real behavior of Internet Explorer. If you test the WEB server with LoadRunner 11 and generate the script by recording the WEB, you will get a big difference from the actual results.

Finally: [May give you some help]

These materials, for [software testing] friends should be the most comprehensive and complete preparation warehouse, this warehouse also accompany tens of thousands of test engineers through the most difficult journey, I hope to help you! Follow my wechat public number [software test small DAO] free access ~

My learning exchange group: 644956177 group of technical cattle to exchange and share ~

If my blog is helpful to you, if you like my blog content, please “like” “comment” “favorites” one key three even oh!