Questions tagged [api-automation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Need api to check if CrowdStrike detection is closed

I need api which will check if crowdstrike detection is closed. I checked the crowdstrike api documentation but could not find any. I need this api as part of E2E automation
user avatar
0 votes
0 answers
9 views

Need api to get log details from ZScalar

I've a scenario where I need to extract the offense logs from ZScalar using api. I've tried to the use the api fetched from UI but getting 500 response as showed in the screenshot. I've searched the ...
user avatar
0 votes
0 answers
14 views

How do we handle empty string dynamically in assertions in ReadyAPI

ERROR: An error occurred [empty String], see error log for details Hi i have a need to validate two data sources using nested loop on multiple records in several tables Steps Build a Rest Request get ...
user avatar
0 votes
1 answer
518 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. ...
user avatar
1 vote
1 answer
693 views

How to send nested JSON in cucumber as request

I'm trying to send nested JSON through Cucumber data table. I have the following scenario, I have tried Scenario Outline too but it didn't resolve the issue. Scenario: provider edits new ...
user avatar
0 votes
1 answer
67 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}...
user avatar
0 votes
2 answers
73 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, ...
user avatar
0 votes
1 answer
41 views

java.lang.NullPointerException,at ✽.Given product is set with the following fields(src/test/resources/features/wizard/wizardNewProduct.feature:

Pls, I need help, I'm getting a null pointer exception, When I send a request, I'm catching values in Cucumber through the List<Map<String, String>>. I'm testing API with Rest Assured and ...
user avatar
1 vote
1 answer
850 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. ...
user avatar
1 vote
3 answers
697 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 ...
user avatar
  • 1,712
0 votes
1 answer
265 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 ...
user avatar
4 votes
7 answers
176 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 ...
user avatar
  • 315
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 ...
user avatar
0 votes
1 answer
1k 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()....
user avatar
1 vote
4 answers
9k 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 ...
user avatar
1 vote
1 answer
534 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 ...
user avatar
  • 285
0 votes
2 answers
183 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 ...
user avatar
1 vote
1 answer
263 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 ...
user avatar
  • 4,278
1 vote
1 answer
1k 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 ...
user avatar
  • 21
3 votes
3 answers
237 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....
user avatar
  • 133
-2 votes
1 answer
24 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 ...
user avatar