nodeload
nodeload copied to clipboard
some parts of the manual are confusing
hi,
perhaps I didn't understand this part of the doc (nodeload.md) ?
// Specify one of:
numUsers: 10, // 1. numUsers: number of virtual users concurrently
// executing therequest loop
loadProfile: undefined, // 2. loadProfile: array with requests/sec over time:
// [[time (seconds), rps], [time 2, rps], ...]
// For example, ramp up from 100 to 500 rps and then
// down to 0 over 20 seconds:
// [[0, 100], [10, 500], [20, 0]]
// Specify one of:
targetRps: Infinity, // 1. targetRps: times per second to execute request loop
userProfile: undefined, // 2. userProfile: array with number of users over time:
// [[time (seconds), # users], [time 2, users], ...]
// For example, ramp up from 0 to 100 users and back
// down to 0 over 20 seconds:
// [[0, 0], [10, 100], [20, 0]]
- I must specify numUsers OR loadProfile which are related to 2 different things !? (one setting is about number of users, the other about RPS) ?!?
- I must specify targetRps OR userProfile : same remark
Perhaps it is a typo ? IMHO you wanted to write
- specify one of "numUsers" or "userProfile"
- specify one of "targetRps" or "loadProfile"
Am I wrong ?