You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Michael Schwarz <ms...@stud.hs-heilbronn.de> on 2007/06/01 09:54:29 UTC

"Non HTTP response code" on javascript application

hi list,

I want to measure the load time of my web application. I created a
testplan with an http-request. At the first run in a loop I get a load
time around 2000 and the notice: Non HTTP response code. Later the time
of the result is 0 and the same notice. It's an Javascript application
(kamap based on UMN Mapserver) in which the javascript methods start several php-files
and they load images on the website. What can I do to measure the
performance of this application? Can Jmeter do this job or do you know
another web load tool to get the load time?

Sorry for my english. It's not my native language...

Thanks
Michael Schwarz



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: "Non HTTP response code" on javascript application

Posted by sebb <se...@gmail.com>.
On 04/06/07, Michael Schwarz <ms...@stud.hs-heilbronn.de> wrote:
> hey,
> fine it works. I am able to record my request. All requested files are
> listed.
> Now i want to get the duration from first element until the last element
> is loaded. First i thought of just adding the loadtime of each element.
> By doing this I won't get the real total load time of the application.
> The elements are requested parallel.
> Ahh i see You have mentioned that already
> >>Note that JMeter does not at present support parallel downloads in a
> single thread.
>
> So I won't get the total loadtime? Am I right??? :(

You can add a Transaction Controller as the parent of all the
samplers; it will generate a sample that spans the time it takes to
process all it's children. However, that does not add anything that
you could not do yourself from the log file.


> Do you know another load tool which supports parallel downloads?

Sorry, no.

We may add parallel downloads of embedded resources at some point.

In the meantime, all I can suggest (if you are using JMeter) is to
look at the download times for the embedded resources. Add the longest
time to the download time of the parent page to get some idea of the
minimum time needed to do a parallel download.

This assumes that the parent page is fully downloaded before any
embedded resources, and that the embedded resources can be downloaded
in parallel without affecting each other.

A real browser may start downloading embedded resources before the
parent page is fully downloaded, and of parallel downloads may slow
each other down.

But the calculation may give a better idea of the download time.

Note that a real browser also has to render the page once it has
downloaded the elements.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: "Non HTTP response code" on javascript application

Posted by Michael Schwarz <ms...@stud.hs-heilbronn.de>.
hey,
fine it works. I am able to record my request. All requested files are
listed.
Now i want to get the duration from first element until the last element
is loaded. First i thought of just adding the loadtime of each element.
By doing this I won't get the real total load time of the application.
The elements are requested parallel.
Ahh i see You have mentioned that already
>>Note that JMeter does not at present support parallel downloads in a
single thread.

So I won't get the total loadtime? Am I right??? :(

Do you know another load tool which supports parallel downloads?
 
Nice to hear, that my english isn's such as bad... :)


sebb schrieb:
> On 01/06/07, Michael Schwarz <ms...@stud.hs-heilbronn.de> wrote:
>> hi list,
>>
>> I want to measure the load time of my web application. I created a
>> testplan with an http-request. At the first run in a loop I get a load
>> time around 2000 and the notice: Non HTTP response code. Later the time
>> of the result is 0 and the same notice.
>
> Check the jmeter.log file for further information about the cause.
> Also add a Tree View Listener and check the responses.
>
>> It's an Javascript application
>> (kamap based on UMN Mapserver) in which the javascript methods start
>> several php-files
>> and they load images on the website. What can I do to measure the
>> performance of this application? Can Jmeter do this job or do you know
>> another web load tool to get the load time?
>
> JMeter does not interpret Javascript in web-pages. So you either have
> to work out what the Javascript is doing and add the samples yourself,
> or record the actions of a real browser.
>
> To record the actions of a browser you can use the JMeter Proxy, or
> there are various 3rd party addons such as Badboy (IE only). Firefox
> has Live HTTP headers and others.
>
> There are also standalone proxies; see the JMeter Wiki for some ideas.
>
> Note that JMeter does not at present support parallel downloads in a
> single thread.
>
>> Sorry for my english. It's not my native language...
>
> You write it rather better than some natives I've encountered...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: "Non HTTP response code" on javascript application

Posted by sebb <se...@gmail.com>.
On 01/06/07, Michael Schwarz <ms...@stud.hs-heilbronn.de> wrote:
> hi list,
>
> I want to measure the load time of my web application. I created a
> testplan with an http-request. At the first run in a loop I get a load
> time around 2000 and the notice: Non HTTP response code. Later the time
> of the result is 0 and the same notice.

Check the jmeter.log file for further information about the cause.
Also add a Tree View Listener and check the responses.

> It's an Javascript application
> (kamap based on UMN Mapserver) in which the javascript methods start several php-files
> and they load images on the website. What can I do to measure the
> performance of this application? Can Jmeter do this job or do you know
> another web load tool to get the load time?

JMeter does not interpret Javascript in web-pages. So you either have
to work out what the Javascript is doing and add the samples yourself,
or record the actions of a real browser.

To record the actions of a browser you can use the JMeter Proxy, or
there are various 3rd party addons such as Badboy (IE only). Firefox
has Live HTTP headers and others.

There are also standalone proxies; see the JMeter Wiki for some ideas.

Note that JMeter does not at present support parallel downloads in a
single thread.

> Sorry for my english. It's not my native language...

You write it rather better than some natives I've encountered...

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org