DEV Community

loading...

REST API Testing in JMeter

Raghwendra Sonu
Automation Testing expert with diverse tools and technologies. Expertise in Web Automation, Mobile Automation, Performance Testing, API (WebServices Testing), Automation Testing Frameworks.
・1 min read

In this article we are going to do load test on REST API.
So, here are the steps:
Step 1 : Add HTTP Request Sampler in your JMeter Test Plan

Step 2 : Add REST API details. In this example we are going to test weathermap.
Server name: api.openweathermap.org
path: /data/2.5/weather/
parameters: q=NewDelhi
and
appid=5ad76b332e2fa27ea9859353e5fdd69d

Alt Text

Step 3 : Run and Validate

Alt Text

Discussion (0)