Questions tagged [api-automation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

How to verify the page load opened in a new tab with a redirection?

I am testing a website that redirects the user to another website for buying stuff. Once I click on the Buy Now button a new browser tab opens and another website is launched displaying the product. ...
0
votes
0answers
18 views

ReadyAPI-Can we filter AWS SQS receive message using filters

We have 'Transaction ID' as a Synchronous response from ReadyAPI Please find the manual steps that we are doing for the validation. Login to AWS Shared account with the role created Navigate to “...
1
vote
3answers
93 views

Breaking a loop after resolving a promise

I am writing a program to check the health endpoint of one of our APIs. So, before starting execution, I try to hit the health endpoint 5 times. If I get the desired response code during the 5 ...
0
votes
1answer
118 views

How to automate GraphQL tests with Postman

My company is moving from REST APIs to GraphQL. I'm trying to use Postman (which I'm new to) to automate some tests for the GraphQL stuff, and I'm running into issues. The manual side of Postman ...
4
votes
7answers
159 views

I want to practice testing API but can't find anything interesting

I want to practice in automating API testing but can't find anything interesting. Everything that I found were on the one hand rather complicated, on the other hand they did not allow testing such ...
5
votes
5answers
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 ...
0
votes
1answer
471 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()....
0
votes
4answers
3k views

TestNG- No tests found. Nothing was run

UTF-8 io.rest-assured rest-assured 4.1.2 test org.testng testng 6.14.3 ...
1
vote
1answer
323 views

How to do API Automation when the content can be very dynamic and the API calls are not directly happening through browser?

I have a scenario where I know the API request format and some data but not the other dynamic data, let's say it is a dynamicParameter. Now this dynamicParameter data will keep changing and it a ...
0
votes
2answers
103 views

Consume POST request data to GET and DEL requests

I get an id from a POST request and I want to use that id in the GET and DEL requests. I don't want to do it manually; if there is automated way that my read and delete requests consume my POST ...
1
vote
1answer
152 views

API tests against production DB with no endpoints to set up test data

I'm creating regression tests for one of our APIs. I'd like to discuss how to go about it in my particular situation. I have no problem on the dev environment, but when it gets deployed to a staging ...
1
vote
1answer
923 views

Can we run One thread group with multiple threads but hitting same request by all threads concurrently in jmeter?

I have a one thread group with 100 requests in it, I am passing some ids from one request to another (it is a one complete flow of application). What I want to achieve is if I give 50 threads, each ...
3
votes
3answers
128 views

Pros and cons of using database dump in autotesting?

I'm going to write API and e2e auto-tests, and planning this encountered the problem of how to load test data needed to execute test cases. I see 2 approaches: Use api to create necessary resources....
-2
votes
1answer
21 views

How to provide File and some para. to POST API using Python/ C#?

Team, I am trying to provide File and some para. as a input for API. Expecting output based on validation. Even after providing both inputs correctly, I am getting File as null with length 0. Below ...