使用apache-JMeter(IP欺骗)将具有多个IP地址的请求发送到我的应用程序 [英] send requests with multiple ip address to my application using apache-JMeter(IP Spoofing)

查看:355
本文介绍了使用apache-JMeter(IP欺骗)将具有多个IP地址的请求发送到我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

jmeter中是否存在IP欺骗的方法.我已经通过"CSV数据集配置"进行了尝试.是否还有其他方法..请让我知道.谢谢.

Is there any way for IP Spoofing in jmeter.i have tried it by "CSV data set config".Is there any other way..please let me know.Thanks in advance.

推荐答案

以下步骤将帮助您实现IP欺骗:

Following steps will help you implement the IP Spoofing:

  1. 向您的IT团队索取6个静态IP地址(取决于您的要求).
  2. 转到IPv4属性,添加主IP,子网掩码,网关,DNS等.
  3. 单击高级"按钮,在"IP地址"部分中添加所有剩余的IP地址.
  4. 将所有6个IP地址保存在CSV文件中
  5. 现在打开Jmeter,添加CSV数据集配置(在 Test Plan 下面的顶部)并在其中配置IP地址CSV文件
  6. 按1依次单击HTTP采样器,然后根据CSV数据集配置更改以下提及的值
  1. Request for 6 static IP address (it depends on your requirement) from your IT team.
  2. Go to IPv4 properties, add the primary IP, Subnet mask, Gateway, DNS etc.
  3. Click on advanced button, in IP Address section add all the remaining IP address.
  4. Save all the 6 IP address in a CSV file
  5. Now open Jmeter, add a CSV data set config (at the top below Test Plan)and configure IP address CSV file in it
  6. Click on your HTTP samplers 1 by 1 and change the below mentioned value as per your CSV Data Set Config

注意:欺骗无法使用Wifi进行.必须将Jmeter机器连接到LAN才能实现IP欺骗.

Note: Spoofing will not work using Wifi. The Jmeter machine must be connected to LAN to achieve IP Spoofing.

更新---------------------------------

Update---------------------------------

http://www.filedropper.com/ipchangersetconfig
http://www.filedropper.com/ipaddresslist


希望这会有所帮助.

这篇关于使用apache-JMeter(IP欺骗)将具有多个IP地址的请求发送到我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆