Skip to main content

Questions tagged [web-api-testing]

Web API testing is the functional testing of HTTP based services.

web-api-testing
0 votes
0 answers
13 views

Kotlin + RestAssured api call returns corrupted body time by time

I have faced with a strange behaviour in my api tests - sometimes I am receiving responses with a corrupted body. Example of correct response: { "lotto":{ "lottoId":5, ...
Nikita Chegodaev's user avatar
0 votes
0 answers
15 views

Test Fails after Establishing Connection to Database

I have a repo for a node app that uses an object to store the data temporarily. I updated the code to connect to MongoDB and some of the tests start failing. The test is one with supertest. The code ...
Uzoma Nwanne's user avatar
0 votes
0 answers
17 views

How to include smart assertion details in ready api reports

I have included smart assertions for my request.but while taking the report i'm not seeing the smart assertions details that i have placed in report.please help me! I need to see all the smart ...
Vasanth's user avatar
0 votes
0 answers
15 views

Katalon Studio : Getting 400 Bad Request if using variables, but fine with hard coded values

I m able to execute PUT request successfully when hard coding the values. But getting BAD Request when trying to dynamically set the values via variables By the way getting this error at the backend ...
Sunil Yerra's user avatar
0 votes
1 answer
25 views

How to use existing db in django pytest?

I have default schema for my API, and existing schema for data search. This is db settings: DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql&...
Daria Akimova's user avatar
0 votes
1 answer
24 views

Jmeter performance Report

I'm using jmeter and I am testing my API. So in that API I have to test for 3 different thread groups (1 thread,100 and 1000 threads) and get as sum of all threads as a report in html file. But I need ...
Shubham Rawat's user avatar
1 vote
3 answers
72 views

How to match that the API response has one of the possible value using Karate?

I have a response which I would like to validate in such a way that a particular attribute in this case capital may contain any of the following value {"BOM", "DEL", "BLR"...
u238825's user avatar
  • 77
0 votes
1 answer
201 views

Unable to Intercept Requests with Mitmproxy: Getting "502 Bad Gateway" Error

I'm currently conducting penetration testing on a website, and I'm attempting to intercept requests using Mitmproxy to reverse engineer the backend APIs. However, I'm encountering a "502 Bad ...
Bemnet16's user avatar
0 votes
0 answers
74 views

How to clear cache for each iteration in postman?

I am validating an API in postman Tool, when I am executing it, for the first time Response time is coming around ~1000 ms and for the remaining iterations response time are around ~200 to 300 ms. ...
Learner's user avatar
  • 11
1 vote
1 answer
78 views

Troubleshooting Zap Docker Image for Authenticated API Scan

I am trying to conducting an API scan using Zap Docker image, despite passing authentication configurations, authenticated endpoints return 404/403 errors. Unauthenticated endpoints scan correctly. ...
Anagha Ms's user avatar
0 votes
1 answer
60 views

Can we extract the full URL with query parameters in RestAssured

I'm working on a RestAssured project and for some debugging purposes waant to print the full url to which the request is sent. In the project that I'm working on we set the ApiHost, BasePath, uri and ...
Amy Men's user avatar
  • 13
0 votes
0 answers
17 views

Running a request from postman testscript of another request

Requirement:There are 2 requests, request A and request B. I need to run Request A when a condition specified in the test script of Request B is attained in POSTMAN. I used the below code, but while ...
Andromeda's user avatar
0 votes
0 answers
50 views

ASP.NET Core 7 Web API : simultaneous Post/Put call how to prevent update a data at the same time?

I'm currently doing a mock voting app using ASP.NET Core 7 Web API and Blazor WebAssembly, I still do not have database for this, so what I did is I use AddSingleton for my repository, for me to test ...
ArcDotNet's user avatar
0 votes
0 answers
73 views

Keyword name cannot be empty after post request with expected_status in robotframework

enter image description hereI'm going create Negative Test with post request by expected_status,but I confront Keyword name cannot be empty message. InvalidPassword Test [Tags] InvalidPassword ...
marysh's user avatar
  • 1
0 votes
0 answers
18 views

Discrepancy in API response times between Newman and Allure reports

I am using Newman to test APIs and generating reports using Allure. I have noticed that there is a consistent difference in the reported response times between Newman and Allure. For example, Newman ...
Some Guy's user avatar

15 30 50 per page
1
2 3 4 5
55