0

I have a mostly back-end, non-user facing web application that I need to have load tested. I was wondering what the options were that are tailored for my use case. It needs to be a load testing utility that the developers can run themselves, perhaps should live within the same code repository (correct me if I'm wrong), and is performant.

I'm worried about the scalability of Ruby scripts for something like this. JMeter has of course come up, but I don't it will work for us and I am not shy around code. So far, what I've come up with is Gatling, although I'm not exactly sure if it can be used seamlessly with clojure. Please share thoughts about this.

asked Aug 28, 2014 at 18:50
2
  • Load testing tools for a webapp typically only talk to the webapp over HTTP. Can you elaborate on what it means for a webapp application to not work seamlessly with Clojure? Do you mean you prefer to write your load tests in Clojure because it is your language of choice? Or does your webapp have Clojure functions that your load testing app needs to call directly? Commented Aug 28, 2014 at 20:53
  • The webapp itself is written in Clojure. It's not my language of choice, but it would be convenient for the latter case you mentioned: in the event that there needs to be some communication between the app and the load testing suite. But perhaps it's a use case that might never even appear. At the very least, I'd like the load testing suite to be packaged with the app. Commented Aug 28, 2014 at 21:03

2 Answers 2

1

Clojure is a language which targets Java Virtual Machine so any Java-based load testing tool will be good for you. All 3 are mentioned in this discussion:

If you are about to go for Gatling remember that it doesn't scale and has very limited protocols support. Perhaps Open Source Load Testing Tools: Which One Should You Use? can help you to choose the right option.

answered Aug 29, 2014 at 8:07
2
  • Could you explain to me in what sense doesn't it scale? Commented Aug 29, 2014 at 11:36
  • Grinder and JMeter can be launched in "clustered" mode when load generators are distributed among physical or virtual hosts, it allows to create high load when single machine isn't capable of providing enough throughput. Gatling doesn't have this ability. You still can launch several Gatling instances but they won't be synchronized by any means and results won't be aggregate. Commented Aug 30, 2014 at 6:34
1

I have used The Grinder with Clojure as the scripting language. It wasn't as easy to use as JMeter, but it got the job done.

answered Aug 28, 2014 at 22:08

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.