End of The Road Yet Just the Beginning

I began my photography class at LAB thinking that I knew way more about taking pictures than I actually did. It only took one time for me to see everybody else’s pictures to realize that I had a lot…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Benchmarking Web Applications with Artillery

TLDR; Use the below Dockerfile and test.yml, change some arguments (i.e. the url, endpoints and any variables you need) and you’ll be good to go:

Recently I found myself wanting to find out how well a Quart web app I’ve been making would perform under load, a quick Google search threw up a bunch of options, nothing really jumping out and a whole slew of them seemed to be either just local testing or purely cloud based, neither of which helped me much.

Artillery is a NodeJS application specifically for benchmarking/load testing. It is incredibly easy to set-up, has a ton of possible configuration, a free and pro version and, most importantly for me at least, the free version has nearly everything you could possibly need to test any web app.

I want to make thisd article quick so here are some questions I went through in deciding whether it was right for me:

Can I run this easily, locally and on a server? Yes.
Can I configure this to cover my multiple use cases without making giant, unweildy changes? Yes.
Can I scale the deployment of this if required without much pain? Yes.
Do I need to learn some new language/tools to implement it into my current development workflow? No.

That’s it. It’s easy. I’m sure there are more robust or more intricate or more widely supported tools, but if you need something that works, works well and can be scaled, Artillery.io is a fantastic choice.

Add a comment

Related posts:

Who is the best Vastu consultant in Dubai?

Vastu is an ancient practice that is said to bring balance and harmony to the home. Are you curious about the benefits of Vastu and whether or not it could be right for you? In this article, we’ll…

A gente se precisa

Pra evoluir. Pra praticar Pra estagnar e pra continuar Pra ter razão e ter corpo e mente sãos Pra transmitir. Pra traduzir Pra destruir e construir Pra respeitar e desrespeitar Pra amar e pra odiar…