UIJRT » United International Journal for Research & Technology

API Validation Testing Using Karate

Total Views / Downloads: 144 

Cite ➜

Jha, S., Katigari, S., Prapulla, S.B. and Kumar, R., 2021. API Validation Testing Using Karate. United International Journal for Research & Technology (UIJRT), 2(8), pp.105-110.

Abstract

Functional Automation is a widely adopted domain in the evergreen field of testing and is poised to grow at an average growth rate of more than 15% from 2020 to 2027. As testing is the most time and cost intensive phase of a project, there is an active effort to develop a framework which can reduce associated costs and increase time efficiency of both, development, and deployment. Karate is one such open source automation framework developed in 2017 which can be used for API testing, performance testing and UI automation. It combines the advantages of a neutral language that’s easy to understand by even a non-developer with powerful assertions and inbuilt multithreading. In this paper, we detail the development of a Karate framework for API testing and analyze its performance in sequential and parallel execution and compare and contrast Karate with the popular Cucumber BDD (Behavior Driven Development) framework.

Keywords: API (Application Programming Interface), Automation Testing, Cucumber, Feature File, Functional Validation, Karate, Scenario.

References

  1. Klammer and R. Ramler, “A Journey from Manual Testing to Automated Test Generation in an Industry Project,” 2017 IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C), 2017, pp. 591-592, doi: 10.1109/QRS-C.2017.108.
  2. Divya Kumar, K.K. Mishra, “The Impacts of Test Automation on Software’s Cost, Quality and Time to Market”, Procedia Computer Science, Volume 79,2016,Pages 8-15,ISSN 1877-0509,https://doi.org/10.1016/j.procs.2016.03.003.
  3. Rudolf Ramler and Klaus Wolfmaier. 2006. “Economic perspectives in test automation: balancing automated and manual testing with opportunity cost”. In Proceedings of the 2006 international workshop on Automation of software test (AST ’06). Association for Computing Machinery, New York, NY, USA, 85–91. DOI: https://doi.org/10.1145/1138929.1138946
  4. Mr Tarik Sheth , Ms. Priyanka Bugade , Ms. Sneha, Pokharkar, Analysis Of Code Coverage Through Gui Test Automation And Back End Test Automation, IJISET – International Journal of Innovative Science, Engineering & Technology, Vol. 3 Issue 3, March 2016. ISSN 2348 – 7968
  5. Anand, ArulPrakash Ma, Business driven automation testing framework, March 2018, International Journal of Engineering & Technology 7(2.8):345, DOI: 10.14419/ijet.v7i2.8.10438
  6. André de Camargo, Ivan Salvadori,Ronaldo dos Santos Mello, Frank Siqueira, An architecture to automate performance tests on microservices, iiWAS ’16: Proceedings of the 18th International Conference on Information Integration and Web-based Applications and Services November 2016 Pages 422–429 https://doi.org/10.1145/-3011141.3011179
  7. Neha Bhateja, A Study on Various Software Automation Testing Tools, International Journal of Advanced Research in Computer Science and Software Engineering, Volume 5, Issue 6, June 2015, ISSN: 2277 128X
  8. Li, J…J., Ulrich, A., Bai, X. et al. Advances in test automation for software with special focus on artificial intelligence and machine learning. Software Qual J 28, 245–248 (2020). https://doi.org/10.1007/s11219-019-09472-3
  9. Contan, C. Dehelean and L. Miclea, “Test automation pyramid from theory to practice,” 2018 IEEE International Conference on Automation, Quality and Testing, Robotics (AQTR),2018,pp.1-5,doi: 10.1109/AQTR.2018-.8402699.
  10. Sun, Y. Zhang and Y. Yan, “A Web Testing Platform Based on Hybrid Automated Testing Framework,” 2019 IEEE 4th Advanced Information Technology, Electronic and Automation Control Conference (IAEAC), 2019, pp. 689-692, doi: 10.1109/IAEAC47372.2019.8997684.
  11. Iyama, H. Kirinuki, H. Tanno and T. Kurabayashi, “Automatically Generating Test Scripts for GUI Testing,” 2018 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW), 2018, pp. 146-150, doi: 10.1109/ICSTW.2018.00043.
  12. H. Kiranagi and G. K. Shyam, “Feature Driven Hybrid Test Automation Framework (FDHTAF) for web based or cloud based application testing,” 2017 International Conference On Smart Technologies For Smart Nation (SmartTechCon), 2017, pp. 1555-1559, doi: 10.1109/SmartTechCon.2017.8358626.
  13. Sneha and G. M. Malle, “Research on software testing techniques and software automation testing tools,” 2017 International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS), 2017, pp. 77-81, doi: 10.1109/ICECDS.2017.8389562

For Conference & Paper Publication​

UIJRT Publication - International Journal