DEV Community

Raghwendra Sonu
Raghwendra Sonu

Posted on

1 1

JMeter- Read data from CSV file (Parameterisation)

This article is extension of my previous article "REST API testing in JMeter: https://dev.to/raghwendrasonu/rest-api-testing-in-jmeter-iid

In this article we are going to parameterise both the variables. So "q" and "appid" we are going to read from external CSV File.

Step 1: Create a CSV file with all the parameters.

Alt Text

Step 2 : Add config element as CSV Data Set Config in the JMeter Test Plan
Add -> config element -> CSV Data Set Config
Add csv file path.

Alt Text

Step 3 : Update value fields in JMeter with ${variable_name}.

Alt Text

Step 4 : Run and validate the results.

Alt Text

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay