What test harness tool/framework can test concurrent requests in a Rails app? [closed] - ruby-on-rails

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
How can I test my Rails app with N concurrent users?
These simulated users will do some actions like upload/download files, etc.
Are there any frameworks or free tools that support this?

ab(Apache Benchmark) is made for that. Here is an example:
https://github.com/igrigorik/async-rails

I use jMeter, although the UI is a little rough IMO. I ended up sharing a lot of code between my easyb (Groovy-based) specs and a mini-DSL I used to create jMeter config/execution files (XML) so redundancy between specs and load testing was reduced. The same should be doable in Ruby as well.
JMeter allows concurrent testing, ramp-ups, all sorts of stuff. I don't know if it does everything a commercial tool does, but I've used it for a long time on a wide range if apps and it's been, more or less, satisfactory.

Related

Rails code quality tools that I can run in development mode without sharing my code [closed]

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 came across https://codeclimate.com.
Super awesome, but I'm working on a project whose code I cannot share with others or Code Climate.
Now I would like to be able to improve my code quality and wonder if anyone can suggest tools that do what codeclimate.com does but locally in development mode, without me having to share my code.
The metric_fu gem seems to be the best option combining all known test tools into 1 an generate a neat report although its not as nice and fully featured as code climate.com
We can use Fog gem which give code complexity at class and method level.
To check code duplications we can use Flay gem.
Both give same result that code climate gives.
Now there's an exact answer: Last year Code Climate released a new platform which includes a command-line interface, Code Climate CLI. It runs entirely on your computer (in a Docker container) and doesn't require a Code Climate account.

Unit testing for iOS projects [closed]

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'm still relatively new to iOS development and also an absolute stranger to any kind of testing that is not compile, run, and check whatever comes to your mind.
This is obviously a weakness on any developer's profile and I'm decided to get ride of it now that interesting, real projects are coming my way.
In my quest to look for the best approach to go from 0 to 100 as soon (and well) as possible I'm coming to the specialized community to get your feedback.
At the same time I'm asking for your tips I'm also getting into Amazon to look for well-reviewed books on the subject and Google to get the rest. I'm just coming here to gather the feedback of those willing to spare a minute or to so I can probably hit jackpot with a great advise and better plan my learning strategy.
Thats right. For my job testing and test driven development is indispensable.
I often use Java and JUnit, but for Objective-C and XCode I think this screencast is a very good start: http://qualitycoding.org/objective-c-tdd/
Since I watch this screencast I use OCHamcrest and OCMockito (both explaind in this screencast) as well as SenTestingKitAsync for testing asynchronous functions.
I think the Clean Code book is a must have for every developer. There is a chapter about testing.

webistrano alternatives? [closed]

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 are looking for a automated remote deployment system for our Rails deployments. Are there any good alternatives to Webistrano. We want try out first and select which will best suit our requirements.
Etsy have open sourced their Deployinator. It uses Sinatra, Capistrano and a little PHP, but you can deploy anything from it.
Strano - GitHub-powered web UI for Capistrano deployment. Works with non-GitHub projects as well.
After long time search, I've started building Gunnery - a real, modern webistrano alternative.
I don't know if it is still relevant but I would like to come up with a different solution. I am building a new deployment tool that does just what you are looking for.
I do not intend to spam my stuff here but since I am building something that could help you...
Anyway, have a look here https://alessiosantocs.github.io/Captain. I'm gathering feedback so if you have any please let me know.

Are there any Erlang-ready continuous integration systems available? [closed]

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
I'd like to start using continuous integration in my personal projects to get experience with the techniques and concepts. The problem is that my programming poison runs to the non-mainstream (to put it mildly) with the bulk of my work being in Erlang.
What continuous integration systems are capable of dealing with non-mainstream languages, chief among them, in my case, Erlang? How easy are they to set up, configure and run?
At this point I'd recommend Jenkins. It is easy to setup and configure, there are lots of help online and basic support with the common Erlang test tools.
See Stack Overflow question Continuous integration server for Erlang code for basic information about how to intergrate eunit and common test into Jenkins.
We are using Jenkins-CI in the etorrent project and that seem to work really well. We have a number of virtual machines implementing different operating systems on which we run the system and then carry out tests.

Website Monitoring Libraries [closed]

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
There has been some talk of Website performance monitoring tools and services on stackoverflow, however, they seem fairly expensive for what they actually do. Are there any good opensource libraries for automating checking/monitoring the availability of a website?
If you just want to know if your server is serving out content or not, take a look at Montastic. I use it, and am pleased. Plus its free!
It will ping your site periodically, and if it doesn't get a 200 status, it lets you know.
Intelligent website monitoring by simulating a human user is done with Sahi + OMD.
http://www.nagios-wiki.de/_media/workshop/2012/sahi2omd_simon_meggle_monitoring_workshop_2012.pdf
I have always used Zabbix especially for critical web sites. It uses MySql for the database and it has a PHP frontend. Of course it is open source and it is very flexible. It uses servers to stick data in the database and agents collect the data and send it to the servers. It is very scalable with this respect. I cannot recommend this software enough. I have all kinds of monitoring going on, not just web servers.
Check out mon.itor.us as well.

Resources