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.

Filter by
Sorted by
Tagged with
1
vote
2answers
3k views

What are the good java Frameworks/Libraries for REST API Automation Testing? [duplicate]

My primary focus will be to make API Calls and to verify Status Code and Json response.If you know any library which makes this task easier please answer. As of now I am using Postman-Newman Apache ...
1
vote
2answers
84 views

Jmeter load test: verifying the speed of the service response

I'm doing load test with Jmeter on web application. Recently I noticed that some of the service responses from the application server started taking longer time to arrive to the client (browser). ...
0
votes
2answers
2k views

API Testing - Test Cases [closed]

I am new to API Testing. Are there any template for test case creation for API testing? Any other advice on how to write a Testcase for API Testing?
1
vote
1answer
65 views

What type of tests would you run on this http GET request?

I'm writing up some postman tests for a REST API: api/controller/getPerson?person=personID I'm curious as to what types of things would come in your head for testing this? the call itself requires ...
2
votes
2answers
109 views

How to do version compatibility testing

I have an App ver - 3.8 and minimum supported version is 4.0. If the App is older than 4.0, an update available is shown to the User within the App. Is there a way to simulate or test this scenario
2
votes
3answers
153 views

API testing: Is it okay to work with (only) deep equals?

We're about to implement API tests (in a .Net environment) for our new projects. I have no prior experience with API testing. After checking out multiple frameworks and tools, it seems they all focus ...
1
vote
1answer
154 views

How to test this URL is correct after encryption?

On the administrator side of a system I have a means of adding a module, each module has its own application path and a the possibility of being a subscription. In short if subscription is true, it ...
1
vote
1answer
696 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
2answers
4k views

Best practices for rest-assured api automation testing

I am working in a rest-assured tool to automate API's. I am using java language. I did a sample API automation. I want to improve. So I want to know the best practice for rest-assured API automation. ...
2
votes
1answer
219 views

ATDD with Microservices (comprosing REST and Messaging)

Without a UI, I know Acceptance Test Driven Development can still be performed against APIs etc (sort of headless vertical slice development and testing if you will) but where do we draw the line for ...
1
vote
4answers
2k views

How to compare 2 JSON string having different attributes but same value?

I'm working in a Migration API Testing project also I'm new to API testing. I have this scenario - There are 2 services, Service A and Service B. Service A has the response like this when I request ...
3
votes
1answer
202 views

Sample applications for practicing API Testing [closed]

I am looking for some sample (ideally open source applications) that I could use to start practicing API testing. I am mainly interested in applications developed with .NET. Any ideas or suggestions ...
2
votes
1answer
6k views

How to call webservices through selenium [closed]

I want to call the rest api in the selenium and save the JSON (response) in text file. I also need to pass header value for webservice authentication.
4
votes
2answers
4k views

How to send different http requests at the same time in jmeter

I need to send many http requests (E.g: 500 http request) with different data (E.g: 500 data) at the same time. How can I do it? Example: abc.com/path?param1=xyz&param2=qwe 'xyz' and 'qwe' are ...
5
votes
4answers
1k views

Credit Card Testing (Paypal Payflow API)

I am testing the payment gateway of my e-commerce website. Our developers are using PayPal Payflow API’s, i.e., the card processing (gathering/saving the card details) will be happening in our ...
5
votes
2answers
796 views

Using SuperTest/Protractor on unsecure HTTPS

I am trying to run automated API tests on localhost with an invalid cert. Is there a chromeOption equivalent to "Proceed Anyway" that I can pass to the tests so they can get a response from the url? ...
1
vote
4answers
8k views

What is Red,Yellow and Green Box testing? [closed]

I can find the explanations for black box and white box testing, but couldn't find any better explanation on Red box, Yellow box and Green box testing. Red Box is User Acceptance testing. Grey Box is ...
3
votes
1answer
11k views

Is there any template of test case document for API testing?

I have tried search online about sample test case document for API testing,but didn't get any result Note: i already know about normal test case template
3
votes
1answer
711 views

If a ZIP file is requested, how do you how to get it from fiddler? [closed]

If you request a service send you a zip file as response, then how do you retrieve the file from fiddler?
1
vote
1answer
698 views

SOAPUI and Microsoft test management

We are currently using SOAPUI to test SOAP and Restful API's. We then test our interfaces using Selenium automation tests. Where we are unable to automate or there is no value we test manually. We ...
0
votes
1answer
3k views

Authenticated API request in Jmeter

I am performing API testing using Jmeter, we have a API request which require authentication. When I make a call http://localhost:3001/city/latitude/longitude (GET method) it returns User is not ...
3
votes
8answers
4k views

Tools for mobile web services, rest api testing

I am looking for some tools for testing the background rest API and web services for mobile application based on android as well as iPhone.
7
votes
4answers
4k views

Difference in Web Services & REST/SOAP API from Black-box Tester perspective

I have practically tested web-services/APIs (testing back-end requests of mobile apps, JMeter scripting for a web-application) but when it comes to differentiating between web-services/APIs(REST/SOAP) ...
5
votes
3answers
9k views

How do you perform API Testing? I had an interview question

I had an interview and they asked me how you will perform API testing? What should be my perfect answer? I explained what ever I have experienced with API testing but I felt that they were not ...
3
votes
6answers
490 views

Which tool to use for testing REST API? [duplicate]

All REST API's that I've built have always had a good series of unit tests to verify that they are working as expected. One downside to this approach is that the testing almost always happens on ...
3
votes
2answers
6k views

Difference between SoapUI and Fiddler testing tools?

Well, I am able to test an API method using JSON request in Fiddler and can view the response correctly. Also web services can be tested in SoapUI. So what's the difference between them?
1
vote
1answer
53 views

Clearing data loaded by a DLL

I am performing Black-box testing on a DLL. First API I have is connect. connect accepts certain parameters, performs certain operations (Which include COM port and/or LAN access) and if it is first ...
5
votes
11answers
3k views

RESTful JSON Web API Testing - what tools?

My company is working on its API which is RESTful JSON Web API. So far, all my testing was done using Selenium WebDriver. Starting from one and more tests I manage to create some sort of framework. ...
4
votes
2answers
1k views

Android App api testing with mock

Currently, I ran into a situation where we are having constant Backend/API issues and because of the same, I can't continue with the testing. I was wondering if it is somehow possible to use a server ...
6
votes
7answers
27k views

Suggest me the best way to automate REST web services with JSON using Java

I was testing web services manually using Postman or REST client. I want to automate testing here. I use REST with JSON format. Questions: How to use target URL ? How to pass header values? How to ...
3
votes
3answers
4k views

Automating Restful API — Tools?

I've been automating tests for our restful api's using retrofit and testNG. Basically, I create a POJO-Model... send the request in retrofit and do the assertions on the model. Example: public ...
4
votes
2answers
9k views

Testing a Python REST API

We want to add formal testing an quality assurance to our application API. It is written in Python using Flask with Restless and outputs JSON. My question is what is the best way to test our API? It ...
1
vote
2answers
8k views

API Testing Using SoapUI vs Postman vs Runscope [closed]

I'm new to using applications to test backend APIs. I've always just manually tested using the front-end applications. What I would like to do is to use an app that is designed specifically for ...
15
votes
5answers
27k views

Testing REST API with SHA1 HMAC authentication

I am a developer and I am looking for some software to provide our QA for testing REST API that requires SHA1 HMAC authentication (each request is signed using user's secret key, the process is ...
0
votes
3answers
144 views

How can i extract data out of software?

How can i extract data out of software (trading platform) in real-time and save it so that it can be analyzed later? Do i need some kind of API ? What is an API exactly (i'm not very clear on it) ? ...
2
votes
1answer
6k views

Getting started with Rest-Assured for REST-Api Testing

I am new to REST-Api testing. i am getting started with Rest-Assured for Rest-Api testing. i am having an issue in my first ever testcase. The code is as follows: @Test public void testGetSingleUser(...
6
votes
3answers
2k views

Soapui or Rest Service Testing? and where I can find good Soapui and rest service testing tutorials?

I want learn Soapui or Rest Service Testing, so could you please let me know which one is good for me? as per your knowledge/Experience. Before today I discussed the same with my colleagues, some ...
6
votes
6answers
58k views

WebDriver API: 'Failed to send keys because cannot focus element' — better workaround than using Firefox instead of Chrome?

There's a bug in the chromedriver.exe Chrome driver for Selenium's WebDriver API. You can't use send_keys for certain types of inputs, like for the jQuery plugin "EZPZ Hint". It works okay on simple ...