ok, now I'm more confused :) if I understand the facts correctly. 1. the logic uses cookies 2. you can login using a browser 3. jmeter can login successfully, but it gets redirected 4. the browser scenario makes sense to me, since the second browser does not have the session data and is therefore no logged in 5. it sounds like the cookie is not getting saved correctly and sent to the server
Is that an accurate summary? peter On Tue, 10 Aug 2004 16:17:24 +0200, Giuseppe Ielpa <[EMAIL PROTECTED]> wrote: > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

