Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681462ySpin up a DDoS bot network and pump the api hard.
Otherwise, I use that J word you don't like 😂 -
Hazarth94722yI haven't done it in a while as it's not my job. But I always used JMeter, but maybe what you're looking for is using Selenium with something like Python. I never tried doing this, but you should be able to run several Selenium chrome or firefox windows (or random I guess?) and even measure the time it takes for full load on each page and then let it click around using a selenium script or programming some basic use flow.
Again, I never tried doing that, but theoretically I don't see a reason why it wouldn't work -
Hazarth94722y@horus hmm, good point.
Selenium can be ran headless but that's not going to save up that much either... I suppose you'd need multiple machines to do this then...
really I'd just stick with JMeter and load test the API only, the front can be treated as single client anyway since it would be many different users always just using it once on their machine, so if the front end can perform well on the OPs local browser, that's how we can estimate it will perform on everyones browsers anyway...
You could test the worst case scenario on a dedicated weak machine like the Raspberry PI or an old laptop lying around lol -
Maybe locust? It was able to handle csrf token and session cookies while testing against several sites of my company website
How the fuck you people do load testing ?
Don't tell me JMeter, it's useless as it doesn't represent an actual browser session...
I'm not taliong "test APIs" but the whole user experiance....
Can't find a single tool which does it at 1000+ sessions....
rant