JMeter & DWR 2.0RC2 Addendum
The previous exposed tests have done with a milestone version of DWR 2. So with the new release candidate, there are several changes that affects the way we can use JMeter with DWR. Those changes forces us to:
- change the regular expresion to obtain the script session id value
dwr.engine._origScriptSessionId = '(.*)'; - make a jsp file to get the jsessionid value (now there isn’t a javascript variable with this value in engine.js)
- attach an XML XPath extractor or a regular expression extractor to the previous .jsp
The rest of procedures works perfect with this version.
See here the original article
Hi,
I’m trying to work through this very issue testing a new product. in your addendum of jan. 21, 2007, are you saying that you added a jsp to your application in order to resolve this issue?
Hi,
yes i do
the jsp is like:
Thanks for the advice you give here. I noticed that in the DWR setup we are running here (2.0.1) the dwr.engine._origScriptSessionId value is actually in double quotes (”), not single quotes, so the regex needs to reflect that.