Hi! Below you see some warnings and errors from my logfile... have I missed something in my set-up of JMeter?! I don't understand the first warnings because I don't do any https-requests. But the last two lines... those are for my dwr-calls (ajax) that should populate/fill my drop-lists. 2007/03/23 13:05:07 WARN - jmeter.protocol.http.sampler.HTTPSampler: You may have forgotten to set the ssl.provider property in jmeter.properties java.lang.IllegalStateException: SSLContextImpl is not initialized at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(Unknown Source) at javax.net.ssl.SSLContext.getSocketFactory(Unknown Source) at com.sun.net.ssl.SSLContextSpiWrapper.engineGetSocketFactory(Unknown Source) at com.sun.net.ssl.SSLContext.getSocketFactory(Unknown Source) at org.apache.jmeter.util.JsseSSLManager.setContext(JsseSSLManager.java:101) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:160) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:404) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112) 2007/03/23 13:05:11 WARN - jmeter.protocol.http.sampler.HTTPSampler: You may have forgotten to set the ssl.provider property in jmeter.properties java.lang.IllegalStateException: SSLContextImpl is not initialized at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(Unknown Source) at javax.net.ssl.SSLContext.getSocketFactory(Unknown Source) at com.sun.net.ssl.SSLContextSpiWrapper.engineGetSocketFactory(Unknown Source) at com.sun.net.ssl.SSLContext.getSocketFactory(Unknown Source) at org.apache.jmeter.util.JsseSSLManager.setContext(JsseSSLManager.java:101) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:160) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:404) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112) 2007/03/23 13:05:11 WARN - jmeter.protocol.http.sampler.HTTPSampler: You may have forgotten to set the ssl.provider property in jmeter.properties java.lang.IllegalStateException: SSLContextImpl is not initialized at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(Unknown Source) at javax.net.ssl.SSLContext.getSocketFactory(Unknown Source) at com.sun.net.ssl.SSLContextSpiWrapper.engineGetSocketFactory(Unknown Source) at com.sun.net.ssl.SSLContext.getSocketFactory(Unknown Source) at org.apache.jmeter.util.JsseSSLManager.setContext(JsseSSLManager.java:101) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:160) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:404) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112) 2007/03/23 13:05:18 ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/arkivsok/s/exec/SearchClass.getCountys.dwr <http://localhost:8080/arkivsok/s/exec/SearchClass.getCountys.dwr> 2007/03/23 13:05:18 ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/arkivsok/s/exec/PropertyClass.getPropertyValues.dwr <http://localhost:8080/arkivsok/s/exec/PropertyClass.getPropertyValues.dwr>
________________________________ Från: Nino Wael [mailto:[EMAIL PROTECTED] Skickat: fr 2007-03-23 12:11 Till: JMeter Users List Ämne: SV: Calling a javascript from JMeter? I've never expirenced this when recording, only during replay. Could it be that the http request are in an incorrect order? ________________________________ Fra: Rickardsson Daniel [mailto:[EMAIL PROTECTED] Sendt: fr 23-03-2007 11:23 Til: JMeter Users List Emne: SV: Calling a javascript from JMeter? Hi! I have followed your conversation and I'm dealing with a similar problem. I have a strange behaviour when I run my JMeter Proxy for recording a test scenario. My drop-down lists should be loaded with data via an ajax/dwr call when my page is loaded. But when I set up my browser (proxy settings/LAN config...) and runs my application the drop-downs is empty!!!!!! It seems that there is some browser LAN settings problem! Anyone has any idea?! /Daniel. ________________________________ Från: Nino Wael [mailto:[EMAIL PROTECTED] Skickat: fr 2007-03-23 11:02 Till: JMeter Users List Ämne: SV: Calling a javascript from JMeter? Argh the html got striped, I've indented instead. ________________________________ Fra: Nino Wael [mailto:[EMAIL PROTECTED] Sendt: fr 23-03-2007 10:57 Til: JMeter Users List; JMeter Users List Emne: SV: Calling a javascript from JMeter? my comments in red:) ________________________________ Fra: sebb [mailto:[EMAIL PROTECTED] Sendt: fr 23-03-2007 10:18 Til: JMeter Users List Emne: Re: Calling a javascript from JMeter? On 23/03/07, Nino Wael <[EMAIL PROTECTED]> wrote: > While I do know this, im a little querious. I have also a scenario where some > ajax scripts are called (jmeter's http proxy catched the http requests), some > times it seems that the ajax http request does not complete it's processing > before jmeter continues to the next http request. >>Are you talking about the Proxy recording session here, or when you >>re-run the test? Sorry, I meant re-run the test > Are there anyway to force jmeter to wait for processing to finish(or are this > done by default)? > > what happens are this(simplyfied example): > > 1.user selects cars from the vehicle dropdown > 2.Ajax request updates the vehicle list > 3.user selects opel from the vehicle list > > So when 2 sometimes does not go thorough, the step 3 cant be done. >>Surely you just need to make sure that the person developing the test >>waits until step 2 has completed? Yes, but this are done, sometimes it just seems that the AJAX request fails to complete. On the real page there are several ajax requests, but it's always the first one that fails when it fails. I sorta figured that it should be somewhat random which one that fails. > > Are there any one who has some comments on this? > > We have never expirenced that step 2 would'nt run, out side the JMeter > test(but that could be that the system has'nt such hard a load in real life > as under the jmeter test). >>JMeter always completes a sample before moving on to the next in the thread. >>Check for sample errors. jup that was how I discovered the problem, the page complains that you cant goto the next page without selecting a vehicle from the vechicle list >>Also try running a single thread and see how that works. Running a thread group with only a single thread never gives errors, I'll try this more extensively. > regards Nino > > ________________________________ > > Fra: sebb [mailto:[EMAIL PROTECTED] > Sendt: to 22-03-2007 17:14 > Til: JMeter Users List > Emne: Re: Calling a javascript from JMeter? > > > > The browser still generates an HTTP request which can be recorded by > the JMeter proxy. > > > On 22/03/07, Rickardsson Daniel <[EMAIL PROTECTED]> wrote: > > 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] > > > > --------------------------------------------------------------------- > 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] > --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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]

