I have the following problem. Even with rampup and think time, some requests are still sent at the exact same time. Let's look the example below:
Number of threads: 2 Rampup: 60 sec
Thread Group
- Transaction Controller
- Action 1 (Transaction controller)
- Sampler 1
- Sampler 2
- Sampler 3
- Sampler 4
- Sampler 5
- Think Time (between 5 and 10 seconds)
- Action 2 (Transaction controller)
- Sampler 6
- Sampler 7
- Sampler 8
- Sampler 9
- Sampler 10 ...and so on
- Action 1 (Transaction controller)
The problem is that somehow thread 2 catches thread 1 and for example Sampler 7 is sent for both threads at the exact same time. I don't know why this happens, but when the sampler is a POST request, the server handles only the first received request and the second one fails with 500 error message. I can add a random timer to Sampler 7, but I don't like this solution. Here, I've shown you an example with only 10 samplers, but in the real scenario I have more than 700 Samplers and I don't want to add an additional think time to all post request. I thought that the rampup period and the think time will do the job and not let a sampler to be sent to both users at the same time, but it does not work.
Please help