Changes for page Testing-Load Testing WO Apps with JMeter
Last modified by Pascal Robert on 2012/03/09 15:20
From version 8.1
edited by smmccraw
on 2007/07/08 10:32
on 2007/07/08 10:32
Change comment:
There is no comment for this version
To version 9.1
edited by Pascal Robert
on 2007/09/03 21:21
on 2007/09/03 21:21
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Programming__WebObjects-Testing-Load Testing WO Apps with JMeter1 +Testing-Load Testing WO Apps with JMeter - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. smmccraw1 +XWiki.probert - Content
-
... ... @@ -7,24 +7,25 @@ 7 7 8 8 Happily, these two critical pieces of information can be retrieved in a single step by adding a Regular Expression Extractor to the first HTTP Request node that hits your application. Use a regular expression like this: 9 9 10 -{{ panel}}10 +{{code}} 11 11 12 - 12 +/cgi-bin/WebObjects/MyApp.woa/([-0-9]+)/wo/([^/]+) 13 13 14 -{{/ panel}}14 +{{/code}} 15 15 16 16 And a template like this: 17 17 18 -{{ panel}}18 +{{code}} 19 19 20 - 20 +$1$$2$ 21 21 22 -{{/ panel}}22 +{{/code}} 23 23 24 -Set Match No. to 1 and Default Value to "" (blank). Then, set the Reference Name to whatever name you want to use, for example, "sessionid". The instance number will then be available to future test steps as ${{sessionid_g1}}{{/sessionid_g1}} and the session ID as ${{sessionid_g2}}{{/sessionid_g2}}. Your second HTTP Request, for example, might have a URL of: 24 +Set Match No. to 1 and Default Value to "" (blank). Then, set the Reference Name to whatever name you want to use, for example, "sessionid". The instance number will then be available to future test steps as $ 25 +sessionid//g1 and the session ID as $sessionid//g2. Your second HTTP Request, for example, might have a URL of: 25 25 26 -{{ panel}}27 +{{code}} 27 27 28 - 29 +/cgi-bin/WebObjects/MyApp.woa/${sessionid_g1}/wo/${sessionid_g2}/0.0.13.3 29 29 30 -{{/ panel}}31 +{{/code}}