Jeevan
Jeevan

Reputation: 740

REST API load testing with Jmeter

Im new to REST API testing, I want to do a load of an HTTP REST API, is there any possibility to do a 100 number of parallel HTTP request testing with Jmeter?

And also my request need a query params, can I provide a list of values to Jmeter and Jmeter can loop each request with one param form the list provided?

Appreciate your help.

Upvotes: 0

Views: 959

Answers (1)

Dmitri T
Dmitri T

Reputation: 168002

JMeter executes requests as fast as it can, I don't fully understand your 100 number of parallel HTTP request stanza.

  • If you want 100 virtual users concurrently accessing your API endpoint: under Thread Group specify number of threads as 100 and set loop count to Forever or -1. In this case the actual number of requests per second will depend on your application response time
  • If you want to send 100 requests at exactly the same moment - use Synchronizing Timer
  • If you need to send 100 requests per second - use Precise Throughput Timer

For parameterizing your request with external data people normally use CSV Data Set Config

Upvotes: 2

Related Questions