We use Jmeter all the time to test our WO apps. The trick is to use the
Regular Expression Extractor component (located under Post Processors). Add
this component after the first WO page that creates the session id. Set the
following fields:

Reference Name: wovars
Regular Expression: /MyApp/WebObjects/MyApp.woa/wo/([^/]+)/
Template: $1$
Match No: 1
Default Value: ""

On your jmeter scripts replace the session id with this

path: /MyApp/WebObjects/MyApp/woa/wo/${wovars_g1}/1.1.x.x.x

Make sure your thread group is set to start a new session for each
iteration.

HTH

Dov Rosenberg


On 5/8/09 6:05 PM, "Antoine LAGIER" <[email protected]> wrote:

> We try to use a simple test with Jmeter to test a WO dev.
> 
> - In this script we try to connect to the site
> 
> /cgi-bin/WebObjects/myapp.woa/
> 
> - Login with a account :
> 
> /cgi-bin/WebObjects/myapp.woa/2/wa/LoginAction/doLogin
> 
> so we need to get and set the wosid (wosid =
> 3V8YgnSQikFjJleLOXbGzw )   and to get and set  the number of the
> instance (/2  ) in the Jmeter process
> 
> We are looking for any help, any example script to do this test
> 
> Regards,
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/drosenberg%40inquira.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to