Hi then compare every request/response pair from JMeter (view results tree) with browser (an y trace tool) - parameters, headers , urls etc.
regards deepak On Thu, May 24, 2012 at 8:05 PM, Vishal Patel <[email protected]> wrote: > Deepak, > Yes, I can see switching in browser itself. So confirmed that all the > requests redirects to http and coming back to https. > > Robin, > I tried as you suggested to save cookies but looks like my prob is somewhat > different but thanks for suggesting something around it. > > with regards, > Vishal. > > On Fri, May 25, 2012 at 3:39 AM, Robin D. Wilson <[email protected]> > wrote: > > > Vishal, > > > > I reported a similar problem - but mine was related to setting more than > > one cookie (in JMeter 2.6 - the problem didn't happen in > > JM2.4). > > > > I found this setting solved my problem: > > > > # Setting to force JMeter to save cookie values in variables named > > "COOKIE_..." > > CookieManager.save.cookies=true > > > > I put this in the 'user.properties' file in the JMeter 'bin' folder - and > > cookies started working again. > > > > Not sure if it matters to your case, but it is worth trying. > > > > -- > > Robin D. Wilson > > Sr. Director of Web Development > > KingsIsle Entertainment, Inc. > > VOICE: 512-777-1861 > > www.KingsIsle.com > > > > > > -----Original Message----- > > From: Vishal Patel [mailto:[email protected]] > > Sent: Thursday, May 24, 2012 1:09 PM > > To: JMeter Users List > > Subject: Re: HTTPS Multithread Invalidates JSessions > > > > There is no cookie being marked as secure cookies. But I will check it > and > > also redirects from server side. > > > > On Thu, May 24, 2012 at 11:25 PM, Deepak Shetty <[email protected]> > wrote: > > > > > did you use follow redirects? (dont use redirect automatically) > > > Also check if some cookies ar ebeing marked as secure cookies or > > something > > > > > > On Thu, May 24, 2012 at 10:51 AM, Vishal Patel <[email protected]> > > > wrote: > > > > > > > Its started failing as soon as we do just 3 simultaneous thread. > > > > > > > > We also observed on the serve side that it flip-flops(redirects) > > between > > > > "https" & "http". Can that be a issue of invalidating JSession? > > > > > > > > On Thu, May 24, 2012 at 11:15 PM, sebb <[email protected]> wrote: > > > > > > > > > On 24 May 2012 18:41, Vishal Patel <[email protected]> wrote: > > > > > > I have tested in all of them. It fails on all. > > > > > > > > > > In that case, I suspect that the server is having problems handling > > > > > the extra load imposed by SSL. > > > > > > > > > > Check the server logs. > > > > > > > > > > > On Thu, May 24, 2012 at 11:00 PM, sebb <[email protected]> wrote: > > > > > > > > > > > >> On 24 May 2012 18:27, Vishal Patel <[email protected]> wrote: > > > > > >> > Thanks for you consideration. > > > > > >> > > > > > > >> > JMeter version: 2.6 > > > > > >> > Java version: 1.6.0_31 > > > > > >> > Sampler: HTTP Request > > > > > >> > > > > > >> Yes, but which implementation of the HTTP Request? > > > > > >> > > > > > >> Java, HC3.1 or HC4 ? > > > > > >> > > > > > >> > Here is the structure of the Test: > > > > > >> > Test Plan > > > > > >> > > Thread Group > > > > > >> > > CSV Data Set > > > > > >> > > HTTP Cookie Manager > > > > > >> > > HTTP Request Defaults > > > > > >> > > Simple Controller > > > > > >> > > HTTP Request > > > > > >> > > HTTP Request > > > > > >> > > HTTP Request > > > > > >> > .... > > > > > >> > > HTTP Request > > > > > >> > > > > > > >> > > > > > > >> > Thanks, > > > > > >> > Vishal. > > > > > >> > > > > > > >> > On Thu, May 24, 2012 at 10:50 PM, sebb <[email protected]> > > wrote: > > > > > >> > > > > > > >> >> On 23 May 2012 07:26, Vishal Patel <[email protected]> > > wrote: > > > > > >> >> > Hi, > > > > > >> >> > > > > > > >> >> > I am using JMeter script to run 100+ threads on HTTP > > > environment > > > > > and > > > > > >> >> > works like charm. As soon as I move test script to point > > > > identical > > > > > >> >> > HTTPS environment, it starts invalidating sessions just > after > > > 3+ > > > > > >> >> > simultaneous threads. > > > > > >> >> > > > > > > >> >> > Here is the config. > > > > > >> >> > - Cookie Manager: clearing cookie on each iteration. > > > > > >> >> > - Cookie Manger: compatibility policy (Have tried all the > > > > > >> combination.) > > > > > >> >> > - Protocol: https, Port: 443 > > > > > >> >> > - Reading dynamic login information from CSV config data. > > > > > >> >> > > > > > >> >> JMeter version? > > > > > >> >> Java version? > > > > > >> >> > > > > > >> >> Which HTTP Sampler are you using? > > > > > >> >> > > > > > >> >> > > > > > > >> >> > Apart from HTTP vs HTTPS there is no difference at all > > between > > > > both > > > > > >> >> > the environments. > > > > > >> >> > > > > > >> >> > > > > --------------------------------------------------------------------- > > > > > >> >> To unsubscribe, e-mail: [email protected] > > > > > >> >> For additional commands, e-mail: [email protected] > > > > > >> >> > > > > > >> >> > > > > > >> > > > > > > >> > > > > > > >> > -- > > > > > >> > > > > > > >> > Thanks, > > > > > >> > Vishal. > > > > > >> > > > > > >> > > > --------------------------------------------------------------------- > > > > > >> To unsubscribe, e-mail: [email protected] > > > > > >> For additional commands, e-mail: [email protected] > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > Thanks, > > > > > > Vishal. > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [email protected] > > > > > For additional commands, e-mail: [email protected] > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Thanks, > > > > Vishal. > > > > > > > > > > > > > > > -- > > > > Thanks, > > Vishal. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > -- > > Thanks, > Vishal. >
