Daniel,

Are you using the HTTP Proxy to record your test plan?  The DWR calls should
be recorded there.  Have you searched this list's archives for more info on
JMeter and AJAX/DWR.  I seem to recall seeing related questions.

Regards,

Matt C.

-----Original Message-----
From: Rickardsson Daniel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 22, 2007 10:50 AM
To: JMeter Users List
Subject: SV: Calling a javascript from JMeter?

Hi!
Thanks for a fast aswer to my question.
My problem is actually that out javascripts calls our javacode via DWR
(Ajax).
And on our server side we use Spring framework with its controllers...
Hmmm... I need to fire a ajax-call. Any way to accomplish that?!
/Daniel
 
________________________________

Från: Matthew Coventon [mailto:[EMAIL PROTECTED]
Skickat: to 2007-03-22 16:34
Till: 'JMeter Users List'
Ämne: RE: Calling a javascript from JMeter?



Daniel,

JMeter does not have a way to execute Javascript.  But, do your Javascript
functions generate some HTTP requests?  If so, the best way is to
record/playback those HTTP requests and not worry about the Javascript
execution.  Or if the Javascript is changing a value in a form on the page
that is going to be used as part of an HTTP request later, just modify the
value in the actual HTTP request that is sent...no need to have the
Javascript actually execute.

>From a performance testing perspective, it is OK to not execute the
Javascript because it is run on the client side.

Regards,

Matt C.

-----Original Message-----
From: Rickardsson Daniel [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 10:25 AM
To: [email protected]
Subject: Calling a javascript from JMeter?

Hi!

Is there any way to call a javascript from JMeter?!

I have an application that calls a javascript function when you selects a
value in a select list. We have an onchange-event that fires off.

I also need to call/simulate a click on a link that fires off a call to a
javascript function.

If you have any experience of this, please come back to me.

/Daniel.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to