Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74A20F21F for ; Sun, 21 Apr 2013 03:39:19 +0000 (UTC) Received: (qmail 91642 invoked by uid 500); 21 Apr 2013 03:39:18 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 91529 invoked by uid 500); 21 Apr 2013 03:39:17 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 91476 invoked by uid 99); 21 Apr 2013 03:39:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Apr 2013 03:39:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of malkodan@gmail.com designates 209.85.220.43 as permitted sender) Received: from [209.85.220.43] (HELO mail-pa0-f43.google.com) (209.85.220.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Apr 2013 03:39:09 +0000 Received: by mail-pa0-f43.google.com with SMTP id hz1so445439pad.30 for ; Sat, 20 Apr 2013 20:38:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=UMA5vy9LdAK3E6qKsmburEGMMgc6sGwwDYIjS15Liwo=; b=N1LBMk8QBNhF/jpBT5LrWlwtMWGtCyVyiCxbYh7YwtB4mZg4Zzzzl6dvYTpk6VW487 nJBjv7nQo5sGr56GJcK/fVss6fA+T3IvZA35EK81BOqk31lW+cPn7U5VTSkOpv2/LTF/ d0CE8r3HbiWye7GWgVE7m96N7drz8IzgBfv2/8ZMcRS+DLscVf5IaLSSkaQ1I++Vyat8 6y9KN7gq5zpKsHOiCFDoNc5LOZwW/WXekdvpHEj0uRigWe+PfERtzIzAYr3Z4yOtI6Q3 ET9qZzJjjAkucB/l8cgPFp+QYKMWokRd8seY+bfRhTUWGxLh7n7KIrleaW6f+aB1HxQf v4WA== MIME-Version: 1.0 X-Received: by 10.66.255.41 with SMTP id an9mr5919391pad.44.1366515529634; Sat, 20 Apr 2013 20:38:49 -0700 (PDT) Received: by 10.70.4.35 with HTTP; Sat, 20 Apr 2013 20:38:49 -0700 (PDT) Date: Sun, 21 Apr 2013 13:38:49 +1000 Message-ID: Subject: [PATCH] HTTPSampler to support device in addition to source IP address From: Dan Fruehauf To: dev@jmeter.apache.org Content-Type: multipart/mixed; boundary=047d7b15accfb958bd04dad6b05f X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15accfb958bd04dad6b05f Content-Type: multipart/alternative; boundary=047d7b15accfb958b904dad6b05d --047d7b15accfb958b904dad6b05d Content-Type: text/plain; charset=ISO-8859-1 I'm a rather new JMeter user, however I had the need to use in 'Source IP address' a device, rather than a specific address (as my devices changed addresses all the time). There was the option of rebuilding the jmx with the correct source IPs, but I decided to produce the attached patch for everybody to enjoy. The attached patch lets you set in the 'Source IP address' (which is now 'Source IP address / device) an interface. So you can have things such as: * 'ipv6:eth0' * 'ipv4:ppp1' * or just 'eth1' - which will default to ipv4. I hope you can consider this patch. BR Dan Fruehauf. --047d7b15accfb958b904dad6b05d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm a rather new JMeter user, however I had the n= eed to use in 'Source=20 IP address' a device, rather than a specific address (as my devices=20 changed addresses all the time). There was the option of rebuilding the jmx with the correct source IPs, but= I decided to produce the attached patch for everybody to enjoy.

The= attached patch lets you set in the 'Source IP address' (which is n= ow 'Source IP address / device) an interface.=A0 So you can have things such as:
=A0* 'ipv6:eth0'
=A0* 'ipv4:ppp1'
=A0* or just 'eth1' - which will default to ipv4.

I hope= you can consider this patch.

BR
Dan Fruehauf.
--047d7b15accfb958b904dad6b05d-- --047d7b15accfb958bd04dad6b05f--