Questions tagged [api-automation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
52 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
149 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
1k 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
238 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
1k 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
273 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
87 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
106 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 ...
0
votes
1answer
615 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). I want to achieve, if i give 50 threads, each thread ...
3
votes
3answers
79 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 ...