It is ideal to eliminate javascript execution from your performance test. The performance of javascript execution is variable, based upon client-side factors, such as browser, and platform. The metrics that you will likely want to report are:
- The total time to download each embedded resource (CSS, javascript, images, etc...). This type of sub-request is a HTTP GET request.You will need to save results as XML, this will be the elapsed value of the sub-requests. - Overall page load time. This is the elapsed value of each parent request. - If a page returns any type of query (usually as the response to a POST), you will want the time to return the query results, exclusive of embeded resources. This would be the response time of the first request, which is the parent node in the XML results. This will be the latency value of the parent request. On Mon, Jul 6, 2009 at 5:01 AM, Noel O'Brien <[email protected]> wrote: > In the HTTP Sampler that's making the request, try checking the "Retrieve > all embedded resources from HTML files". This will ensure that images, JS > files, CSS files, etc. are retrieved from the server. > > Regards, > Noel > > ----- "Jmeter_User" <[email protected]> wrote: > > > > Thanks for your reply. > > The application which I am testing is a web application built in > Sharepoint > > with java scripts in each page. Its kind off search engine, each time I > > search something ,the results will be displayed and at the top of the > page > > there is a navigation bar, which I presume is a static java script, which > is > > getting failed to load with the error "The browser has Javascript > disabled". > > The problem what I am facing is, I am getting the response time of the > > search result page, but the response time shown by Jmeter is less > compared > > to Load Runner for the same search. > > I felt this may be due to not able to download the navigation bar in > Jmeter, > > but in case of Load Runner it is showing the complete page with images > and > > navigation bar. > > > > > > > > > > > > Noel O'Brien wrote: > > > > > > AFAIK, JMeter can only measure the time taken to retrieve resources > from a > > > server. It cannot measure the time to execute JS, render a webpage, > etc. > > > so it is probably not the appropriate test tool if that's what you're > > > trying to achieve. > > > > > > Regards, > > > Noel > > > > > > ----- "Jmeter_User" <[email protected]> wrote: > > >> > > >> Thanks Noel for the pointer. > > >> I gone through that section. > > >> > > >> Can you please tell me, if that is the case, how can we find out the > > >> exact > > >> response time of a transaction or a page, if the html page is having > java > > >> scripts. Is its advisable not to use jmeter for such applications? > > >> > > >> > > >> Noel O'Brien wrote: > > >> > > > >> > Hi, > > >> > > > >> > See the "JMeter is not a Browser" section here: > > >> > http://jakarta.apache.org/jmeter/index.html > > >> > > > >> > Regards, > > >> > Noel > > >> > > > >> > ----- "Jmeter_User" <[email protected]> wrote: > > >> >> > > >> >> Hi All, > > >> >> I am getting error "The browser has JavaScript disabled," while > > >> running > > >> >> test using Jmeter for a web based application. > > >> >> This error is caused by Jmeter, Does Jmeter uses its own internal > > >> >> browser, > > >> >> like other performance test tools for eg: Load Runner and Silk > > >> Performer > > >> >> to > > >> >> simulate load of browser? > > >> >> I am not sure if I change the Internet Explorer setting of my > system > > >> to > > >> >> enable the java scripts, is it goign to solve the error which I am > > >> >> getting > > >> >> using Jmeter in "View Results Tree". > > >> >> > > >> >> Please let me know if there is any way I can avoid that error. > > >> >> > > >> >> Thanks in advance. > > >> >> > > >> >> -- > > >> >> View this message in context: > > >> >> > > >> > http://www.nabble.com/The-browser-has-JavaScript-disabled-error-in-view-results-tree-tp24350435p24350435.html > > >> >> Sent from the JMeter - User mailing list archive at Nabble.com. > > >> >> > > >> >> > > >> >> > --------------------------------------------------------------------- > > >> >> To unsubscribe, e-mail: [email protected] > > >> >> For additional commands, e-mail: > [email protected] > > >> >> > > >> >> > > >> > > > >> > -- > > >> > Regards, > > >> > Noel > > >> > > > >> > > > >> > > >> -- > > >> View this message in context: > > >> > http://www.nabble.com/The-browser-has-JavaScript-disabled-error-in-view-results-tree-tp24350435p24351696.html > > >> Sent from the JMeter - User mailing list archive at Nabble.com. > > >> > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: [email protected] > > >> For additional commands, e-mail: [email protected] > > >> > > >> > > > > > > -- > > > Regards, > > > Noel > > > > > > > > > > -- > > View this message in context: > http://www.nabble.com/The-browser-has-JavaScript-disabled-error-in-view-results-tree-tp24350435p24351947.html > > Sent from the JMeter - User mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > -- > Regards, > Noel >

