Remember Me
forgot your password?

Performance Testing for Ajax-based Applications

INTRODUCTION

AJAX (Asynchronous JavaScript and XML) is an approach to web programming that has been enjoying great popularity ever since it was used by Google for many of its applications, notably “Google Suggest” and “Google Maps”. There has been a lot of discussion about a number of issues related to AJAX including:

* tools and techniques for implementing AJAX (e.g. Ruby on Rai ls, DWR, Prototype, Sajax,
* Ajax.net) [1,3]
* business case for using AJAX [2]
* usability of web appli cations using AJAX [5]
* optimizing network bandwidth uti lization using AJAX for application development[6]

Considering that one of the key drivers for the rapid adoption of AJAX has been its promise of superior performance, it is surprising that there has not been much discussion of AJAX-specific performance testing. When we studied this in some detai l, we found that AJAX applications indeed present some unique issues and challenges, which we discuss in this paper.

AJAX APPLICATION VS NORMAL WEB APPLICATION

* A typical web application works as follows:
* User supplies input to browser (e.g. types in a URL, clicks on a hyperlink, submits a form)
* Browser sends a request for the URL to the server
* Web server responds wi th a page
* Browser sends more requests for embedded objects (e.g. images)
* Browser renders the page (including embedded objects)
* Browser waits for user’s next input and then goes back to the first step.

The key points to note here are:

* The browser issues requests for entire pages and the entire page gets refreshed as a result of this action
* These requests occur as a direct consequence of user actions.

In contrast to this, Ajax applications make a number of asynchronous web requests for parts of the current webpage. These requests are issued by a piece of client-side code that is executed in the browser context. This client-side code is usually implemented in JavaScript and is called the AJAX engine.

Continue reading at: http://www.aztecsoft.com/downloads/Aztecsoft_Whitepaper_Performance_Testing_AJAX-based_Applications.pdf

Aztecsoft Limited

By Rajendra Gokhale, Aztecsoft itest

www.aztecsoft.com

Rate this Article: 2.7 / 5 stars - 3 vote(s)
Print Email Re-Publish

Add new Comment



Captcha
0
1. Roopy (09:08, 05.08.2008)
Performance validation over Ajax based applications is fine. Applications built on GWT using ajax is a bit of concern.

  • Latest Programming Articles
  • More from Aztecsoft Limited

Excellent reports in Silverlight

By: chaudhary fahim | 23/12/2009
The reports that are done in Silverlight have a far reach as they are circulated on the internet.

Defining Digital Dashboard

By: chaudhary fahim | 23/12/2009
Traditionally ‘dashboard’ refers to the control panel located under the windscreen of a vehicle which displays instruments and controls regarding the vehicle’s operation.

IPhone Apps Development for Social Media

By: hardikm | 23/12/2009
On this earth every body wants to be noticed in the eyes of others. This tendency of human beings created a structure of the society itself. Till yesterday the media for social interactions were direct contact or on the telephone. But today people have tremendous resources to get together. Internet is one of them and it has given a birth of social media sites like Facebook, Twitter, etc.

Data Reporting

By: chaudhary fahim | 23/12/2009
There is need of gaining maximum benefit from data in your corporate database.

Custom Reporting

By: chaudhary fahim | 23/12/2009
The Custom Reports are used to view particular information and designed in specific formats.

Build powerful and interactive web applications with jQuery UI using Packt’s new book

By: Radha Iyer | 23/12/2009
jQuery UI 1.7: The User Interface Library for jQuery is a new book on jQuery UI 1.7 that helps readers build rich web applications with ready to use widgets from the jQuery User Interface library

software product engineering | software development company

By: johnadhan | 23/12/2009
Innominds is a software product development company providing services in product engineering, b2b integration and many more for clients from different industries.

If Google Chrome Comes Along With iPhone

By: Kelly Burby | 23/12/2009
It is an impassionate question, is iPhone ready for Google Chrome? Will Apple cave on iPhone access while Google Chrome is going live for Mac? Google has finally launched its Chrome browser for Apple computers as a beta version.Till date iPhone is carrying Apple's own Safari

Performance Testing for Ajax-based Applications

By: Aztecsoft Limited | 14/05/2008 | Programming
The AJAX model of development for Web applications has rapidly gained a lot of popularity because of its promise of bringing the richness and responsiveness of desktop applications to the web. AJAX implementations are fundamentally different from other web implementations in two respects – they make asynchronous requests for parts of the web page.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.06, 1, w2)