Conventional browser-based Web applications require the user to submit arequest to the server, wait for the server to process the request and generate a response, and thenwait for the browser to update the interface w...
详细信息
Conventional browser-based Web applications require the user to submit arequest to the server, wait for the server to process the request and generate a response, and thenwait for the browser to update the interface with the results. This request-wait-response-waitpattern is extremely disruptive and lowers productivity. High network latency and interfacecomplexity and slow server responsiveness can further impair the user experience, resulting indecreased customer satisfaction, shorter and less frequent Web site visits, and, ultimately, reducedrevenue to e-businesses. In this article the author describes asynchronous javascript and XML, astandards-based programming technique designed to make Web-based applications more responsive,interactive, and customizable - in short, to recreate the seamless user experience of most otherdesktop applications.
asynchronous javascript and XML (Ajax) is a collection of technologies used to develop rich and interactive Web applications. A typical Ajax client runs locally in the user's Web browser and refreshes its interfac...
详细信息
asynchronous javascript and XML (Ajax) is a collection of technologies used to develop rich and interactive Web applications. A typical Ajax client runs locally in the user's Web browser and refreshes its interface on the fly in response to user input. Using this method with the AWS-ECS let us automatically generate test sequences and detect two deviations of their service implementation with respect to the online documentation provided, in less than three minutes of testing. We also provided a framework that allows the runtime monitoring of both client and server contract constraints with minimal modification to an existing Ajax application code. Experiments with the Amazon E-Commerce Service demonstrate the advantages of using a model-based approach for the runtime testing and monitoring of Web applications.
asynchronous software often exhibits complex and error-prone behaviors that should be tested thoroughly. Code coverage has been the most popular metric to assess test suite quality. However, traditional code coverage ...
详细信息
ISBN:
(纸本)9798400703270
asynchronous software often exhibits complex and error-prone behaviors that should be tested thoroughly. Code coverage has been the most popular metric to assess test suite quality. However, traditional code coverage criteria do not adequately reflect completion, interactions, and error handling of asynchronous operations. This paper proposes novel test adequacy criteria for measuring: (i) completion of asynchronous operations in terms of both successful and exceptional execution, (ii) registration of reactions for handling both possible outcomes, and (iii) execution of said reactions through tests. We implement JSCOPE, a tool for automatically measuring coverage according to these criteria in javascript applications, as an interactive plug-in for Visual Studio Code. An evaluation of JSCOPE on 20 javascript applications shows that the proposed criteria can help improve assessment of test adequacy, complementing traditional criteria. According to our investigation of 15 real GitHub issues concerned with asynchrony, the new criteria can help reveal faulty asynchronous behaviors that are untested yet are deemed covered by traditional coverage criteria. We also report on a controlled experiment with 12 participants to investigate the usefulness of JSCOPE in realistic settings, demonstrating its effectiveness in improving programmers' ability to assess test adequacy and detect untested behavior of asynchronous code.
From a blog post in February 2005 by Jesse James Garrett, founder of startup Adaptive Path, through the launch of high-profile Web applications by Google and Yahoo among others, AJAX has become the latest movement in ...
详细信息
From a blog post in February 2005 by Jesse James Garrett, founder of startup Adaptive Path, through the launch of high-profile Web applications by Google and Yahoo among others, AJAX has become the latest movement in online applications development. Bolted together from technologies developed in the mid-1990s, AJAX is designed to streamline clunky browser-based front-ends.
暂无评论