You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by BL Sreekanth <sr...@pulsesecure.net> on 2016/09/13 13:26:56 UTC

Reg. Source address option in HTTP sampler

Hi,
I have installed jmeter 3.0 r1743807 on windows 7. I don’t see the source address option in HTTP sampler. Do I need to buy any license to enable it ?

My requirement is to send multiple requests to a web server where each request has a different source ip address, preferably IPv6

Thanks,
Sreekanth.

Re: Reg. Source address option in HTTP sampler

Posted by mozzarella <ch...@gmail.com>.
Hi Sreekanth,

JMeter is open source, so you do not need to buy a license. You need to
place the server url in the "Server Name or IP" box that is located near the
top in the HTTP Request sampler.



--
View this message in context: http://jmeter.512774.n5.nabble.com/Reg-Source-address-option-in-HTTP-sampler-tp5724762p5724763.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Reg. Source address option in HTTP sampler

Posted by Ivan Rancati <iv...@gmail.com>.
Not sure an IP range can be specified (at least,

But you could use the thread number,
something like 192.168.1.${__threadNum}

regards
Ivan

On Tue, Sep 13, 2016 at 4:45 PM, BL Sreekanth <sr...@pulsesecure.net>
wrote:

> Thank you for the response. I could see the source address option now. Can
> I specify ip address range here ?
>
> Regards,
> Sreekanth.

Re: Reg. Source address option in HTTP sampler

Posted by Ivan Rancati <iv...@gmail.com>.
I think  Source address type should be "IP/Hostname" and not "Device IPv4"

Here is the documentation for the http sampler
http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request

Also, in the doc: "[Only for HTTP Request with HTTPClient implementation]",
so I am not sure whether the IP spoofing works with the Java implementation.


On Tue, Sep 20, 2016 at 1:22 PM, BL Sreekanth <sr...@pulsesecure.net>
wrote:

> Here are the links to scripts
>
> http://i.imgur.com/UDjPUsD.png
> http://i.imgur.com/BIuro4l.png
>
> Regards,
> Sreekanth

Re: Reg. Source address option in HTTP sampler

Posted by BL Sreekanth <sr...@pulsesecure.net>.
Here are the links to scripts

http://i.imgur.com/UDjPUsD.png
http://i.imgur.com/BIuro4l.png

Regards,
Sreekanth


From: Felix Schumacher <fe...@internetallee.de>
Reply-To: JMeter Users List <us...@jmeter.apache.org>
Date: Tuesday, September 20, 2016 at 2:36 PM
To: JMeter Users List <us...@jmeter.apache.org>
Subject: Re: Reg. Source address option in HTTP sampler



Am 20. September 2016 10:56:23 MESZ, schrieb BL Sreekanth <sr...@pulsesecure.net>>:
Hi Ivan,

Thank you for the response. Yes $ip was a typo. It is actually ${ip} as
mentioned in the below screenshot.

[cid:image001.png@01D2134A.F357C950<ma...@01D2134A.F357C950>]

Screenshot for Basic tab

[cid:image002.png@01D2134A.F357C950<ma...@01D2134A.F357C950>]


There were no screenshots. The list strips most images.

Put a debug sampler in your TestPlan and look, if your variable ${ip} has the right value.

Regards,
Felix

My requirements are

1.       Send each https request with different source ip

2.       Is it possible the above requirement with IPv6 also

Thanks,
Sreekanth.

From: Ivan Rancati <iv...@gmail.com>>
Reply-To: JMeter Users List <us...@jmeter.apache.org>>
Date: Tuesday, September 20, 2016 at 1:57 PM
To: JMeter Users List <us...@jmeter.apache.org>>
Subject: Re: Reg. Source address option in HTTP sampler

hi, a couple of comments/ideas

- I see you mention $ip. Could it be simply a typo instead of ${ip} ?
- What's currently selected in "Source address type" ?
- Are you sure your email from 9/15/16 was sent? It is quoted in your
reply, but I haven't seen it on the mailing list.
Because of that, it is unclear (at least to me) if your problem is now
to
use IPv6 addresses, or that the same IP address is used for all the
requests
- Attachments are filtered list by the mailing list. You might want to
upload the screenshot somewhere and provide a link

Best regards
Ivan

On Tue, Sep 20, 2016 at 8:31 AM, BL Sreekanth
<sr...@pulsesecure.net><mailto:sreebl@pulsesecure.net%3E>>
wrote:

Hi,

Any updates on how to address this issue.
How do I ensure that I send requests from my client’s IPv6 address
instead
of IPv4 address?

Thanks/Regards,
Sreekanth.


On 9/15/16, 4:55 PM, "BL Sreekanth"
<sr...@pulsesecure.net><mailto:sreebl@pulsesecure.net%3E>> wrote:

     Hi,

I created a csv file with values for username and ip and specified the
file in csv data set config
     The idea is, for each request the source ip address and username
should be different.

  I ran the script and could see that the script is taking the username
properly but ip address is not.
     The same ip address is being used for all the user requests.

     How I do ensure each request has a different source Ip address. I
configured the NIC with multiple ip address and also configured each
HTTP
request to use $ip variable. (Screenshots attached)

    Still I can’t get each request to use a different source ip. Please
let me know if any other settings are required

     Thanks,
     Sreekanth.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org<ma...@jmeter.apache.org>
For additional commands, e-mail: user-help@jmeter.apache.org<ma...@jmeter.apache.org>



Re: Reg. Source address option in HTTP sampler

Posted by Felix Schumacher <fe...@internetallee.de>.

Am 20. September 2016 10:56:23 MESZ, schrieb BL Sreekanth <sr...@pulsesecure.net>:
>Hi Ivan,
>
>Thank you for the response. Yes $ip was a typo. It is actually ${ip} as
>mentioned in the below screenshot.
>
>[cid:image001.png@01D2134A.F357C950]
>
>Screenshot for Basic tab
>
>[cid:image002.png@01D2134A.F357C950]
>

There were no screenshots. The list strips most images. 

Put a debug sampler in your TestPlan and look, if your variable ${ip} has the right value. 

Regards, 
Felix 

>My requirements are
>
>1.       Send each https request with different source ip
>
>2.       Is it possible the above requirement with IPv6 also
>
>Thanks,
>Sreekanth.
>
>From: Ivan Rancati <iv...@gmail.com>
>Reply-To: JMeter Users List <us...@jmeter.apache.org>
>Date: Tuesday, September 20, 2016 at 1:57 PM
>To: JMeter Users List <us...@jmeter.apache.org>
>Subject: Re: Reg. Source address option in HTTP sampler
>
>hi, a couple of comments/ideas
>
>- I see you mention $ip. Could it be simply a typo instead of ${ip} ?
>- What's currently selected in "Source address type" ?
>- Are you sure your email from 9/15/16 was sent? It is quoted in your
>reply, but I haven't seen it on the mailing list.
>Because of that, it is unclear (at least to me) if your problem is now
>to
>use IPv6 addresses, or that the same IP address is used for all the
>requests
>- Attachments are filtered list by the mailing list. You might want to
>upload the screenshot somewhere and provide a link
>
>Best regards
>Ivan
>
>On Tue, Sep 20, 2016 at 8:31 AM, BL Sreekanth
><sr...@pulsesecure.net>>
>wrote:
>
>Hi,
>
>Any updates on how to address this issue.
>How do I ensure that I send requests from my client\u2019s IPv6 address
>instead
>of IPv4 address?
>
>Thanks/Regards,
>Sreekanth.
>
>
>On 9/15/16, 4:55 PM, "BL Sreekanth"
><sr...@pulsesecure.net>> wrote:
>
>     Hi,
>
> I created a csv file with values for username and ip and specified the
>file in csv data set config
>     The idea is, for each request the source ip address and username
>should be different.
>
>  I ran the script and could see that the script is taking the username
>properly but ip address is not.
>     The same ip address is being used for all the user requests.
>
>     How I do ensure each request has a different source Ip address. I
>configured the NIC with multiple ip address and also configured each
>HTTP
>request to use $ip variable. (Screenshots attached)
>
>    Still I can\u2019t get each request to use a different source ip. Please
>let me know if any other settings are required
>
>     Thanks,
>     Sreekanth.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Reg. Source address option in HTTP sampler

Posted by BL Sreekanth <sr...@pulsesecure.net>.
Hi Ivan,

Thank you for the response. Yes $ip was a typo. It is actually ${ip} as mentioned in the below screenshot.

[cid:image001.png@01D2134A.F357C950]

Screenshot for Basic tab

[cid:image002.png@01D2134A.F357C950]

My requirements are

1.       Send each https request with different source ip

2.       Is it possible the above requirement with IPv6 also

Thanks,
Sreekanth.

From: Ivan Rancati <iv...@gmail.com>
Reply-To: JMeter Users List <us...@jmeter.apache.org>
Date: Tuesday, September 20, 2016 at 1:57 PM
To: JMeter Users List <us...@jmeter.apache.org>
Subject: Re: Reg. Source address option in HTTP sampler

hi, a couple of comments/ideas

- I see you mention $ip. Could it be simply a typo instead of ${ip} ?
- What's currently selected in "Source address type" ?
- Are you sure your email from 9/15/16 was sent? It is quoted in your
reply, but I haven't seen it on the mailing list.
Because of that, it is unclear (at least to me) if your problem is now to
use IPv6 addresses, or that the same IP address is used for all the requests
- Attachments are filtered list by the mailing list. You might want to
upload the screenshot somewhere and provide a link

Best regards
Ivan

On Tue, Sep 20, 2016 at 8:31 AM, BL Sreekanth <sr...@pulsesecure.net>>
wrote:

Hi,

Any updates on how to address this issue.
How do I ensure that I send requests from my client’s IPv6 address instead
of IPv4 address?

Thanks/Regards,
Sreekanth.


On 9/15/16, 4:55 PM, "BL Sreekanth" <sr...@pulsesecure.net>> wrote:

     Hi,

     I created a csv file with values for username and ip and specified the
file in csv data set config
     The idea is, for each request the source ip address and username
should be different.

     I ran the script and could see that the script is taking the username
properly but ip address is not.
     The same ip address is being used for all the user requests.

     How I do ensure each request has a different source Ip address. I
configured the NIC with multiple ip address and also configured each HTTP
request to use $ip variable. (Screenshots attached)

     Still I can’t get each request to use a different source ip. Please
let me know if any other settings are required

     Thanks,
     Sreekanth.




Re: Reg. Source address option in HTTP sampler

Posted by Ivan Rancati <iv...@gmail.com>.
hi, a couple of comments/ideas

- I see you mention $ip. Could it be simply a typo instead of ${ip} ?
- What's currently selected in "Source address type" ?
- Are you sure your email from 9/15/16 was sent? It is quoted in your
reply, but I haven't seen it on the mailing list.
Because of that, it is unclear (at least to me) if your problem is now to
use IPv6 addresses, or that the same IP address is used for all the requests
- Attachments are filtered list by the mailing list. You might want to
upload the screenshot somewhere and provide a link

Best regards
Ivan

On Tue, Sep 20, 2016 at 8:31 AM, BL Sreekanth <sr...@pulsesecure.net>
wrote:

> Hi,
>
> Any updates on how to address this issue.
> How do I ensure that I send requests from my client’s IPv6 address instead
> of IPv4 address?
>
> Thanks/Regards,
> Sreekanth.
>
>
> On 9/15/16, 4:55 PM, "BL Sreekanth" <sr...@pulsesecure.net> wrote:
>
>     Hi,
>
>     I created a csv file with values for username and ip and specified the
> file in csv data set config
>     The idea is, for each request the source ip address and username
> should be different.
>
>     I ran the script and could see that the script is taking the username
> properly but ip address is not.
>     The same ip address is being used for all the user requests.
>
>     How I do ensure each request has a different source Ip address. I
> configured the NIC with multiple ip address and also configured each HTTP
> request to use $ip variable. (Screenshots attached)
>
>     Still I can’t get each request to use a different source ip. Please
> let me know if any other settings are required
>
>     Thanks,
>     Sreekanth.
>
>

Re: Reg. Source address option in HTTP sampler

Posted by BL Sreekanth <sr...@pulsesecure.net>.
Hi,

Any updates on how to address this issue.
How do I ensure that I send requests from my client’s IPv6 address instead of IPv4 address?

Thanks/Regards,
Sreekanth. 


On 9/15/16, 4:55 PM, "BL Sreekanth" <sr...@pulsesecure.net> wrote:

    Hi,
    
    I created a csv file with values for username and ip and specified the file in csv data set config 
    The idea is, for each request the source ip address and username should be different.
    
    I ran the script and could see that the script is taking the username properly but ip address is not.
    The same ip address is being used for all the user requests. 
    
    How I do ensure each request has a different source Ip address. I configured the NIC with multiple ip address and also configured each HTTP request to use $ip variable. (Screenshots attached)
    
    Still I can’t get each request to use a different source ip. Please let me know if any other settings are required 
    
    Thanks,
    Sreekanth.
    
    
    
    On 9/13/16, 8:15 PM, "BL Sreekanth" <sr...@pulsesecure.net> wrote:
    
        Thank you for the response. I could see the source address option now. Can I specify ip address range here ?
        
        Regards,
        Sreekanth.
        
        On 9/13/16, 7:05 PM, "Antonio Gomes Rodrigues" <ra...@gmail.com> wrote:
        
            Hi,
            
            Source address are now in advanced tab of the HTTP sampler
            
            Antonio
            
            2016-09-13 15:26 GMT+02:00 BL Sreekanth <sr...@pulsesecure.net>:
            
            > Hi,
            > I have installed jmeter 3.0 r1743807 on windows 7. I don’t see the source
            > address option in HTTP sampler. Do I need to buy any license to enable it ?
            >
            > My requirement is to send multiple requests to a web server where each
            > request has a different source ip address, preferably IPv6
            >
            > Thanks,
            > Sreekanth.
            >
            
        
        
        
    
    


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org

Re: Reg. Source address option in HTTP sampler

Posted by BL Sreekanth <sr...@pulsesecure.net>.
Thank you for the response. I could see the source address option now. Can I specify ip address range here ?

Regards,
Sreekanth.

On 9/13/16, 7:05 PM, "Antonio Gomes Rodrigues" <ra...@gmail.com> wrote:

    Hi,
    
    Source address are now in advanced tab of the HTTP sampler
    
    Antonio
    
    2016-09-13 15:26 GMT+02:00 BL Sreekanth <sr...@pulsesecure.net>:
    
    > Hi,
    > I have installed jmeter 3.0 r1743807 on windows 7. I don’t see the source
    > address option in HTTP sampler. Do I need to buy any license to enable it ?
    >
    > My requirement is to send multiple requests to a web server where each
    > request has a different source ip address, preferably IPv6
    >
    > Thanks,
    > Sreekanth.
    >
    



Re: Reg. Source address option in HTTP sampler

Posted by Antonio Gomes Rodrigues <ra...@gmail.com>.
Hi,

Source address are now in advanced tab of the HTTP sampler

Antonio

2016-09-13 15:26 GMT+02:00 BL Sreekanth <sr...@pulsesecure.net>:

> Hi,
> I have installed jmeter 3.0 r1743807 on windows 7. I don’t see the source
> address option in HTTP sampler. Do I need to buy any license to enable it ?
>
> My requirement is to send multiple requests to a web server where each
> request has a different source ip address, preferably IPv6
>
> Thanks,
> Sreekanth.
>