GoGoupil / goupil

Go web load testing tool
1 stars 0 forks source link

Add duration and gap attributes in thread #2

Closed Devatoria closed 9 years ago

Devatoria commented 9 years ago

Add a duration attribute allowing to make a thread keeping connection for X seconds and a gap attribute defining the gap time between each requests sent in this duration. Both should be in ms.

Devatoria commented 9 years ago

If duration parameter is defined, count parameter or gap parameter should be defined, but not both. If duration and count is defined, compute gap to send as many requests as count with a regular interval. If gap is defined, send one request by gap contained in this duration.