Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 3201

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.

0 votes

How can i extract data out of software?

API stands for Application programming interface In computer programming, an application programming interface (API) is a set of routines, protocols, and tools for building software applications. …
Niels van Reijmersdal's user avatar
2 votes
Accepted

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

I like how Micheal Bolton (& James Bach) explains it in their Agile Testing Quadrants: Investigate Mysteries & Tell compelling bug stories So no, it is not correct and probably it is worth inves …
Niels van Reijmersdal's user avatar
0 votes

How to compare 2 JSON string having different attributes but same value?

You will need to convert one of the sides to other, this should be relative simple to code. If you need help ask the developers of one of the system to assist you. Here is some example code to change …
Niels van Reijmersdal's user avatar
1 vote

How to test this URL is correct after encryption?

Test behaviour not implementation. how can I confirm that this subtype has accurately been added to the call? What would this subtype have for an effect on the user of this system? Validate th …
Niels van Reijmersdal's user avatar
4 votes

How do you test, auto-logout after 60 minutes?

Make the time-out configurable by the tests. In a config-file on the test environment, a setting in a database or passed as a parameter in the API calls. Figure it out, because test-suits should be fa …
Niels van Reijmersdal's user avatar
6 votes
Accepted

Credit Card Testing (Paypal Payflow API)

Do you really need to test money has been deducted? You should trust PayPal tested their end of the payment system. If not get some real credit-cards and test the full flow. PayPal has some guides ho …
Niels van Reijmersdal's user avatar
3 votes

Unit Test - Testing API Methods

The real GetById probably accesses a database to get the data associated with the ID. In order to prevent the test becoming an end-to-end/integration test you will need to fake a part of your applicat …
Niels van Reijmersdal's user avatar
1 vote
Accepted

Eclipse C++ Unit Testing without Unit Testing framework

There is a lot of documentation of how to build your own Unit Testing Framework, maybe this is a starting point: https://stackoverflow.com/questions/7049329/how-to-write-a-unit-test-framework For Ecl …
Niels van Reijmersdal's user avatar
1 vote
Accepted

Automation data setup: via SQL or via APIs?

What if the datastore changes and the API stays the same? Tests should help developers to refactor safely. This includes changing data storage types, maybe even to flat files or another API for storag …
Niels van Reijmersdal's user avatar
2 votes

Test if an API Service is available

It depends on how you define "available". Making a simple call and checking that you get a code 200 means the servers is up and it can recieve calls. Now if the API uses for example a database then t …
Niels van Reijmersdal's user avatar
1 vote

How to spoof a third party API

We have a good experience with json-server. We found it really flexible. Get a full fake REST API with zero coding in less than 30 seconds (seriously) Created with <3 for front-end developers who nee …
Niels van Reijmersdal's user avatar
1 vote
Accepted

Postman or any API tools for API cache testing

No, how would they know the reponse is cached. Call API with parameters Verify results Stop data storage (e.g. database) Call API again with same parameters Verify same results How would you do it …
Niels van Reijmersdal's user avatar
1 vote

Do testers perform usability tests of API?

Do testers perform usability tests in general? I think the answer is NO. You are not the user. Do testers facilitate usability tests in general? It depends, but I would answer YES. Help users test it …
Niels van Reijmersdal's user avatar
2 votes

Android App api testing with mock

It should be realtively easy to setup a server that behaves as your API, but always returns the same values so you can test against it. You just need to make sure you can redirect the traffic from yo …
Niels van Reijmersdal's user avatar
2 votes
Accepted

Mock test automation with Wiremock + Xray + Jenkins possible?

TL;DR: Jenkins supports pipelines from code. Make your build, test and deploy pipeline in code and you are not dependent on a specific CD tool. If you can do it from the command line and with API's yo …
Niels van Reijmersdal's user avatar

15 30 50 per page