I want to execute a test with only 1 thread group. I want to run n different threads. Say the test would take 1 second, then I could set threads = n and ramp up = 1, loop = 1. My thinking was that if I wanted the test to run longer, I should just raise the number of ramp up seconds AND raise the number of loops by the same ratio. I got that idea reading here:
http://www.testingjournals.com/5-must-know-features-thread-group-jmeter/
In the loop section under scenario 2 it says: Every 5 seconds (100/20) 4 Thread / Requests will hit the server.
But I didn't understand if it means that 4 threads are evenly spread over 5 seconds, or that every 5 seconds 4 requests will be shot at once.
What if I want to test this exact same test but for longer periods of time? I don't want more threads since every thread has a connection overhead. So I want the same n threads to be run evenly distributed over a second, for a growing number of seconds. How can I assure that the same threads will be used AND will be evenly distributed over what ever time frame I wish? Should I use the constant throughput timer? And if so, what should be set in the loop and ramp up configurations?