tsenart / vegeta

HTTP load testing tool and library. It's over 9000!
http://godoc.org/github.com/tsenart/vegeta/lib
MIT License
23.51k stars 1.36k forks source link

Whether is it possible to test consecutive several urls through vegeta? #465

Closed fengnex closed 4 years ago

fengnex commented 4 years ago

Question

Let's consider a scenario which is common in some real businesses as the following:

If a business operation to be pressed contains three consecutive URLs, the first one encrypts parameters by some encryption method, one of which is the real-time timestamp of the operation system. The return result of this URL is one of the input parameters of the second URL, and part of the data in the response result of the second URL is the input parameter of the third URL.

My question is whether we can do stress tests for such a scenario and how to do the tests then?

tsenart commented 4 years ago

Vegeta doesn't have this capability today and there are no plans to implement it in the near future. For such user session aware load tests, I'd recommend you look into https://k6.io/ or https://gatling.io/.