Testing Approach for Dynamic Web Applications Based on Automated Test Strategies

Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 249)

Abstract

Presently there is a problem with testing of web applications. Fault tolerant is the main aspect for the people with research-orientation. They are searching for better techniques by testing the fault tolerant applications. Previously Different fault localization algorithms such as Ochiai were implemented for automated test strategies. Auto test generation strategy, is a boon to validate different quality applications in time. However, their working scenario was restricted to stand-alone applications only. Later, Auto test generation strategy is combined with source mapping and using an extended domain for conditional and function-call statements to generate automated test suits. Recently an enhanced Ochiai i.e., fault localization algorithms was proposed which has the ability to handle web applications as well, but Ochiai driven oracles offer rigid support by offering static analysis services to only PHP applications. We propose a new approach to extend the Ochiai algorithm with Metamorphic testing strategies to develop an integrated framework that can offer support beyond PHP and such as Java/HTML/JavaScript. Metamorphic testing observes that even if the executions do not result in failures, they still bear useful data. Exploitation higher approaches, we tend to develop unique test-generation strategies that are geared towards manufacturing test suites which have supreme or maximal fault-localization effectiveness in many internet technologies and a sensible implementation validates our claim.

Keywords

Dynamic Testing Metamorphic Relations Test cases Metamorphic Testing 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Hiett, E., Mee, R.: Going Faster: Testing the Web Application. IEEE Software 19(2), 60–65 (2002)CrossRefGoogle Scholar
  2. 2.
    Ye, L.: Model-Based Testing Approach for Web Applications (2007)Google Scholar
  3. 3.
    Di Lucca, G.A., Fasolino, A.R.: Testing Web-based applications: The state of the art and future trends. Information and Software Technology 48, 1172–1186 (2006)CrossRefGoogle Scholar
  4. 4.
    Web Application Developer’s Guide, by Borland Software CorporationGoogle Scholar
  5. 5.
    Artzi, S., Møller, A., Dolby, J., Jensen, S., Tip, F.: A Framework for Automated Testing of Javascript Web Applications. Proceedings in Int’l Conf. Software Engineering (2011)Google Scholar
  6. 6.
    Kieżun, A., Guo, P., Jayaraman, K., Ernst, M.: Automatic creation of SQL injection and cross-site scripting attacks. In: Proceedings of International Conference of Software Engineering (ICSE) (2009)Google Scholar
  7. 7.
    McAllister, S., Kirda, E., Kruegel, C.: Leveraging user interactions for in-depth testing of web applications. In: Lippmann, R., Kirda, E., Trachtenberg, A. (eds.) RAID 2008. LNCS, vol. 5230, pp. 191–210. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  8. 8.
    Wassermann, G., Yu, D., Chander, A., Dhurjati, D., Inamura, H., Su, Z.: Dynamic test input generation for web applications. In: Proceedings of the ACM/SIGSOFT International Symposium on Software Testing and Analysis (ISSTA 2008), pp. 249–260 (2008)Google Scholar
  9. 9.
    Halfond, W.G.J., Orso, A.: Improving test case generation for Web applications using automated interface discovery. In: ESEC-FSE (2007)Google Scholar
  10. 10.
    Park, S., Vuduc, R.W., Harrold, M.J.: Falcon: Fault Localization in Concurrent Programs. In: Proc. 32nd ACM/IEEE Int’l Conf. Software Eng., pp. 245–254 (2010)Google Scholar
  11. 11.
    Jiang, B., Zhang, Z., Tse, T., Chen, T.Y.: How Well Do Test Case Prioritization Techniques Support Statistical Fault Localization. In: Proc. 33rd Ann. IEEE Int’l Computer Software and Applications Conf. (July 2009)Google Scholar
  12. 12.
    Baudry, B., Fleurey, F., Le Traon, Y.: Improving Test Suites for Efficient Fault Localization. In: Osterweil, L.J., Rombach, H.D., Soffa, M.L. (eds.) Proc. 28th Int’l Conf. Software Eng., pp. 82–91 (2006)Google Scholar
  13. 13.
    Yu, Y., Jones, J.A., Harrold, M.J.: An Empirical Study of the Effects of Test-Suite Reduction on Fault Localization. In: Proc. Int’l Conf. Software Eng., pp. 201–210 (2008)Google Scholar
  14. 14.
    Jones, J.A., Harrold, M.J., Stasko, J.: Visualization of test information to assist fault localization. In: ICSE, pp. 467–477 (2002)Google Scholar
  15. 15.
    Abreu, R., Zoeteweij, P., van Gemund, A.J.C.: An evaluation of similarity coefficients for software fault localization. In: PRDC 2006, pp. 39–46 (2006)Google Scholar
  16. 16.
    Chen, M.Y., Kiciman, E., Fratkin, E., Fox, A., Brewer, E.: Pinpoint: Problem Determination in Large, Dynamic Internet Services. In: Proc. Int’l Conf. Dependable Systems and Networks, pp. 595–604 (2002)Google Scholar
  17. 17.
    Artzi, S., Kieżun, A., Dolby, J., Tip, F., Dig, D., Paradkar, A., Ernst, M.D.: Finding bugs in dynamic web applications. In: ISSTA, pp. 261–272 (2008)Google Scholar
  18. 18.
    Artzi, S., Kieżun, A., Dolby, J., Tip, F., Dig, D., Paradkar, A., Ernst, M.D.: Finding bugs in web applications using dynamic test generation and explicit state model checking. IEEE Transactions on Software Engineering (2010)Google Scholar
  19. 19.
    Chen, H.Y., Tse, T.H., Chan, F.T., Chen, T.Y.: In black and white: an integrated approach to class-level testing of object oriented programs. ACM Transactions on Software Engineeringand Methodology 7(3), 250–295 (1998)CrossRefGoogle Scholar
  20. 20.
    Chen, H.Y., Tse, T.H., Chen, T.Y.: TACCLE: a methodology for object-oriented software testing at the class and cluster levels. ACM Transactions on Software Engineering and Methodology 10(1), 56–109 (2001)CrossRefGoogle Scholar
  21. 21.
    Chen, T.Y., Cheung, S.C., Yiu, S.M.: Metamorphic testing: a new approach for generating next test cases. Technical Report HKUST-CS98-01. Department of Computer Science, Hong Kong University of Science and Technology, Hong Kong (1998)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  1. 1.Dept. of CSE, KKR & KSR Institute of Technology and SciencesAcharya Nagarjuna UniversityGuntur DistIndia
  2. 2.Dept. of CSE and Head, Dept. of IBSAcharya Nagarjuna UniversityGuntur DistIndia

Personalised recommendations