jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <>
Subject Re: Basic authorization in jmeter
Date Wed, 20 Apr 2011 17:50:03 GMT
well this is what is confusing in what you are saying
In the snippet you showed you used
>>request.add_header('Authorization','Basic '+sessionID)
which is adding a request header
whereas in the URL you show , the value is just a parameter ,

 if it is a parameter that the browser sends it either must be in the HTMl
or its calculated with javascript . The former is relatively easy once you
identify in which request the value is returned, the latter needs you to
recode the javascript in java.


On Wed, Apr 20, 2011 at 10:45 AM, testerinCO <> wrote:

> Oh yes, it works from the browser (I'm testing a session API with a get
> method)
> http://denver.colorado/_rest/dev/?e=5&s=12345abcde  <--- when I execute
> the
> URL, it returns a session id which consists of current time and the hash of
> the secret code (listed in URL) and id (listed in URL).  I can see the
> jquery expression which is returned via the DOM, but I can't see it in
> jmeter.
> --
> View this message in context:
> Sent from the JMeter - User mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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