Page: http://wiki.cocoondev.org/Wiki.jsp?page=Snippets , version: 24 on Mon Jul 
14 20:59:14 2003 by CODonovan

+ !Load Testing Flow With JMeter
+ An [example|LoadTestingFlowWithJMeter] JMeter script for testing flow with 
continuations.
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=LoadTestingFlowWithJMeter , 
version: 1 on Mon Jul 14 20:55:43 2003 by CODonovan

New page created:
+ [Apache JMeter|http://jakarta.apache.org/jmeter/index.html] can be used to 
test performance of web sites amongst other things.
+ JMeter supports 
[Post-Processors|http://jakarta.apache.org/jmeter/usermanual/test_plan.html#postprocessors]
 which can be used with regular expressions to extract data from a web servers 
response and then used in the next request. We can use this feature to extract 
continuation id's enabling us to load test Flow with Continuations.
+ 
+ The attached JMeter script provides an example of testing the calculator flow 
example. If you use cocoon.sh/cocoon.bat to run Cocoon in Jetty then the script 
is ready to go. Simply start Jetty (cocoon.bat/sh servlet) and JMeter. Load the 
script into JMeter and select Run -> Start from JMeters menu.
+ 
+ The example script is setup to test the XSP version of the calculator flow, 
to test the Garbage version replace 'samples/flow/calc/' with 
'samples/garbage/calc/' in each '* Request' elements path.
+ 
+ If your test server is not on localhost port 8888 then you'll need to edit 
JMeter's 'HTTP Request Defaults' element to reflect this. Also, if Cocoon is 
not deployed on your servers root context you'll need to update all the '* 
Request' elements to reflect this.
+ 
+ The example script was built in and has only be tested on 
jakarta-jmeter-1.9.RC2. For more information about using JMeter see the JMeter 
[User's Manual|http://jakarta.apache.org/jmeter/usermanual/index.html]
+ 
+  
+ 


Reply via email to