jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MATT CARBONE" <matt.carb...@gmail.com>
Subject Re: parameterize http header
Date Fri, 07 Dec 2007 15:54:20 GMT
Basically I need to write a beanshell script that can set request headers.

A simple example of doing this in a pre-processor would solve a whole host
of problems in our testing scenario.

Thanks again for taking the time,
-Matt


On Dec 6, 2007 8:12 PM, sebb <sebbaz@gmail.com> wrote:

> It's not going to be easy to find the Header Manager from BeanShell,
> but I don't think it's necessary.
>
> Why not just use variables in the header manager?
>
> The variables can easily be set using a BSH P-P - or any other method
> for that matter.
>
> Or indeed you could use the BSH function in the Header Manager.
>
> What are you trying to do?
>
> On 07/12/2007, MATT CARBONE <matt.carbone@gmail.com> wrote:
> > Is it possible to parameterize a HTTP header?
> >
> > Ideally, I would like to be able to access the Header Manger via a
> beanshell
> > preprocessor script and have it set dynamically each time.
> >
> > Thanks in advance,
> > -Matt
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message