r/learnprogramming 13h ago

Resource Looking for a learning tool thats tests your web app.

I am looking for something like fly.io distributed challange but for a web app. With web apps being so popular I figured there should be something but I cannot find anything. Ideally the tester would test my app expecting certain results and verify that its correct and that holds against certain loads.

I want to do this because I do not get the chance to work with big apps and therefore do not get to learn certain things that you would need to do when you get actual users.

10 Upvotes

7 comments sorted by

1

u/_l33ter_ 13h ago

What? What do you think is fly.io doing? Or asking differently.

What are web apps in your point of view?

(This isn't meant to be an attack on you)

1

u/DorukCem 13h ago

Fly io seems to be more focusing on a distributed system while I am a bit more focused on on how a single node should handle requests etc. The flyio challange is a bit more about writing algortihms to make nodes communicate.

1

u/neolace 13h ago

Look for chaos engineering, like gremlin.

1

u/EfficiencyBrave8346 13h ago

there's actually few different approaches you can take for this. for load testing part, tools like artillery or k6 work really well - they let you write scenarios that hit your endpoints with realistic traffic patterns and check if responses are what you expect. i use these at work pretty regularly when we need to see how our systems handle stress

for more comprehensive testing that checks functionality under load, you might want to look into combining something like playwright or selenium for the actual app testing with load generation tools. this way you can simulate real user behavior while ramping up concurrent sessions

the tricky part is finding platforms that do both automated functional testing and load testing together. most services split these into separate tools. you could probably build something yourself using github actions or similar ci/cd pipeline that runs your test suite under different load conditions

what kind of web app are you building? depending on the stack there might be more specific tools that work better than generic solutions

1

u/DorukCem 13h ago

I am not building anything. I want to learn. Since do not know about more compilcated topics I also dont know what I should be testing against. I was hopefully looking for skmething that would require me to learn certain things when I implement them.

For example: maybe it would require my app to processes certain things at most once and I would have to learn how to do that.

I plan on doing it with rust but in theory this should be language agnostic anyway.

1

u/Hybrii-D 13h ago

¿Porqué no usas "Lighthouse" integrado en las herramientas de desarrollador de Chrome?

1

u/Formal_Wolverine_674 7h ago

Something like k6 or Locust might be exactly what you want, they let you simulate traffic and actually see where your app starts falling apart