jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: How to defined a parameter for user agent
Date Thu, 11 Mar 2010 16:45:01 GMT
hi
Im not sure what you are trying to achieve here. The extractors are used to
extract data from previous responses. The User-Agent is something the client
sends, its not part of the response. You can define UserParameters if you
want that have these values and send them as headers..
regards
deepak

On Thu, Mar 11, 2010 at 2:03 AM, Cynthia Li <cynthia.li@
icebreakersoftware.com> wrote:

> Hi
> I want to set a parameter to define the  User Agent,e,g 'Mozilla/4.0
> (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)
> chromeframe/5.0.342.0'
> How to defined it with xPath extractor or regular experession extractor?
>
> --
> Best Regards,
> Cynthia Lee
>

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