I need to hit a server using query parameter and maintain specific ratio.
For example.
We have http://some_service.com/anything?param=true
So i need to hit server so it will be 80% of request with param=true and 20% with param=false.
I’ve tried to use repeat statement to send 4 requests with one value and then 1 request with another one.
So it should have make necessary ratio. But test results was approximately 60/40 or even close to 50/50
thanks!
p.s. i’m totally new to scala