• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using Jmeter to test WO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Jmeter to test WO


  • Subject: Re: Using Jmeter to test WO
  • From: Dov Rosenberg <email@hidden>
  • Date: Sat, 09 May 2009 15:16:20 -0400
  • Thread-topic: Using Jmeter to test WO

Title: Re: Using Jmeter to test WO
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@hidden> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Using Jmeter to test WO (From: Antoine LAGIER <email@hidden>)

  • Prev by Date: Re: Using Jmeter to test WO
  • Next by Date: [OT]httpd: Could not reliably determine the server's fully qualified domain name
  • Previous by thread: Re: Using Jmeter to test WO
  • Next by thread: nyroModal jQuery plugin & WebObjects (+ Wonder Ajax-y goodness)
  • Index(es):
    • Date
    • Thread