You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Prateek Dua <pr...@go-mmt.com> on 2018/08/24 13:00:29 UTC

http request defaults overriding http request post recording

Hi,

Is there any way to override Server ip, protocol in http requests via http
request defaults' details after script has been recorded ?

Scenario: I have recorded a web app & all the requests have ip 10.70.3.63..
And here case is that I have to test same web app against 2 more different
IP 10.70.3.64 & 10.70.3.65 .


So how can I easily handle this scenario ?

-- 


::DISCLAIMER::


----------------------------------------------------------------------------------------------------------------------------------------------------





This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.

Re: http request defaults overriding http request post recording

Posted by Philippe Mouawad <ph...@gmail.com>.
You can use a variable host holding the IP and replace it with this value
${host}.

And use JMeter Search/ Replace feature that is much more powerful in
upcoming 5.0 that you can test in nightly build:

   - https://jmeter.apache.org/nightly.html


Regards

On Fri, Aug 24, 2018 at 3:00 PM Prateek Dua <pr...@go-mmt.com> wrote:

> Hi,
>
> Is there any way to override Server ip, protocol in http requests via http
> request defaults' details after script has been recorded ?
>
> Scenario: I have recorded a web app & all the requests have ip 10.70.3.63..
> And here case is that I have to test same web app against 2 more different
> IP 10.70.3.64 & 10.70.3.65 .
>
>
> So how can I easily handle this scenario ?
>
> --
>
>
> ::DISCLAIMER::
>
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>
>
>
>
> This message is intended only for the use of the addressee and may
> contain information that is privileged, confidential and exempt from
> disclosure under applicable law. If the reader of this message is not the
> intended recipient, or the employee or agent responsible for delivering
> the
> message to the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
> prohibited. If you have received this e-mail in error, please notify us
> immediately by return e-mail and delete this e-mail and all attachments
> from your system.
>


-- 
Cordialement.
Philippe Mouawad.