No, the problem is not about unsuccessful login, since, as I wrote
I can perform the login. 
What happens then is similar to copying a URL
from a browser, and to paste it into another one.
The application looses trace about session and asks me to login again.
If I do it manually (the second login) I can see the resource I'm trying to
access to, 
but how can I reproduce it in Jmeter,provided that the application doesn't
create cookies?
In the tree result I see that Jmeter attempts to access the resource but it
is redirected to
a login page. Is there any way to capture the event and pass to the
redirected page the login parameters?
BTW is there a alternative solution to the problem?

Many thanks!

G.

> -----Original Message-----
> From: Peter Lin [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 10, 2004 3:10 PM
> To: JMeter Users List
> Subject: Re: Problems with redirection
> 
> 
> so is the problem your test plan does not login successfully?
> 
> if it is logging successfully, you have to add a cookie 
> manager, otherwise it won't pass back the right cookies. I'm 
> guess that is happening, since there isn't enough information 
> in the email for me to figure out exactly what is happening.
> 
> peter
> 
> 
> On Tue, 10 Aug 2004 16:00:56 +0200, Giuseppe Ielpa 
> <[EMAIL PROTECTED]> wrote:
> > Dear All,
> > 
> >    I've been experimenting problems about redirection while 
> testing a 
> > web application .
> > 
> > I simulate the login to the application (POST via HTTP 
> request), then 
> > I'd like to load a resource (e.g. image) from the application 
> > performing a GET, but the application redirects me to a login page 
> > again. How can I work out a solution for this problem? Checking the 
> > "follow redirection" does not help,
> > since I have to login again and, to this end a POST action 
> is needed (I
> > can't use the login manager).
> > 
> > thanks
> > 
> > G.
> > 
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to