jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Jmeter Cookie problem
Date Tue, 27 Apr 2010 16:44:52 GMT
1) JMeter does not support or execute javascript. However this is not
necessarily a problem because some applications do display a noscript
message (which is perhaps what you are seeing) and autosubmit the form with
javascript(which you will do as a separate request in JMeter)
2) SAML parameter values are dynamic. If you have recorded and you replay
the script it wont work. You must extract all the hidden values from the
request (Assuming you use a POST profile.)



On Mon, Apr 26, 2010 at 11:50 PM, Anamika aaa <anamikaqtp@gmail.com> wrote:

> Hi
>
> Thank u sebb for ur reply
> I tried using Follow redirects but now i am facing a new prob along with
> the
> old one that says
>
>  1)Browser does not support JavaScript press continue to proceed in the
> ViewTree Listener. I have enabled Javascript in both IE and Mozilla but its
> still throwing the same error
>
> 2) The page that is throwing 401 unauthorised error also says SAML message
> is not getting validated . It s a Single Sign On Page.The Cookie is now
> getting set for the this page after the Follow Redirects s used.But the
> error s still the same
>   Can anyone pleasetell me what the prob might be...
>
> Regards
>
>
> On Mon, Apr 26, 2010 at 5:04 PM, sebb <sebbaz@gmail.com> wrote:
>
> > On 26/04/2010, Anamika aaa <anamikaqtp@gmail.com> wrote:
> > > Thanks for all the replies ..
> > >   i am using 2.3.2 now but its the same problem..
> >
> > The current version of JMeter is 2.3.4.
> >
> > >  The follow redirects is
> > >  already selected since it is a bad boy script ... But the problem if i
> > dont
> > >  tick the Automatically redirect checkbox my application throws a 302
> > >  response code and doesnt go further .
> >
> > So long as you tick "follow redirects" JMeter should follow 302s.
> >
> > If it does not, please check the jmeter.log file for errors, and check
> > the format of the 302 response in the Tree View Listener.
> >
> > >     After giving the credentials for login the application though logs
> in
> > >  successfully it is going back to the same login page instead of
> > redirecting
> > >  to the application..
> >
> > Some applications provide cookies as part of the redirect processing.
> > These will not be seen by JMeter if you select "Automatically
> > redirect".
> >
> > >  Please let know if anyone has faced the same type of
> > >  problem..
> >
> > Have you tried searching the mailing list for similar problems?
> >
> > >
> > >  Regards
> > >
> > >
> > >
> > >
> > >  On Thu, Apr 22, 2010 at 10:51 PM, Deepak Shetty <shettyd@gmail.com>
> > wrote:
> > >
> > >  > Ensure you have follow redirects instead of redirect automatically.
> > Using
> > >  > View Results tree check whether the cookie gets set and whether
> JMeter
> > is
> > >  > passing it back
> > >  >
> > >  > On Wed, Apr 21, 2010 at 11:46 PM, Anamika aaa <anamikaqtp@gmail.com
> >
> > >  > wrote:
> > >  >
> > >  > > Hi ,
> > >  > >
> > >  > > I am trying to test a web application using HTTPS on JMeter. I am
> > using
> > >  > > JMeter 2-2.  My test consists of the following: Get the login
> page,
> > post
> > >  > > login form parameters, get the enter page. I have recorded the
> > script
> > >  > using
> > >  > > Badboy by giving all the login details.
> > >  > >
> > >  > > When I switch to HTTPS on 443, I am redirected to the login page
> on
> > the
> > >  > > second and third requests. I do not see the cookie information in
> > the
> > >  > > request tab in the results tree and i am getting HTTP
> authorisation
> > >  > message
> > >  > > not validated error  I believe that the Cookie Manager is not
> > passing the
> > >  > > cookie information back with each subsequent request.
> > >  > > I have looked through the Users Guide, FAQ, and Bug list for any
> > >  > > information
> > >  > > about the Cookie Manager handling HTTPS request but have not found
> > >  > > anything.
> > >  > > Has anyone experienced this behavior using HTTPS in JMeter?
> > >  > >
> > >  > >
> > >  > > Regards
> > >  > >
> > >  >
> > >
> >
> > ---------------------------------------------------------------------
> > 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