I am testing web app. Basically I have 1 thread group (lets call them affiliates) who on average need to perform 2.5 requests per second (each request being a request for an imaginary advert). The second thread group (end users) needs "click" on 10% of these adverts requested by the Affiliates.
I have the following setup:
Each Thread group has a ramp up time of 1(s). The constant timer for the first thread group (Affiliates) is 400ms (1second / 2.5clicks = 1 click per 0.4 seconds = 1 click per 400ms). If I have understood correctly this should make sure that each affiliate should click once every 400ms.
The second thread group has a constant timer of 4000ms (since the timer is a delay then 4000ms makes should result in 10% requests of the first thread group).
When testing with one user, the results are fine, as I increase the users however (for example at 150 users per thread group (300 total users)) the results are no longer AdClick 10% of AdRequests.
Running my test for 1 minute I get the following: AdsRequest = 4695 samples AdsClicked = 1568 samples
AdsClicked should be about 470 samples
So my question is: How can I set up my test to constantly have 10% samples of AdRequests for Adclicked, irregardless of how many users are currently using the system.