You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Raffaele Viola <ra...@gmail.com> on 2006/01/19 11:45:13 UTC

Thread and jsessionid

Hi all,

Can I with jmeter force all teh thread of a thread group to use the same
jsessionid?

Thanks
-raffo

Re: cookie manager on 2.0.3 vs. 2.1.1

Posted by sebb <se...@gmail.com>.
Turns out the problem was caused by a stack overflow.

This disappeared when "Retrieve Embedded Resources" was unchecked.

HtmlParser code is suspected, but we have been unable to pin it down...

S.
On 24/01/06, sebb <se...@gmail.com> wrote:
> On 23/01/06, Stephanie Fuller <sf...@spearheadinnovations.com> wrote:
> > I have 2.0.3 test plan that logs into my web application and uses an HTTP
> > Request to execute a jsp file to display an image in my application's file
> > system.
> > When I run that test plan under JMeter 2.1.1, I can't get any of the files
> > to display or download.  In JMeter 2.0.3, the View Results Tree display
> > lists several objects on the page (icons, etc...) and I can view them.  In
> > JMeter 2.1.1, it acts as if the cookie manager isn't remembering that I have
> > logged in because I can only see the login screen for my application.  I am
> > using the exact same test script on both JMeters.
> >
> > I can understand that a 2.0.3 test script might not be fully compatible with
> > 2.1.1, but I have also completely recreated a new test script for 2.1.1 that
> > has all the same elements and settings.
> >
> > Thank you for any suggestions?
>
> Are you saying that some elements of the 2.0.3 script are not present
> when loaded in 2.1.1 ?  The scripts are supposed to be upwards
> compatible.
>
> Are there any error messages in jmeter.log?
>
> Have you a test script you can share? It would be useful if you could
> create a Bugzilla issue and attach the failing script.
>
> There were some changes to cookie handling between 2.0.3 and 2.1.1, so
> perhaps that is causing a problem.
>
> If you add the property
>
> log_level.jmeter.protocol.http.control=DEBUG
>
> to jmeter.properties this should give some information on the cookie
> handling (it's not all that easy to follow, unfortunately).
>
> S.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: cookie manager on 2.0.3 vs. 2.1.1

Posted by sebb <se...@gmail.com>.
On 23/01/06, Stephanie Fuller <sf...@spearheadinnovations.com> wrote:
> I have 2.0.3 test plan that logs into my web application and uses an HTTP
> Request to execute a jsp file to display an image in my application's file
> system.
> When I run that test plan under JMeter 2.1.1, I can't get any of the files
> to display or download.  In JMeter 2.0.3, the View Results Tree display
> lists several objects on the page (icons, etc...) and I can view them.  In
> JMeter 2.1.1, it acts as if the cookie manager isn't remembering that I have
> logged in because I can only see the login screen for my application.  I am
> using the exact same test script on both JMeters.
>
> I can understand that a 2.0.3 test script might not be fully compatible with
> 2.1.1, but I have also completely recreated a new test script for 2.1.1 that
> has all the same elements and settings.
>
> Thank you for any suggestions?

Are you saying that some elements of the 2.0.3 script are not present
when loaded in 2.1.1 ?  The scripts are supposed to be upwards
compatible.

Are there any error messages in jmeter.log?

Have you a test script you can share? It would be useful if you could
create a Bugzilla issue and attach the failing script.

There were some changes to cookie handling between 2.0.3 and 2.1.1, so
perhaps that is causing a problem.

If you add the property

log_level.jmeter.protocol.http.control=DEBUG

to jmeter.properties this should give some information on the cookie
handling (it's not all that easy to follow, unfortunately).

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


cookie manager on 2.0.3 vs. 2.1.1

Posted by Stephanie Fuller <sf...@spearheadinnovations.com>.
I have 2.0.3 test plan that logs into my web application and uses an HTTP
Request to execute a jsp file to display an image in my application's file
system.
When I run that test plan under JMeter 2.1.1, I can't get any of the files
to display or download.  In JMeter 2.0.3, the View Results Tree display
lists several objects on the page (icons, etc...) and I can view them.  In
JMeter 2.1.1, it acts as if the cookie manager isn't remembering that I have
logged in because I can only see the login screen for my application.  I am
using the exact same test script on both JMeters. 

I can understand that a 2.0.3 test script might not be fully compatible with
2.1.1, but I have also completely recreated a new test script for 2.1.1 that
has all the same elements and settings.

Thank you for any suggestions?

Stephanie Fuller
 


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Thread and jsessionid

Posted by Stephanie Fuller <sf...@spearheadinnovations.com>.
Perhaps you could try using the Once Only Controller to have your JMeter
script login only once.
I do that, and define 1 thread with a loop count of 30 and the other steps
in my script execute 30 times using the JSESSIONID of the login.

Stephanie Fuller
 
-----Original Message-----
From: Raffaele Viola [mailto:raffovi@gmail.com] 
Sent: Thursday, January 19, 2006 3:45 AM
To: JMeter Users List
Subject: Thread and jsessionid

Hi all,

Can I with jmeter force all teh thread of a thread group to use the same
jsessionid?

Thanks
-raffo


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org