Questions tagged [api]

Application Programming Interface : a set of functions and procedures that allow the creation of applications which access the features or data of an operating system, application, or other service.

Filter by
Sorted by
Tagged with
11 votes
1 answer
818 views

How to approach API testing?

This is one of the most common needs today and consequently a common interview question. This question is intended to be a canonical answer to the general question of "How do I test an API". Other ...
Michael Durrant's user avatar
13 votes
3 answers
2k views

API test automation: GUI tool vs programmatic approach?

We have a Rest API written in C# and I need to investigate a good approach to automate the tests. There are 2 ways to automate API tests: GUI tool (e.g. SoapUI) Programmatic approach, using some test ...
Arthur M.'s user avatar
  • 163
15 votes
6 answers
58k views

How do you test a backend API?

I was applying for QA position and the SDET asked me this question: How do you test a backend API? In the interview. I wasn't sure I answered it correctly. Just wondering if I can get some input ...
Aziz's user avatar
  • 161
0 votes
2 answers
234 views

Setting up an API Test Framework

I'm testing an API and I'm looking to define my payload using classes so that my program can then deserialize/serialize into any format (namely XML in my case). Below is an example of the payload: ...
Andy Tilston's user avatar