Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am new to REST API testing. Is there a guide for beginners on how to test REST APIs?
I will be using Rest-Assured for testing REST APIs. Please guide me from the scratch.
It'll be better to provide a bit more information about (let's say) what language or tool do you plan to use. In any case the answers to your question as it is - will be too broad. Here is something to
guide me from the scratch
Getting Started with RESTful Web Services
SoapUI and Rest services
SoapUI getting started
Rest services and jMeter
JAVA Restful testing
Hope it helps.
UPDATE:
You can use this rest-assured library, since it’s built to scale to simple and more advanced use cases using detailed configuration, filters, specifications etc. Here is additional tutorial.
Another option is Java DSL - it brings the simplicity of using Rest. Also open-source JUnit extension.
Rest-Assured has a getting started section at
https://code.google.com/p/rest-assured/wiki/GettingStarted
There is also great instruction on various blogs like
Part 1 http://www.joecolantonio.com/2014/02/07/rest-testing-with-java-getting-started-with-rest-assured/
Part 2 http://www.joecolantonio.com/2014/02/26/rest-testing-with-java-part-two-getting-started-with-rest-assured/
And also
http://pilhuhn.blogspot.com.au/2013/01/testing-rest-apis-with-rest-assured.html
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
We are analysing the best tool to test REST APIs. Also considering in mind, integration with TFS.
Some basic starter differences:-
Postman is lightweight browser based tool. easy to use, easy to share tests b/w team members by export option,
SoapUI is also easy to use with SoapUI you integrate it with GIT/SVN directly for Checkin and checkout your scripts.
SoapUI supports Groovy Scripting, Postman don't
for basic test scenarios you can use postman, if there is a need for logical based decision making calls SoapUI is best.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have a (asp.net)web service service and I am using Apigee as API management tool. I wanted to know some performance testing tools to test my api's and also wanted to evaluate them based on SSL support, encryption, can be automated, integration with source control(tfs)
Can anybody suggest some tool options or any other information regarding performance testing rest api?
Basically any performance testing tool which supports HTTP(S) protocol and setting headers can be used for load testing APIs.
The most popular tool for web services testing is SoapUI. It can be used for load testing as well.
Other free and open source tools are:
Grinder
Gatling
Apache JMeter
Tsung
See Open Source Load Testing Tools: Which One Should You Use? guide for detailed description of the above softwares, sample test reports and comparison matrix.
Personally I would go for JMeter as SoapUI and Gatling do not scale (i.e. if one machine won't be able to produce the anticipated load it will be your bottleneck), Grinder and Tsung are not that user-friendly (Python and XML test definition formats correspondingly)
Restbird, offer docker deployment and support javascript, python and Golang to add logic, everything is stored in local file system makes it easy to scale .
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Currently, I am using finagle Scala web framework as microservice for our project, They are very easy to use and also convenient to be deployable. At the same time, my colleague are trying to use Play framework for micro service, but I think it is too huge. It is not micro anymore.
May I know what is your opinion about this and is there any other good microservice framework in scala should be taken into consideration ?
Many thanks in advance
We switched from Finagle to Spray. It's minimal framework to write RESTful micro services, much smaller than Play. It's literally takes less than 10 lines of spray-based code to run new service.
If you don't plan to build web UI with play I don't see why to use this heavy framework for building just REST services.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am trying to integrate an external system with jenkins by REST API.
Although I have done lots of google search on its API reference, I still cannot get a full list of jenkins REST API reference.
Anybody knows about this?
Jenkins has a link to their REST API in the bottom right of each page.
This link appears on every page of Jenkins and points you to an API output for the exact page you are browsing. That should provide some understanding into how to build the API URls.
You can additionally use some wrapper, like I do, in Python, using http://jenkinsapi.readthedocs.io/en/latest/
Here is their website: https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API
Additional Solution: use Restul api wrapper libraries written in Java / python / Ruby - An object oriented wrappers which aim to provide a more conventionally way of controlling a Jenkins server.
For documentation and links: Remote Access API
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We have web-application with REST interface. Is there some tools to test it?
A RESTful web app/API is just HTTP, so no specialized tools are needed to test performance (as opposed to functional testing, where specialized tools could be helpful). You basically just need to make a lot of HTTP requests and record the results.
I prefer ApacheBench to more complex tools such as JMeter. It's very simple and easily scriptable — just write a shell script. I also find it oriented on HTTP, while tools like JMeter are designed to support simulating human usage patterns.
https://httpd.apache.org/docs/current/programs/ab.html
Yes, SoapUI and Apache Jakarta JMeter
REST services should be easy to test with jmeter.
As I mentioned in comment better use siege than ab as it has more functionality. But if you need something more complex try JMeter. For JMeter distributed testing you can use JMeter in cloud.