1

I have a csv file contains around 1000+ rows. I need to add some extra columns in the existing file and also corresponding values of each row of information using jmeter script.Please can someone help me out in this.

asked Jul 9, 2019 at 7:18

1 Answer 1

1

You can use bean shell scripts to execute code that can manipulate CSV files. This question has an example how to change data in a CSV-file. You should be able to adapt it to adding data aswell.

JMeter is a load testing tool not a CSV manupilation tool. Use other tools to prepare your data. There are a lot of commandline tools you can use to do this, which you could call from within JMeter.

A example flow:

  • Initial testdata in prepped in a CVS-file
  • JMeter collects data in a file
  • Commandline/BeanShell script combines JMeter data with other data into file Y
  • JMeter uses new file Y todo something
  • More reporting

Your question is not detailed enough to really give a good examle, but hopefully this triggers you to come to a solution for your challenge.

Reads:

answered Jul 18, 2019 at 15:19

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.