Good afternoon.
Perhaps, someone has already encountered the test automation of web services, API, and can tell how to configure and make it in a best simple way. If there is something different, better and more convenient than SOAP UI for this purpose, please also share your experiences and knowledge. Unfortunately, I have no experience in such testing at this point of time.
What I need: easy of use, configuration and support. Visualization of the test run process is not needed, it would be awesome to have a good performance and stability instead.
A web service that I'd like to automate: product web API. Beck-end is written on C#. The front-end part of the Web API is accessible through swagger. Requests: GET, POST.
What I would like to automate in the very beginning: sending parameterized GET / POST requests, receiving the responses, and checking whether the data is still in place and correct.
More details how to I use the API to retrieve the data (manually):
- Open the browser url like http://ift.tt/2bKH1DS
- Type a unique id, and the second field - a unique language and press the button to get the data
- The data comes in application/json format - in the web face of API (or application/xml - if the request url separately loaded in a browser window), which you analyze and check if everything is correct.
In a picture:
Obtaining the data in web API (for one particular option and for one language localization):
Aucun commentaire:
Enregistrer un commentaire