Hi Atmoshin:
Did you have any luck solving this issue? Any tip about it? I have the same
problem and I am not able to find an answer...
Thanks in advance for any help!
atmohsin wrote:
>
> Hi,
> I have recoreded the scinarion for in Jmeter for the application which
> has ajax dwr calls. when i ran the scripts i am not getting the expected
> result as i get from the manual testing. i did the following set up
>
> In the engine.js HTTP Request, attach two Regular Expresion Post Processor
> with:
>
> Reference Name: HTTPSESSIONID
> Regular Expression: DWREngine._httpSessionId = “(.*)”;
> Template: $1$
> Reference Name: SCRIPTSESSIONID
> Regular Expression: DWREngine._scriptSessionId = “(.*)”;
> Template: $1$
>
> but then also getting the same result.
>
> Here is the request and response
>
> Here is the dwr request from Jmeter
>
> callCount=${input}
> page=/scimitar-1.0/mappingScreenControls.htm?scrName=&defineScreenType=Choose+Type...&descScreen=&scrId=&scrTypeId=&depIds=&hdnParent=&chkMarkInActive=on&chkDeleteTestRun=on&screenId=292
> httpSessionId=${JSESSIONID} scriptSessionId=${SCRIPTSESSIONID}
> c0-scriptName=testCaseManager c0-methodName=saveSreenElementDetails
> c0-id=0
> c0-param0=string:%3Csavescreenelement%3E%3Ccontrol%3E%3CactionPerformed%3E2%3C%2FactionPerformed%3E%3CcontrolId%3E392%3C%2FcontrolId%3E%3ClogicalName%3Etesting%20updatededtesting%3C%2FlogicalName%3E%3CactualName%3E%5B%5D%5B%5D%3C%2FactualName%3E%3CcontrolTypeId%3E1%3C%2FcontrolTypeId%3E%3CdefaultAction%3E1%3C%2FdefaultAction%3E%3Cdescription%3E-%3C%2Fdescription%3E%3CscreenId%3E292%3C%2FscreenId%3E%3C%2Fcontrol%3E%3C%2Fsavescreenelement%3E
> c0-param1=number:67 batchId=0
>
>
> When I ran the Jmeter test
>
> Here is the result from the report
> Request goes
> POST data:
> callCount=1
> page=/scimitar-1.0/mappingScreenControls.htm?scrName=&defineScreenType=Choose+Type...&descScreen=&scrId=&scrTypeId=&depIds=&hdnParent=&chkMarkInActive=on&chkDeleteTestRun=on&screenId=292
> httpSessionId=679B526882E4DC37EBDC35A985FA9CA1
> scriptSessionId=EA27950ADDDA339813098C7328CC052A
> c0-scriptName=testCaseManager c0-methodName=saveSreenElementDetails
> c0-id=0
> c0-param0=string:%3Csavescreenelement%3E%3Ccontrol%3E%3CactionPerformed%3E2%3C%2FactionPerformed%3E%3CcontrolId%3E392%3C%2FcontrolId%3E%3ClogicalName%3Etesting%20updatededtesting%3C%2FlogicalName%3E%3CactualName%3E%5B%5D%5B%5D%3C%2FactualName%3E%3CcontrolTypeId%3E1%3C%2FcontrolTypeId%3E%3CdefaultAction%3E1%3C%2FdefaultAction%3E%3Cdescription%3E-%3C%2Fdescription%3E%3CscreenId%3E292%3C%2FscreenId%3E%3C%2Fcontrol%3E%3C%2Fsavescreenelement%3E
> c0-param1=number:67 batchId=0
>
> Response
> //#DWR-REPLY
> if (window.dwr) dwr.engine._remoteHandleBatchException({
> name:'org.directwebremoting.extend.ServerException', message:'The
> specified call count is not a number: 1
> page=/scimitar-1.0/mappingScreenControls.htm?scrName=' });
> else if (window.parent.dwr)
> window.parent.dwr.engine._remoteHandleBatchException({
> name:'org.directwebremoting.extend.ServerException', message:'The
> specified call count is not a number: 1
> page=/scimitar-1.0/mappingScreenControls.htm?scrName=' });
>
>
>
>
> Some exeption in the response of the dwr.
>
>
> If any one have infor pls let me know
>
> Mohsin
>
>
--
View this message in context:
http://www.nabble.com/Jmeter-with-dwr-ajax-calls-tp18109320p20504845.html
Sent from the JMeter - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]