Utilizing Mocking During the Development Phase
Hekmatyar, Chiya (2023)
Hekmatyar, Chiya
2023
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2023120534496
https://urn.fi/URN:NBN:fi:amk-2023120534496
Tiivistelmä
The thesis introduces the utilization of a mock server and mocking during development phase. The research commenced with an exploration of company adopting mocking in development phase. The objective of the thesis is to outline the general advantages and disadvantages of employing mocks, both for companies and in the context of this project. The thesis delves into the Mock API and its corresponding server, which replicates the behavior of an actual API server by furnishing realistic API responses to incoming requests. It addresses the broader utilization of APIs and acquaints the reader with the diversity of APIs and their various types.
The physical interconnection between distinct API components as well as the interface between machines. The benefits of REST and its functionalities in terms of API utilization are scrutinized. Additionally, six requirements for utilizing mocks are explored, establishing the foundation for a rapid and adaptable API development process.
This thesis imparts information about mock tools and their applications—elaborating on their nature and rationale. In addition, the implementation of mock tools is described to highlight the easiness of integrating them into projects. Through demonstration, the aim is to illustrate the straightforwardness of initiating a project with the mock tool. The installation process of the mock tool and the subsequent integration of a personal project are detailed, with the intention of simplifying the process. The demonstration serves to underline the utility of mock tools and is supported by comprehensive documentation.
The physical interconnection between distinct API components as well as the interface between machines. The benefits of REST and its functionalities in terms of API utilization are scrutinized. Additionally, six requirements for utilizing mocks are explored, establishing the foundation for a rapid and adaptable API development process.
This thesis imparts information about mock tools and their applications—elaborating on their nature and rationale. In addition, the implementation of mock tools is described to highlight the easiness of integrating them into projects. Through demonstration, the aim is to illustrate the straightforwardness of initiating a project with the mock tool. The installation process of the mock tool and the subsequent integration of a personal project are detailed, with the intention of simplifying the process. The demonstration serves to underline the utility of mock tools and is supported by comprehensive documentation.