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

Questions tagged [rest-api]

When Web services use REST architecture, they are called RESTful APIs (Application Programming Interfaces) or REST APIs.

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
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
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
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
0 votes
2 answers
5k views

How to validate nested array from JSON response using Postman?

I am trying to validate GET method API response JSON using Postman. I have tried some of online suggestion but nothing worked for me. In my testcase i am validating that List tag is showing or not. ...
Kaushal Patel's user avatar
0 votes
1 answer
559 views

how to insert generated id from response , into the endpoint

I'm testing API, using Rest assured, programming language is java. Is there any way to get the generated id from a response body and insert it into the endpoint? I have the following endpoint {baseUrl}...
Qa Automation's user avatar
0 votes
1 answer
618 views

Uploaded filename when uploaded by JMETER using Google Drive Upload API is Untitled

I am trying to upload files on Google Drive using JMETER but the uploaded file name is 'Untitled'. Google Drive API's Bearer token is used as Authorization in the 'HTTP Header Manager' with Content-...
Vishwas Prabhakar's user avatar
1 vote
2 answers
338 views

How to avoid API tests duplicating Unit tests

How to deal with the overlap between unit tests for API endpoints (presumably written by the developers) and automated API tests (written by testers)? The authorship of the tests is of secondary ...
Mate Mrše's user avatar
  • 4,119
0 votes
2 answers
343 views

deserializing response body in java

I'm testing API with Rest Assured, I have all the necessary dependencies, all setup, the only question is, I have created all POJO classes for Request Body, I'm in the phase, where I have to verify, ...
Qa Automation's user avatar
-1 votes
1 answer
924 views

Rest assured vs Http client for Api testing? [closed]

Which approach or should I say framework is better and which are let say 3 facts you should consider when making final decision?
Gaj Julije's user avatar
12 votes
4 answers
87k views

Free sites for testing POST REST API calls?

My previous company was testing only GET calls. Now I need to practice with other type of calls (POST, PUT, DELETE). I can not find any site that is free for POST API calls, and that it have up to ...
Gaj Julije's user avatar
-1 votes
2 answers
77 views

How can one test the security measures or vulnerability when it comes to API testing? [closed]

I use REST for API Testing. What are good tools and/or approaches to testing security issues ? Any information through which I can broaden my perspective,ways,tools for testing when it comes to API.
Hetvi shah's user avatar
2 votes
1 answer
431 views

When I use thread = 5 all test cases get failed but same test cases works wih thread = 1 on jenkin

I am executing the api test cases using TestNG. When i use the below command clean test -i --tests 'com.testcases.api.*' -Pgroups=mygroup -Pthread=1 -Ptype=api All test cases get pass however if I ...
user3652040's user avatar
6 votes
5 answers
2k views

What tests to automate in a full stack web application? API vs UI

I joined a full stack automation team recently. There are some selenium tests for the frontend and APIs aren't automated yet. My question or thought process is should I pick the test cases carefully ...
Ravi Rao's user avatar
0 votes
1 answer
3k views

Rest-assured - Schema to use cannot be null

Using the code below, I'm getting the following error: My code: @Test public void get_user_API_Schema_Test() { RestAssured.baseURI = "https://gorest.co.in"; given()....
Ashutosh Singh's user avatar

15 30 50 per page
1
2 3 4 5 6