Your assertion is wrong. The user agent does not dictate what type of
browser will be executed on the client, only how the virtual user will
announce itself to the server. You could just as easily put in "Windows
2017; .Net 18.7; IE 15 Engineering Alpha - do not use on public
Internet; Hi Bob, this is Sathish. You can ignore this as we are
running a performance test against the production server."
The server may, depending upon the developers, elect to present a
distinct form of the website based upon the user agent string. This is
commonly how sites shift users to a mobile site, based upon the presence
of a user agent string or how sites which generate HTML on the fly for
users distinguish between generating w3c standardized HTML/XHTML/... for
the response or a dialect which will render the expected way on an IE
client. So, if the developer encounters a browser type that they were
not expecting, which is really pretty common given the number, version,
type and extensions installed on browsers, most pretty well ignore it
unless a specific version of a browser with a particular extension is
called for in which case an error is usually thrown back to the user to
use the appropriate browser and to install the appropriate extension
required.
References:
http://www.useragentstring.com/pages/useragentstring.php
http://www.zytrax.com/tech/web/browser_ids.htm
https://developer.mozilla.org/en-US/docs/Browser_Detection_and_Cross_Browser_Support
http://www.zytrax.com/tech/web/mobile_ids.html
Suggested reading, "PHP & MySQL for Dummies" (I own a copy of this
book). This should help to ground the use of the user agent string and
where and why it is used (if at all).
************************************************************
Moderator Note: Please do not [Reply all] to messages. This creates a
double message for the person you are replying to and is unnecessary.
When a message is sent to the group the email [Reply to:] header is
altered to direct all replies to the group by default, which is why it
is unnecessary to CC the original poster. This has been covered many
times in moderator notes. Consider this your first and only warning,
if the behavior continues you will lose your ability to post to this
group.
************************************************************
Foundation Skills: Web Development, Web Architecture
James Pulley
http://www.loadrunnerbythehour.com/PricingMatrix
> On Wed, 2013-03-13 at 03:31 -0700, sathish Ram wrote:
> > James,
> >
> > Correct me if I am wrong. As per my knowledge, user agent is one which
> > is used to emulate browser, it means type of browser, version of it,
> > compatible on which operating system. Each browser (IE/Firefox) has
> > its defined user agent based on operating system
> >
> > I thought when we execute Vuser script, it will check the value of
> > user agent and based on that, it will emulate a browser which will be
> > used to access the application, so when we give some junk “abc” which
> > is not an user agent for any browser type, how can it emulate it?
> >
> > Waiting to hear from your side
> >
> > Thanks
> >
> >
> > On Tuesday, March 12, 2013 9:02:24 AM UTC-4, James Pulley wrote:
> > What do you think the user agent is used for in both vugen and
> > your application?
> >
> >
> >
> > From:
LR-Loa...@googlegroups.com
> > [mailto:
LR-Loa...@googlegroups.com] On Behalf Of sathish Ram
> > Sent: Tuesday, March 12, 2013 6:21 AM
> > To:
LR-Loa...@googlegroups.com
> > Subject: User Agent-Runtime Settings
> >
> >
> >
> >