API Testing Interview Questions and Answers| 3+ YOE

API Testing Interview Questions and Answers| 3+ YOE

RD Automation Learning

1 год назад

41,636 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Aarthi Dakshnamoorthi
Aarthi Dakshnamoorthi - 23.09.2023 21:09

Hello sir
I want the api interview questions can you please share with your channel for reference purpose

Ответить
Santosh Kumar
Santosh Kumar - 12.09.2023 22:52

IllegalStateException exception

Ответить
Ravinder Sanjay
Ravinder Sanjay - 02.09.2023 14:14

When a POST request is triggered multiple times in Postman tool, the following things will happen:

The request will be sent to the server multiple times.
The server will process the request each time it is received.
The server will return a response for each request.
The responses will be stored in the Postman history.
You can view the responses in the Postman history.
If the request is successful, the response will have a status code of 200. If the request is unsuccessful, the response will have a different status code, such as 400, 401, or 403.

You can also use Postman to set up a collection runner to run the request multiple times automatically. The collection runner will allow you to specify the number of times the request should be run, as well as the delay between each request.

Here are some of the things to keep in mind when triggering a POST request multiple times in Postman:

The server may have a limit on the number of requests that can be sent per second.
The server may also have a limit on the number of requests that can be sent from the same IP address.
If you are sending a lot of requests, you may need to throttle the requests to avoid overloading the server.

Ответить
Ravinder Sanjay
Ravinder Sanjay - 02.09.2023 13:55

Rest Assured will throw an IllegalStateException exception when we pass a wrong content type. The error message will be:

Cannot parse object because no supported Content-Type was specified in response. Content-Type was 'text/html;charset=ISO-8859-1'

Ответить
Mood off Bhubaneswar
Mood off Bhubaneswar - 24.08.2023 11:01

noned

Ответить
vijay pote
vijay pote - 22.08.2023 14:25

hitting post request in concurrent manner post creat resource every time
put not create resource everytime
post used for insert data & put is used to update data or if not data is there then create one data

Ответить
Abby
Abby - 15.08.2023 20:13

Sir close to three years of experience h industry me and I've worked in automation testing projects from the beginning, I've worked in ui testing automation projects, mobile application testing automation protect and currently in api testing automation project. I'm working in an MNC but I feel that my pay is less as per the market standards based on my contribution in the team and my knowledge.
I'm trying for a swtich but I don't even get an opportunity for interviews. I don't know why. Can you let me know what can be done in this situation?

Ответить
991tanmay
991tanmay - 10.08.2023 05:26

Hello Sir, Your videos are really helpful Thanks a lot for that. For the question you asked what if we hit POST multiple times with same data(body). The ans is it will create 10 requests and it will give different "id" each time.

Ответить
philomanbabu peram
philomanbabu peram - 28.07.2023 10:32

Good Questions and Nice Answers.....:)

Ответить
Testing IC
Testing IC - 27.07.2023 15:02

@RD Automation Learning Please provide answer to that question- " how do you validate test Coverage"?

Ответить
hitesh harinkhede
hitesh harinkhede - 25.07.2023 10:59

because the get request data may be deleted because of that reason it gives this status 404

Ответить
shanu khan
shanu khan - 25.07.2023 10:11

Post is non-idempotent, it means, even if we send the request with the same data, it'll create a new resource.
While in case of put, it'll check if the resource is already created, then it'll not create the new one. if there is any change in the body, then it'll update

Ответить
Srikant Konda
Srikant Konda - 25.07.2023 09:31

Hi sir..... whenever we get the GET request requirement and we are hitting the POST request instead of GET request the status code should be 405 ... In a video it's was showing 404 ..so that's wrong and it is defect....Sir please reply me whether this is correct or not..

Ответить