the company I currently work for wishes to perform a load test on its online shop, by being as close to reality as possible. Notably, they want to load test the entire process of making a purchase (Go to website -> article -> add to cart -> guest or login -> finalize).
The issue I have is, add to cart button has a randomized class name, and it's through this class that a JS function will be called on click. Moreover, most of a pages element are called via ReactJS.
I already looked into Locust.io, but I failed to send a JS event. Selenium would allow me to perform the task, but not to scale it to tens of thousands of users. I did a quick check of JMeter, but apparently it doesn't deal with JS either.
So, I would like to get your input as to which load testing tool would be adapted for this scenario?
Thanks in advance!