0

I am facing an issue while reading the data from CSV file to pass the values to the request. I have a csv with 3 columns userid, password and type.When the data is being passed for the username field, its taking the values of 3 columns instead of just the username Jmeter version: 5.0

CSV file value:

enter image description here enter image description here

Can you please help me if i am doing it wrong.enter image description here

2 Answers 2

1

Double check the "Delimiter" in your CSV file because if it's different from the default comma , you will need to change it accordingly:

enter image description here

In order to be 100% sure in the test data integrity I would recommend opening it with a text editor like Notepad instead of Excel as JMeter treats CSV files as plain text and this is you should be also doing when validating your test data.

You may find Debug Sampler useful for visualising JMeter Variables which are generated by CSV Data Set Config, Post-Processors and some pre-defined variables.

Sign up to request clarification or add additional context in comments.

Comments

0

Let me see the variable you insert into the Login request. Everything is find with your config. Maybe it about your CSV file. Please sure format of CSV file when you open with Notepad not Microsoft Word like this

userid,password,type
[email protected],Test@123,Vehicle
[email protected],Test@123,Vehicle
[email protected],Test@123,Vehicle

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.