Questions tagged [api-testing]

API testing is a type of software testing that involves testing APIs directly and as part of integration testing to determine if they meet expectations for functionality, reliability, performance, and security.

API testing is a type of software testing that involves testing APIs directly and as part of integration testing to determine if they meet expectations for functionality, reliability, performance, and security. Since APIs lack a GUI, API testing is performed at the message layer. API testing is now considered critical for automating testing because APIs now serve as the primary interface to application logic and because GUI tests are difficult to maintain with the short release cycles and frequent changes commonly used with Agile software development and DevOps).

218 questions
21
votes
5 answers

Testing REST API with SHA1 HMAC authentication

I am a developer and I am looking for some software to provide our QA for testing REST API that requires SHA1 HMAC authentication (each request is signed using user's secret key, the process is described here). Usually I use Postman or Rest…
Aldekein
  • 313
  • 1
  • 2
  • 7
7
votes
5 answers

How to randomly generate email address on postman request using pre-request script

I am new with Postman > Pre-request Script, Can you help me create a random email value for my API Request. Thank you in advance.
Timikko Santos
  • 103
  • 1
  • 1
  • 7
3
votes
3 answers

The scope of automated API testing for a SQA tester

My situation: I am creating automated tests for testing a server's API endpoints. It is connected to a database and making requests to its API endpoints can result in it grabbing data from the database and, possibly, processing said data before…
natn2323
  • 149
  • 4
3
votes
1 answer

Sample applications for practicing API Testing

I am looking for some sample (ideally open source applications) that I could use to start practicing API testing. I am mainly interested in applications developed with .NET. Any ideas or suggestions would be very much appreciated.
tasos
  • 73
  • 4
3
votes
1 answer

If a ZIP file is requested, how do you how to get it from fiddler?

If you request a service send you a zip file as response, then how do you retrieve the file from fiddler?
Hassan
  • 327
  • 1
  • 8
  • 21
2
votes
3 answers

API call returns 400 bad request even when the request is correct?

I made a post api call and got a "400 Bad Request" in the response. The response body has a one line message about an unspecified database commit transaction failure. After checking several times, I found that my request is 100% correct. Other…
MasterJoe
  • 446
  • 7
  • 20
1
vote
0 answers

Status code 400 when trying to use the petstore3 API

I am experimenting with API testing but I am stuck almost at the beginning. Please tell me maybe I am doing something wrong? On the petstore3.swagger.io web-page I press Authorize button and enter the value for the api_key. In Fiddler - Composer I…
Kosh
  • 315
  • 1
  • 6
1
vote
1 answer

Clearing data loaded by a DLL

I am performing Black-box testing on a DLL. First API I have is connect. connect accepts certain parameters, performs certain operations (Which include COM port and/or LAN access) and if it is first call then launches an application. I have to call…
Swanand
  • 125
  • 5
0
votes
2 answers

How to decide Test Cases for API vs GUI Automation

Please help me understand, if I am trying to implement Test Pyramid and have automated good amount of API tests, how do I decide what all needs to be automated using the GUI now and what all can be skipped ? Thanks
mu1988
  • 29
  • 2
0
votes
2 answers

API testing beginner

I'm new to API testing, where to start my learning about API? what all are good to know features in API testing? Any documents link or advise on API testing.
Mydhili
  • 3
  • 2
-1
votes
4 answers

How can i extract data out of software?

How can i extract data out of software (trading platform) in real-time and save it so that it can be analyzed later? Do i need some kind of API ? What is an API exactly (i'm not very clear on it) ? Do I need to know the programmer of the software…
Manipal King
  • 101
  • 2