GraphQL API test automation
Thesis title: | GraphQL API test automation |
---|---|
Author: | Kolpakova, Alexandra |
Thesis type: | Diploma thesis |
Supervisor: | Buchalcevová, Alena |
Opponents: | Doležel, Michal |
Thesis language: | English |
Abstract: | Master thesis work is specializing on problematics of implementation of GraphQL Application Programming Interface (API) test automation. The main goal is to compare existing GraphQL API test automation solutions to recommend one that can be used in a real project in a company that experienced a transition from Representational State Transfer (REST) to GraphQL API implementation and is searching for a new test automation approach.The first part of this paper focuses on explaining the important terms. The API role in client-server Web applications architecture style is defined with the HTTP characteristics that enables the communication between the client-side and the server-side. Further chapters give an overview on the REST architecture style and GraphQL technology for API implementation. The next part describes the API testing process, with its main testing activities and challenges.In the following parts of this thesis, the author introduces GraphQL API test automation solutions compatible with the Java programming language. These are then being compared, using the Multiple Criteria Decision Analysis, and the most beneficial solution is recommended to the concrete company that experienced the transition from REST to GraphQL API implementation. |
Keywords: | API testing; GraphQL API; GraphQL test automation; REST-assured |
Thesis title: | GraphQL API test automatizace |
---|---|
Author: | Kolpakova, Alexandra |
Thesis type: | Diplomová práce |
Supervisor: | Buchalcevová, Alena |
Opponents: | Doležel, Michal |
Thesis language: | English |
Abstract: | Diplomová práce se zaměřuje na implementaci automatizace testování GraphQL Application Programming Interface (API). Hlavním cílem je porovnat stávající řešení pro test automatizaci GraphQL API a doporučit takové řešení, které lze použít ve skutečném projektu ve společnosti, která zažila přechod od implementace Representational State Transfer (REST) k implementaci GraphQL API a hledá nový přístup k automatizaci testování.První část této práce je zaměřena na vysvětlení důležitých pojmů. V této části je definována role API v klient-server architektuře webových aplikací spolu s popisem vlastností HTTP protokolu, který umožňuje komunikaci mezi klientem a serverem. Další kapitoly poskytují přehled o architektuře REST a technologii GraphQL pro implementaci API. Dále je popsán proces testování API, převážné jeho hlavní testovací aktivity a výzvy.V následujících částech práce autorka představuje řešení pro automatizaci testování GraphQL API kompatibilní s Java programovacím jazykem. Tyto jsou poté porovnány pomocí vícekriteriální analýzy a nejvýhodnější řešení je doporučeno konkrétní společnosti, která zažila přechod z implementace REST na GraphQL API. |
Keywords: | REST-assured; testování API ; GraphQL API; GraphQL test automatizace |
Information about study
Study programme: | Aplikovaná informatika/Informační systémy a technologie |
---|---|
Type of study programme: | Magisterský studijní program |
Assigned degree: | Ing. |
Institutions assigning academic degree: | Vysoká škola ekonomická v Praze |
Faculty: | Faculty of Informatics and Statistics |
Department: | Department of Information Technologies |
Information on submission and defense
Date of assignment: | 12. 2. 2019 |
---|---|
Date of submission: | 27. 11. 2019 |
Date of defense: | 29. 1. 2020 |
Identifier in the InSIS system: | https://insis.vse.cz/zp/68601/podrobnosti |