Skip to main content
The 2024 Developer Survey results are live! See the results

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.

1 vote
1 answer
20 views

Sending a file in the body of a POST request in Karate

I am having some difficulties getting a request to work as expected in Karate where I use a .json file in the body of my POST request. I have tried to define it as both a form field and as a multipart ...
DEnumber50's user avatar
  • 1,192
0 votes
1 answer
31 views

What is the correct way to wait for database updates when testing the api?

I'm testing the api - after the request, I check that the values have appeared in the database. A simple example is I'm throwing JSON { "field_1": "Value_1", "...
Metanol's user avatar
0 votes
0 answers
22 views

How to download multiple files in local system using POST API request in robot framework rather than in binary form data

I struck in one scenario in which i need to download multiple files in local repository using POST API request in robot framework. I tried below code but not able to resolve the issue. ${headers}= ...
Chirag Dhingra's user avatar
0 votes
1 answer
328 views

Deleting a resource using POST method instead of DELETE Method in REST API

I was taking some online course to learn API testing. As per my understanding We can use POST: to add the items (e.g., adding a new book in the library) GET: to view/ see the items (e.g., see the ...
Aamna's user avatar
  • 93
0 votes
2 answers
67 views

How to correctly divide API tests into test cases

I'm practicing API testing and I'm wondering what the correct approach to dividing tests into test cases is. For example, GET gives me a JSON which is a list of items and I want to check a few things ...
eilchner's user avatar
0 votes
1 answer
336 views

What are all things you will check in API Testing? (Assuming you are a manual software tester)

This is an interview question. What points are they looking for when asking this question, you are using REST API. Check for errors, data accuracy, right status codes?
chris's user avatar
  • 23
0 votes
1 answer
171 views

I want to confirm whether Jmeter's IP Spoofing only works on local networks and not for public?

Suppose I want to hit Server A on the internet, I have a public IP aa.aa.aa.aa and local IPs bbb.bbb.bbb.bbb, ccc.ccc.ccc.ccc. When hitting Server A, what will be recorded in the server log is only ip ...
ilf's user avatar
  • 3
1 vote
1 answer
9k views

What is the difference between Bearer token and API key authorisation in Postman API testing? [closed]

I am a complete newbie in API testing. Now, while sending a GET or POST request , we need to authorize the calling project. How does it work internally and what's the difference between API key and a ...
test234's user avatar
  • 21
0 votes
0 answers
424 views

Postman - Compare response body with database data

Request Body: { "StudentInfo":{ "Student":[ { "StudentId":"001" } } } Response Body { "Studentinfo":{ "Student&...
user55906's user avatar
-1 votes
1 answer
2k views

Cypress API testing : How to login and then use the auth token in another test?

How can I access the token generated from 1st it block to 2nd it block. here is the code: 1st it block it('Login using new user', () => { cy.api({ method: "POST", ...
Jimmy's user avatar
  • 111
0 votes
2 answers
308 views

Can I use Cypress for API Testing?

I am new to Cypress and trying to find the best/good practices for doing api test. My goal is to create an automation API test using cypress but can't find structure/guidelines to follow. Can anyone ...
Jimmy's user avatar
  • 111
1 vote
4 answers
140 views

Choosing Testing tools against multiple programming languages

I have a few questions in regards to setting up/deciding automation frameworks against microservice architecture OR codebases that span various programming languages. Specifically in this "...
Mercfh's user avatar
  • 1,720
0 votes
1 answer
438 views

Is testing an API by payload comparison with a database query advisable at the end to end level?

I’ve recently joined a company who are rolling out an end to end API testing strategy based around explicitly verifying the payload returned against the database at the end to end level. The approach ...
cw84's user avatar
  • 103
-1 votes
2 answers
70 views

Suitable free/open-source automated tests framework(s) (UI / API / mobile)

Context Again, the 1 million dollar question... I have programming background skills, and about 6 months ago accepted a new role as the main responsible for QA testing at my company's development team....
João Fernandes's user avatar
1 vote
1 answer
99 views

API Testing and automation framework [closed]

I wonder if it is 100% necessary to use an automation framework like KARATE instead of API Tools like POSTMAN. Usually I automate different websites by using SELENIUM & JAVA and I try different ...
new_programmer's user avatar

15 30 50 per page
1
2 3 4 5
15