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 looking for a tool that lets me automate REST requests. I want to perform simple load test
where in I need to send request to my server continuously.
I looked at Selenium but I didnt find a way to continuously send requests, may be I am wrong.
Please let me know if somebody knows any tool like selenium which will help me to loop
my RESTrequests.
Thanks in advance for any sort of help.
Br,
Rohit PAI
For basic load testing, and something that you can script, check out ApacheBench. It comes stock with the Apache web server. If you're at the command line on a *nix machine (Mac OS, Linux, etc.) try running: "man ab"
You can write a simple shell script that you can put into the background that loops continuously, or you can cron it up, so that it runs on a schedule. Now, that's a cheap and simple way to perform load tests with configurable request concurrency and basic performance statistics when it's complete.
Now, if you're looking for automated testing/monitoring of a REST API that supports assertions and multi-step requests that allow you to pass variables from one test to the next, as well as scheduling and reporting, try Runscope. You can run tests for REST APIs in the cloud or even endpoints on your local network / VPC (useful if your'e testing behind firewall on dev / staging environments). https://runscope.com
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
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 6 years ago.
Improve this question
Even using pull mode for Powershell DSC, it doesn't seem there's an easy way to visualise which machines are in which states and which machines are in the process of correcting themselves to the desired state (i.e. still installing stuff / rebooting).
I feel like I'm missing something. Is some website meant to go over the top and provide this visibility? Please tell me someone has plugged this gap already - it's been over a year now. We could start building from this point but I was hoping something was already in this space?
I've had a look at guardrail and while it seems a pretty cool product, it doesn't focus on the orchestration side of deployment.
This is about as specific as I can make this question - I know a lot of other people are keen to hear your answers to this. Please don't mark it as vague or subjective right away :-)
You're not alone and you're not missing anything. There's no GUI for this right now (there's barely a not-GUI).
Did you deploy a DSC Compliance Server along with the pull server?
If so, you can query it to retrieve useful information. There is no dashboard or interface for it at this time.
There may be third party products available but I'm not aware of any. Powershell v5 is supposed to have a lot of improvements to DSC so it may be worth waiting.
Since Chef can use DSC resources (and it seems Puppet support is here or on its way), many people may choose to go with one of those since the tooling is much more mature.
Further Reading
Powershell.org - DSC Compliance Server: What's the Deal?
How to retrieve node information from DSC pull server
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
I am looking for some tool or service that can be used to track arbitrary events in web based software, for the purpose of running A/B tests and measuring various other things. I am aware of Optimizely, but that seems only suitable for testing simple things in normal websites and Google Analytics is not really suitable for this type of things and there is a lot of hassle when you want to track events from the backend and link them with a user's session in GA.
An ideal solution would be some service accepting HTTP GET requests with arbitrary parameters and then letting users do queries in an SQL-like language. I have many times put together some less scalable solution with MySQL or a less flexible one that stores everything in text files and processed and aggregated them separately into desired format. But building a both flexible and scalable version would require a lot more time and I guess there are already good solutions out there. Does anyone know of any?
Other requirements are:
It must be possible to do both back-end and front-end requests.
It must be possible to do use it in widgets, running on other peoples' websites
It would be nice if it could automatically create readable reports with maybe some diagrams, etc.
If anyone has any experience with this kind of tools, I would be very glad to hear your thoughts.
Thanks for your help.
Have you tried mixpanel? We've found it quite flexible and powerful.
https://mixpanel.com/
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 months ago.
Improve this question
I have implemented REST API using PHP. This API access to MySQL Database.
I was looking for hosting services but I'm not sure where to start, majority of this type of services is referring to Web Hosting, which as I understand is not what I need.
Can anyone suggest any free or cheap service that will support my requirements?
I also need the possibility to schedule service which will periodically access REST API. This one is not implemented yet, because I'm not sure what kind of languages/frameworks are usually supported by the hosting service.
Any help is truly appreciated.
I think that a regular web hosting account would actually work just fine for what you need. If you think about it, the only difference between your RESTful API and any other website is that your API does not return HTML, but rather returns data that is encoded to be consumed by another program instead of a human user directly. From a hosting perspective, though... there really is no difference. There are lots of companies that provide PHP/MySQL hosting out there - for example, Dreamhost. Lots and lots of options.
Do you need the database itself hosted or just the PHP? If the latter, most any web host with PHP will do what you desire. If the former, you'll need a database host as well as a web host.
As long as the hosting provider supports HTTP requests like DELETE,PUT,etc and you are using them in your REST application/service then you are good to go. So just ask for a confirmation about this.
If you need php + MySQL hosting then go for web hosting
And for shedule service you can use cron jobs
In cron job u can select an php script and interval of running it automatically
It will automatically execute after given interval of time
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.