Hello We want to test our application with jmeter. We use orbeon
3.7.1 to make this webapp. We saved one scenario, and now, we want to change the value
of the input of the forms into Jmeter, in order to have several scenario. But, the change has no effect. I think that the data was
stored into "instance" of forms, and this instance can only be update
with ajax, but jmeter doesn't support javascript. So, how to make several scenario with jmeter ? I hope you understand my questions, because i'm a french
user of orbeon, and i don't speak a good english. Thank You. Julien. Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Julien,
Testing Ajax requests with JMeter is not straightforward. Setting oxf.xforms.state-handling to client, your Ajax requests will have all the information needed by the server to run them, so you can take an Ajax request sent by your browser and simulate sending it over and over again with the SOAP/XML-RPC Request sampler in JMeter. To do this better, you'll want to include a counter in JMeter, and use the value of this counter in the XML you send to the server. Also make sure you include an HTTP Cookie Manager in your JMeter config, otherwise Orbeon Forms will create a new session at every request (which will be inefficient, and your VM will quickly run out of RAM). Alex On Tue, Apr 20, 2010 at 2:32 AM, Bittard, Julien <[hidden email]> wrote: > Hello > > > > We want to test our application with jmeter. We use orbeon 3.7.1 to make > this webapp. > > We saved one scenario, and now, we want to change the value of the input of > the forms into Jmeter, in order to have several scenario. > > But, the change has no effect. I think that the data was stored into > "instance" of forms, and this instance can only be update with ajax, but > jmeter doesn't support javascript. > > So, how to make several scenario with jmeter ? > > > > I hope you understand my questions, because i'm a french user of orbeon, and > i don't speak a good english. > > > > Thank You. > > > > Julien. > > Please help Logica to respect the environment by not printing this email / > Pour contribuer comme Logica au respect de l'environnement, merci de ne pas > imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen > Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a > respeitar o ambiente não imprimindo este correio electrónico. This e-mail > and any attachment is for authorised use by the intended recipient(s) only. > It may contain proprietary material, confidential information and/or be > subject to legal privilege. It should not be copied, disclosed to, retained > or used by, any other party. If you are not an intended recipient then > please promptly delete this e-mail and any attachment and all copies and > inform the sender. Thank you. > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
In reply to this post by ricetrac
JMeter can record AJAX calls using bundled HTTP(S) Script Recorder however during replay JMeter will execute captured requests sequentially and this is not now browsers work. In order to send 1 main request followed by N parallel AJAX requests you'll need to implement it via JSR223 Sampler or even custom sampler.
See How to Load Test AJAX/XHR Enabled Sites With JMeter guide for comprehensive explanation and implementation instructions. |
Free forum by Nabble | Edit this page |