14
votes
Accepted
How to approach API testing?
API Test Checklist
Endpoints
Actions
Status Codes
Payload Data
Performance
Security
Specifically
Verbs / Actions / Methods
What documentation exists ?
What functionality it provide ?
Does it ...
13
votes
API test automation: GUI tool vs programmatic approach?
I have had exactly the same assignment earlier this year, for APIs written in C#. Options I have (tried to) build a PoC for were:
SoapUI
Postman
Own framework built in C# using either RestSharp or ...
9
votes
Accepted
API Testing tools in C#
You can use the combination of any unit testing framework (like NUnit, MSTest, XUnit) with additional nuget packages for the work with REST API itself
RestSharp (http://restsharp.org/) Probably the ...
6
votes
API Testing tools in C#
Writing an API test in Visual Studio can be done with:
NUnit or MSTest as your Test Runner
** NUnit and the TestAdapter are available on Nuget
An http client, like .Net's HttpClient
** This is in the ...
5
votes
Accepted
How to create generic Java code to make REST API calls?
I generally agree with @alexey-r... You should probably just re-write the code when the library changes.
Companies change libraries for a reason; new features, better features, streamlined ...
4
votes
How to create automation framework for automation of REST APIs?
REST-Assured is one good option.
I have used it with Java. It's a really good option and gives you the flexibility to do a lot when it comes to API testing.
Refer to the below link for further ...
4
votes
Accepted
Assistance with a DELETE request in Postman
You need to provide token generated create Token API here in header under cookie field.
and URL used in not as mentioned in API
https://restful-booker.herokuapp.com/booking/{bookingID}
Please ...
4
votes
How to create generic Java code to make REST API calls?
I would approach with just refactoring the code to use restLibTwo. Here are few points on why I would do that:
Rest calls are just HTTP calls. Moving to another lib (for example RestAssured) would be ...
3
votes
Accepted
Career path advice - microservices or APi testing
Start from learning REST API testing. REST is just an architectural paradigm, however most often it is implemented over HTTP protocol. So if you mean such the REST API then I would recommend to learn:
...
3
votes
How to create generic Java code to make REST API calls?
You can take a look at Google HTTP Client Library for Java, that offers:
Pluggable HTTP transport abstraction that allows you to use any low-level library such as java.net.HttpURLConnection, Apache ...
3
votes
commit end 2 end / acceptance tests in FE or BE repository?
How to store code in a repository has many factors.
How many people are working on this project?
Who is responsible for testing (devs only, devs and qa)?
What testing methods are in use: unit tests, ...
3
votes
I want to practice testing API but can't find anything interesting
Try the petstore - it's a common API used in examples. I used it when working with JMeter and it's a useful API to practice with.
https://petstore3.swagger.io/
You can do all sorts of different things ...
3
votes
Should i learn SOAP API or Rest Assured API Testing?
Don't focus too much on tooling.
Tools will go out of fashion. Perhaps not this year, not in 2 years, but definitely a few times during your career life (provided you are not at the end of it, but ...
2
votes
How to test Single Sign On (SSO) implementation?
Single Sign-On is a very broad term and testing it will much depend on how it has been actually implemented in your project.
In short Single Sign-On provides you a way to authenticate at one place (...
2
votes
API testing single layer
I worked on a reasonably similar stack and I would be looking at starting at the ‘lowest’ layer possible and work my way up to testing A.
So, in this case, I would be aiming to test B, C and D. ...
2
votes
API test automation: GUI tool vs programmatic approach?
In a similar case, we went with writing our own very light weight framework.
Reasons are:
We were not using many of the features of Soap UI, so just to make Restful calls, Soap UI is an overkill
The ...
2
votes
Where to find the authorization token in JMeter recorded scripts of an android app?
It should normally be somewhere in the first response, either in response body, or headers, check the first response for anything looking like a token, extract it using a relevant JMeter PostProcessor,...
2
votes
Comparison testing using karate tool
Yes, this should be very easy with Karate. I suggest you don't over-engineer tests and make 2 requests in your test. Save the response of the first request.
Now all you need to do is perform a match ...
2
votes
How do you test a backend API?
There are a couple of areas that you will have to understand and provide focus in testing.
Understand the Purpose of the API that you are testing. What is it for? How is this going to be used? ...
2
votes
Career path advice - microservices or APi testing
Read books
Attend meetups
Organize meetups
Browse this site daily
Learn about HATEOS
Post questions and answers here
Read questions here on API's https://sqa.stackexchange.com/search?q=restful+api
2
votes
Accepted
SoapUI response: Integer range validation
Here are the steps:
Prepare a request returning the data you need
Create a Test Suite
Create a Test Case within that Test Suite
Add that request as the step to the Test Case
Open that step editor
In ...
2
votes
Accepted
Good strategies to test integration with multiple external providers
Let's start from the bottom line- unless you revolutionize everything there will be no magic solutions.
Martin Fowler describes here the most common approach- test against a simplified copy of the ...
2
votes
Accepted
XML Payload gives 'The ' ' character, hexadecimal value 0x20, cannot be included in a name.' error
you are trying to make an element called 'Item IsKit =\"false\"'
it looks like you actually want to create an Element called Item with an attribute called IsKit.
Try this:
new XElement("Item",...
2
votes
How to create generic Java code to make REST API calls?
I believe Alexey and MivaScott have provided good advice here. I would like to add some additional thoughts on why coding to use any possible REST API client may not be the best idea.
Some of this ...
2
votes
Should automation code be as complex as application code?
Should an automated testing project be created complex as much as
software being developed?
Probably, I would handle test-code the same as production-code. It should be as complex as it needs to be....
2
votes
Should automation code be as complex as application code?
Automation is about writing code.
It therefore can (and should) be as complicated or simple as need for the purpose it is needed.
Generally a more complex application, for instance one with many ...
2
votes
Should automation code be as complex as application code?
Should software test automation projects echo the structure of the
application in test?
If "Echo" means to follow the same structure as the project from a code perspective (e.g. have package ...
2
votes
How can I test when app requires OTP via SMS?
Another option you could try is Google Voice (voice.google.com). This will give you a web interface to a phone number which is free for your first number.
I have used the app to test two factor ...
2
votes
JMeter - JSON parse error: Unexpected character
Your data is not a valid JSON, you can check it yourself using i.e. online JSON formatter and validator
You syntax of combination of __eval() and __FileToString() functions is incorrect, you should ...
2
votes
JMeter - JSON parse error: Unexpected character
Your JSON is not valid:
1 {
2 "User ID": 204120,
3 "name": "New User",
4 "Description": [{
5 "name": "john",
6 "id": 204110,
7 "type": "robotics"
8 }],
9 "Status": "Post ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
api × 62automated-testing × 26
api-testing × 24
rest-api × 15
postman × 9
c# × 8
jmeter × 7
java × 5
test-automation-framework × 5
load-testing × 4
api-automation × 4
selenium-webdriver × 3
soapui × 3
rest × 3
manual-testing × 2
python × 2
tools × 2
mobile-automation × 2
integration-testing × 2
database × 2
json × 2
end-to-end × 2
testlink × 2
rest-assured × 2
php × 2