1000 req/sec

I have a requirement for performance testing to test 1000 req/sec. Is this the correct way to achieve this?

setUp(
loadTestScenarioBuilder.inject(constantUsersPerSec(50) during (20 seconds)))
.assertions(global.failedRequests.count.lt(1))
.protocols(makeProtocolBuilder()
)

or should be I using throttle?

I think that you need to find out the number of users that will generate the desired number of requests. This is the matter.