1 Web Test Integration and Performance Evaluation of E-Commerce Web Sites Md. Safaet Hossain Department of Electrical Engineering and Computer Science North South University, Dhaka Bangladesh Md. Shazzad Hosain Department of Electrical Engineering and Computer Science North South University, Dhaka Bangladesh Abstract Web applications are becoming progressively more complex and imperative for companies. The e-commerce web sites have been serving to accelerate and disseminate more widely changes that are already under way in the economy. Their development, including analysis, design and testing, needs to be approached by means of support tools, while their correctness and reliability are often crucial to the success of businesses and organizations. There are some tools provided to support analysis and design. However, few tools are provided to directly support the software testing on Web-based applications. In this paper, an automated online website evaluation tool hosted at is proposed to support the automated testing of web-based applications. Testers can evaluate performance of a site with other websites and can precisely express the existing websites and find out what are the modifications required. The tool elevates the automation level of functional testing for web applications into a new height. Keywords: Web based applicatoin testing, performance testing, functional testing, test methods integration, e-commerce. I. INTRODUCTION We need internet in almost every field of life. We use internet mostly in form of web applications. We use web applications for paying utility bills, social networking, , online transactions etc. Online shopping has become progressively widespread over the years. E-commerce sales in U.S. grew from 72 billion U.S. dollars in 2002 to 228 billion U.S. dollars in The leading portions of online revenues were generated by the retail shopping websites, which earned 142 billion U.S. dollars in A 2011 e-commerce market projection predicted that online retail revenues alone would reach 269 billion U.S. dollars by Simultaneously, the number of online shoppers in the U.S. is expected to grow from 140 million in 2010 to 170 million in 2015 according to emarketer estimates . In a study by Glenn A. Stout , Senior Functional Specialist, The Revere Group, demonstrates that poorly operating websites are stunning, and even affect the online business severely. The study also showed that when errors are found on an e-commerce website, 28% of the people stopped shopping at that site, 23% stopped buying from the site, and 6% of the people were so upset, that they stopped buying at e- commerce sites . One can only surmise that the customers feel that if the company cannot provide a quality website, then they may not be able to sell a quality product from their stores. To make an online site popular, effective, and competitive to business, whether it is an e-commerce site or social networking site or any other site, there is no alternative of making a good quality site in terms of performance and reliability. Before launching any online sites, thus it is imperative to test the site for its high performance and reliability with World Wide Web consortium standard. At the same time, the site requires to be compared with other online sites to be competitive in the e-commerce market. There are many different techniques or Web test methods that we can apply for performance evaluation and for error free sites. Tools such as HTML validator, bobby, Netcraft allows static analysis of sites e.g. HTML errors, link errors etc. The following table demonstrates about the sites that provide tested result like page size, performance time etc. TABLE 1: LIST OF ONLINE WEB TESTING TOOLS TO EVALUATE SITES Web Site HTML Validator Measurements This HTML Validator checks the markup validity of Web documents in HTML, XHTML, SMIL, MathML, etc. In recent years, web applications have become important for many companies, as being a convenient and inexpensive way to provide information and services on-line. Since a malfunctioning web application could interrupt an entire business and cost millions of dollars, there is a strong demand for methodologies, models and tools that can improve the quality and reliability of web sites . s Validator checklink Functional Accessibility Evaluator Hera hera/ The Checker analyzes anchors (hyperlinks) in a HTML/XHTML document. Useful to find broken links. Use this tool to evaluate the functional accessibility of your web site. HERA is a tool to check the accessibility of Web pages according to the specification Web Content Accessibility Guidelines (WCAG 1.0).
2 Any Web site that requires evaluating the above mentioned criteria would require accessing these Web applications separately, obtain test result for a specific functionality, merge and evaluate the result manually for proper decision. It increases the time as well as the cost of application testing. Testing of web-based applications in particular deserves further examination due to economic considerations and companies are choosing not to test due to resource constraints. However, if we could integrate different online Web test tools or applications, it would make the Web testing much faster and easier thus help building robust e-commerce sites. Application integration is not entirely a new idea. Recently this issue is of much interest, especially in Bioinformatics application domain, such as found in . Thus our idea is to use existing Web testing applications and integrate these applications for faster and reliable Web testing. The idea is to develop a test tool, where users will put their Web site URL to test and the tool automatically crawls different existing test sites, submit queries for test purpose, gather test result and display the result to user in an integrated view. Thus in this research our main contributions are: 1. Integrate different online Web test applications. 2. Evaluate performance of Web applications. 3. Compare different web sites performance to make an e-commerce business competitive. The paper is organized as the following. Section II provides related works, section III presents Web test models, section IV describes Web evaluation methodologies and finally section V draws the conclusion. There are different sites or Web applications to evaluate e- commerce sites that can check the web pages against the web standards . HTML Validator (http://validator.w3.org/) checks HTML, XHTML or CSS documents, and returns a list of warnings & errors according to the standard. It also helps us to eliminate website problems that cause visitors to abandon websites. The s Validator (http://validator.w3.org /checklink) reads an HTML or XHTML document or a CSS style sheet and extracts a list of anchors and links so that no anchor is defined twice. It then checks the status of every page links. The W3C checker accepts URL address of Web page and parses each and every hyperlink to find broken links in the page. The Functional Accessibility Evaluator (http://fae.cita.uiuc.edu/) analyzes web pages for markup that is consistent with the W3C standard. It analyzes the web pages based on navigation & orientation, text equivalents, scripting, styling etc. The Hera is a tool to check the accessibility of Web pages according to the specification of Web Content Accessibility Guidelines . HERA (http://www.sidar.org/ hera/) performs a preliminary set of tests on the page and identifies any automatically detectable errors or checkpoints met, and which checkpoints need further manual verification. The Web Page Size Checker tool gives us the page size of the specified URL. Page size determines how long it will take usually for users to open the web page. For example: 10 kb is approximately a small page size, which means the loading speed is also quicker. In this paper we also demonstrate an additional feature included into the integrated web test model. By traversing all the web page link of an e-commerce web site it will provide response time and page size of all links along with the URL (uniform resource locator). II. RELATED WORKS Good quality Web application is one of the important criteria for successful e-commerce sites. Investigation by Forrester Research  found that consumers expect pages to load in two seconds or less, and after three seconds, up to 40 percent users will abandon the site. In another research  authors also pointed out that users feel uninterrupted page response time if it is less than 1.0 second, even though the user will notice the delay. However there are still no industry standards for acceptable application response time. According to Gomez benchmarking , the comparison between different websites can be made by evaluating the average response time of all the pages of a Web site. III. WEB TEST MODELS The present web test model in simple terms is checking the web application from specified URL to check potential bugs before it s made live or before code is moved into the production environment. During this stage users need to visit several sites, put URL into these sites and gather reports from all the sites for test result. It increases the time and cost of web testing. The model is shown in figure 1. The user view of quality e-commerce site can be assessed mainly in terms of functionality and usability. World Wide Web Consortium (W3C)  defines a set of guidelines for quality Web designing and testing. These guidelines cover a wide range of development standards including HTML tags, CSS, web accessibility, HTTP/1.1: Status Code Definitions etc. Every guideline provides a technique for accessing the content of Website. The qualitative measures ,  such as text formatting, link formatting, page formatting, graphics element, page performance and site architecture are used to achieve quality of website. Figure 1: Present Web test model In contrast to the present web test model, the integrated web test model that we are proposing in this paper as shown in figure 2, integrates existing test sites into a single platform. In this approach, user puts the web URL under test into the integrated
3 Web test tool, the test tool then automatically crawls other existing Web test tools, submits URL for test purpose, gathers results from different sites and merges the results so that user can view all the testing results at a glance. The integrated model also provides some new web testing features such as link status checking, page response time for every link, page size checker of the specified URL in bytes and kilo bytes. These additional results relieve the user to measure the response time of all the links of the e-commerce site and thus get an average response time and average page size. Based on these above criteria we evaluated four Bangladeshi e-commerce sites and as elaborated below: Evaluation of Good and Bad s of a Web Site Broken hyperlinks on websites are not just annoying their existence may cause some real damage to ecommerce online business as well as to the reputation in the online business. Search engines might stop crawling the e-commerce site if broken links found. Our developed integrated tool traverses all the hyperlinks and finds out page statuses that are shown in table 2. The corresponding graphs are shown in figure 3 and 4. TABLE 2: PAGE LINK PERFORMANCE EVALUATION OF DIFFERENT WEB SITES Figure 2: Integrated Web test model Website Bad Good Total Bad % Good % Hutbazar Bazarsodai ClickBD Cellbazaar In the integrated web testing view we will get errors and warnings about HTML code, page links reports, page link status code definitions, total number of good link and bad link, list of all URL links and a table mentioning link number with page access date & time, web page link response time, web page size for every webpage link into the e-commerce sites. Getting all these information would require accessing at least five different Web test sites. IV. WEB EVALUATION METHODOLOGIES Like any complex piece of software there is no single, all inclusive performance indicator that fully characterizes a Web site. Different fault types define different problems. For example, HTML head tag errors, font tag errors and body tag errors identify the problems in the text elements of web page. Thus text formatting measures are to be evaluated. The image tag error and image load errors identify the errors in display link tag errors. The script tag errors, server connectivity errors, down load time of Website and broken link errors contribute the need of Website architecture redesign. However in this research the following fault types are investigated: Web page faults: This includes web page faults according to the Web Content Accessibility Guidelines and World Wide Web consortium. HTML faults: This includes HTML tag opening and closing error. Error: This includes page link error. Page status: This includes page link status according to the benchmark. Response time testing: This includes response time of each page link. Figure 3: Number of good vs. bad links of four sites Figure 4: Percentage of good and bad links of four sites
5 VI. CONCLUSIONS This paper investigated various measures required for quality Website design. A focused approach was made to identify page link error, page size and page response time in developing and testing e-commerce websites. This would enable to adjudge the quality status of Web design of the various sites and would indicate the necessity of improvement in the design of the Website. The integrated web testing tool evaluated effective testing methodology for web application and improved the performance testing of web application. Using a series of online diagnostic tools, we examined many dimensions of quality, and each dimension was measured by specific test online. To get results on the quality of a Web site, we measured sample data extracted from different web sites and calculate response time, page size, number of item, and load test, tag validation, and broken link, number of link test. Moreover because the ultimate determinant of quality website is the users, future directions for this research also involve the objective and subjective views of the website from user s perspective. Finally, the practical experiment of applications of our methodology has been described. We believe that this experiment provides encouraging results concerning the validity, correction and agility of the method. TOOL AVAILABILITY The tool has been released online for public use. More information about the tool can be found at the following location: REFERENCES  C. Kallepalli, J. Tian, Measuring and Modeling Usage and Reliability for Statistical Web Testing, IEEE Trans Software Engineering, 2001,27(11), pp  L. Xu, B. W. Xu, and Z.Q. Chen, Survey of Web Testing, Computer Science (in Chinese), 2003, 30(3), pp  Xu L, Xu BW, Chen HW. Website Evolution based on Statistic Data, Proceedings of the Ninth IEEE International Workshop on FutureTrends of Distributed Computing Systems (FTDCS 2003), pp  J. Gao, C. Chen, Y. Toyoshima and D. Leung, Engineering on the Internet for Global Software Production, IEEE Computer, 1999, 32(5), pp  F. Ricca and P. Tonella, Web Site Analysis: Structure and Evolution, Proc. of International Conference on Software Maintenance (ICSM'2000), 2000, pp  Forrester Consulting, ecommerce Web Site Performance Today: An Updated Look At Consumer Reaction To A Poor Online Shopping Experience A commissioned study conducted on behalf of Akamai Technologies, August 17, 2009  Bo Song and Huaikou Miao, Modeling Web Applications and Generating Tests: A Combination and Interactions-guided Approach, IEEE Computer, 2009, DOI /TASE.2009, 54, pp  K. Y. Cai, Optimal software testing and adaptive software testing in the context of software cybernetics, Information and Software Technology, 2002, 44, pp  D. Dhyani, W. K. Ng, and S. S. Bhowmick, A survey of Web metrics, ACM Computing Surveys, 2002, 34(4), pp  P. Warren, C. Boldyreff, and M. Munro, The Evolution of Websites, Proc. of the Int. Workshop on Program Comprehension, 1999, pp  P. Warren, C. Gaskell, C. Boldyreff. Preparing the ground for website metrics research. Proc of the 3rd International Workshop on Web Site Evolution, 2001, pp  last access on January 15, 2012  Gerrard, P. (2000a). Risk-Based E-Business Testing: Part 1 Risks and Test Strategy. Retrieved June 15, 2001, from the World Wide Web: EBTestingPart1.pdf  last accessed on June 22, 2012  10 Best practices for benchmarkibg web and mobile site performance, white paper: web performance management, Compuware Corporation World Headquarters, Detroit, MI Compuware Corporation  Mario Milicevic, Krunoslav Zubrinic and Ivona Zakarija Dynamic Approach to the Construction of Progress Indicator for a Long Running SQL Queries, International Journal of Computers Issue 4, Volume 2, 2008, pp  Turker C, Akal F, Schlapbach R, Life sciences data and application integration with B-fabric Journal of Integrative Bioinformatics, Volume 8, Issue 2, July  Techniques for Web Content Accessibility Guidelines by W3C,  G. Sreedhar and A.A. Chari, An experimental Study to Identify Qualitative Measures for Website Design, Global Journal of Computer Science and Technology, University ofwisconsin, USA, September,  G. Sreedhar, A.A. Chari and V. V. Venkata Ramana, Evaluating Qualitative Measures foreffective Website Design, International Journal on Computer Science and Engineering,vol.02, No.01S, 2010, pp  Ali Azad, Elements of Effective Web Page Design, Global Competitiveness, January,  L. Page, S. Brin, R. Motwani and T. Winograd, The Page Rank Citation Ranking: Bring Order to the Web, Technical Report, Stanford University,  E. Glover, K. Tsioutisiouliklis, S. Lawrence, D. Pennock, G. Flake, Using Web Structure for Classifying and Describing Web Pages, in Proceedings of WWW2002, Hawaii, May2002. AUTHORS PROFILE Md. Safaet Hossain is a Master s student in the Department Electrical Engineering and Computer Science, North South University, Bangladesh. Currently he is doing thesis in the area of Software Engineering. His interests are in software engineering, Web engineering, software quality assurances, Web security related problems. Dr. Shazzad Hosain is an Assistant Professor in the department of Electrical Engineering and Computer Science (EECS) at North South University (NSU), Bangladesh. His interests are in software testing, Web data integration, Semantic Web, knowledge representation, business and scientific workflow systems, Web security, and bioinformatics related problems. He is also interested in developing microcontroller based systems that interface different devices as well as small/heavy industries, Scientific Computing, SCILAB, etc.