http request defaults overriding http request post recording

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

http request defaults overriding http request post recording

prateekgommt
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.
pmd
Reply | Threaded
Open this post in threaded view
|

Re: http request defaults overriding http request post recording

pmd
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 <[hidden email]> 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.