JMeter using IP spoofing for stress testing

Source: Internet
Author: User

LoadRunner IP Spoofing is very powerful, patient research JMeter official documents, found in the version of jmeter2.5 above the implementation of this feature ~

Preparation work: 1, window7 a set, install jdk1.6 environment. 2, download the latest jmeter, link address: http://jmeter.apache.org/download_jmeter.cgi, download Zip package decompression can, double-click Bin/jmeter.bat start jmeter;        3, the use of IP spoofing must have a number of local IP available, usually a common PC only one physical network card, which requires us to manually set up multiple IP binding the same network card: A, Start menu, Control Panel, network Sharing Center, change adapter settings, local link b, right-click Local Link Properties, select Internet Protocol version 4 (double-click open window), if the use of automatic acquisition of IP, you have to manually set the IP C, select the Advanced button in the Properties window, select IP Settings, click Add, enter a new IP address (need to pay attention to the LAN Do not have an IP conflict, you can ping it in advance to find IP that is not used, but the subnet mask must be the same. 4, set up a number of IP can start using JMeter IP spoofing, it is important to note that so far, based on HTTP requests must use the HTTPCLIENT4 party can be successful. First we save the set up IP in the CVS file so that we can import into the JMeter parameter: 5, add the configuration component in the JMeter test plan and configure the IP parameter 6, adjust the HTTP request for each HTTP to be set again, JMeter takes an IP value from the file at the beginning of each concurrent thread; Test results: Results can be observed from the server through the log changes, or through the JMeter view results tree to see the effect:

JMeter using IP spoofing for stress testing

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.