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 1933

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.

1 vote

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

There are two issues here: Unspecified database commit transaction failure 400 Bad Request when the request was actually fine and problem is on the server side It is clear what should be an expect …
dzieciou's user avatar
  • 10.5k
6 votes
Accepted

How do you perform API Testing? I had an interview question

Well, an API is such a loaded term. It can be REST, SOAP, RMI, or native C++ library API, etc., so the tooling will depend on that. Particular test scenarios will depend on that as well. For instance, …
dzieciou's user avatar
  • 10.5k
2 votes

What are the good java Frameworks/Libraries for REST API Automation Testing?

Retrofit OkHttp curl command line tool
dzieciou's user avatar
  • 10.5k
8 votes
Accepted

How to wait for an api request to return a response?

HTTP is a synchronous protocol* so active polling is not an option. You need to wait until client receives response or request times out. There are two ways to constrain synchronous behaviour with tim …
dzieciou's user avatar
  • 10.5k
1 vote

How to spoof a third party API

If you accept mocking with other packages than Postman, then I suggest using MockServer or WireMock, both having support for describing matching rules in Java and JSON. For instance, with WireMock you …
dzieciou's user avatar
  • 10.5k
2 votes
Accepted

Difference in Web Services & REST/SOAP API from Black-box Tester perspective

I want to know if there are any differences in these technologies from black-box testing perspective. If Yes, then what are the differences? Serializing/deserializing messages. SOAP Web services …
dzieciou's user avatar
  • 10.5k
2 votes

NullPointerException in RequestSpecification

Now take a look at setFormParam() method: System.out.println(reqSpec);// reqSpec Always getting null value reqSpec.formParam(keyValue[0], keyValue[1]); and then at postCandidateResponse() that call …
dzieciou's user avatar
  • 10.5k
2 votes

How to test Single Sign On (SSO) implementation?

Single Sign-On is a very broad term and testing it will much depend on how it has been actually implemented in your project. In short Single Sign-On provides you a way to authenticate at one place (I …
dzieciou's user avatar
  • 10.5k
10 votes
Accepted

How to test if my application method handles HTTP status 404 of a REST API without actually ...

Use a mock. Mock 3rd party API using MockServer or WireMock, if you're in the Java world. Your test will call getNumUsers() method which in turn will call mock of your 3rd API and the mock will s …
dzieciou's user avatar
  • 10.5k
4 votes
Accepted

How to provide more value from test automation to Dev/entire team?

Test automation is more than automating tests. I recommend you reading James Bach "Agile Test Automation" article: Test automation progresses when supported by dedicated programmers (toolsmiths …
dzieciou's user avatar
  • 10.5k