Questions tagged [api-testing]

API testing is a type of software testing that involves testing APIs directly and as part of integration testing to determine if they meet expectations for functionality, reliability, performance, and security.

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
553 views

How to integration test a Web API with identity server auth tokens

I have a scenario where I need to set up integration testing against our micrososervice architected application. This will mean creating some tests using Postman to hit our API, and running them with ...
2
votes
1answer
756 views

UFT and RestAssured

My company is working on API which is RESTful JSON Web API. So far, all my testing was done using Selenium WebDriver. I was given a task to look for a tool that can help us automate the API tests(...
1
vote
0answers
46 views

Consumer-driven Contract Testing

I've just come across the term consumer-driven contract testing and, working as a QA, was wondering a few things: 1) what does this actually mean in laymans terms? 2) who would generally execute ...
1
vote
0answers
86 views

Using `ava` test runner for functional testing

This question is to get a recommendation from the community, what framework/library they mostly use for testing their APIs (REST) in JavaScript. I stumbled upon https://github.com/avajs/ava, would ...
1
vote
0answers
196 views

laravel codeception api testing. Test structure

I want to test all my api endpoints with codeception. I started off with a more model based approach: class UserCest { public function it_can_request_its_own_status (ApiTester $I) { $...
1
vote
0answers
30 views

Did anyone used MUNIT for API integeration testing?

Did anyone used MUNIT for API integeration testing? I'm exploring options to build automation suite for API's and among different options there is not enough information regarding munit. Could ...
1
vote
1answer
690 views

How to get number of requests sent and actually received by server in JMeter

I'm using Jmeter in remote env.(1manager server, 3-5 querying servers, 1 target server). I have fixed EPS/QPS and threads(gradually increasing up to a certain value). I want to know if there is any ...
1
vote
1answer
61 views

Schema Validation in Postman

I'm having trouble validating a schema in Postman using tv4 inside the tests tab - it is always returning a true test, no matter what I feed it. I am at a complete loss and could really use a hand - ...
0
votes
0answers
13 views

TestNGClassFinder Warning: Can't link and determine methods of class examples.ExamplesTest

Just started with Karate API test sample project and encountered with this issue. My pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
0answers
54 views

Best practice for testing data integrity between server and UI

I am a QA. This is the software chart: Search Engine (Apache Solr) <-> Server (expose itself to UI by an API) <-> UI. The server makes queries on the search engine and send the returned data ...
0
votes
0answers
69 views

Use tv4 to validate schema in postman

I am trying to validate a scheme using tv4 in Postman, but no matter what I do it always passes - even if I force bad data. I am unsure if I am doing something wrong or if there is an issue with tv4 - ...
0
votes
1answer
71 views

How to remove keys from rest-assured ValidatableResponse and assert response with constant json string

In rest-assured test cases I am getting mentioned 'ValidatableResponse response' where I want to remove keys such as "updated_at", "deleted_at", "created_at" and "notice" and assert this object with ...
0
votes
0answers
31 views

How to remove keys from response json and hold remaining json data in an object using java 8 lambda expressions for rest assured test case

In REST-assred test case I am getting ValidatableResponse body as mentioned from which I want to remove notice, created_at, updated_at and deleted_at keys using java 8 lambda expressions and assert it ...
0
votes
1answer
778 views

How to get Code coverage via external rest assured API automation using jacoco?

I have a multi module application "Project A". This application is hosted in clustered app nodes using tomcat as web server. We are using Spring, Web Services as primary among many other technologies ...
0
votes
0answers
509 views

Rest Assured | Why getting repeated errors when trying to automate apis using rest assured?

I have just set up rest assured framework and implemented it as a maven project. My pom.xml has the below mentioned dependencies io.rest-assured rest-assured 3.0.2 test io....
0
votes
0answers
41 views

How to start with service virtualization ?

I have to create one POC on service virtualization. Can someone have idea about best site/blog where i can start and some open source tool which help me create a demo?
0
votes
2answers
4k views

How do I implement Extent Reports in my rest assured api testing framework?

I have recently started rest assured to automate apis. My current framework folder structure has an ApiTestCases class in a folder under src/test/java I have a testNG suite xml to run the tests. How ...
0
votes
3answers
89 views

Testing multiple API contracts as part of 1 test

I have a situation whereby, say, I have one API which creates an employee(POST); one which then returns the employee(GET) and one which deletes the employee(DELETE). I've been using RestSharp/C# to ...
-1
votes
1answer
47 views

Postman API test structure

Recently I started writing tests for our API. However, I have faced some issues which I think it is critical to think at the start. How should I structure my tests in terms of setup and cleanup phase(...
-1
votes
1answer
25 views

Login call should hit before every call in Jmeter

In my projects' auth token, I can use it once then it expires so obviously other calls are also failing. All the sub calls are configured in the csv file(s), tied with multiple jmx file integration ...
-1
votes
1answer
372 views

What are the major changes/features in JMeter 4.0? How to upgrade to version 4.0?

JMeter has come up with version 4.0, again this is a major release! Apparently the UX has changed but what are other important changes or features. With the release of 3.0 JMeter came up with the ...
-2
votes
1answer
77 views

OWASP ZAP integration into SOAPUI for REST API Testing

One of the topics I am currently working on is the testing of APIs on the security level, e.g. as integration in SOAPUI and OWASP in WSO2. The integration of SOAPUI and WSO2 is set up and also works. ...