0

I am using csv data set config to read data for data driven framework in jmeter. I have lots of data in my csv file. Suppose I want to read only data of specific row then how can i do this? I don't want to read data of all rows available in csv.

Please help

1 Answer 1

1

You can do it with Groovy language like:

def line10 = new File('/path/to/your/file').readLines().get(9)

The above code can be called from any of JSR223 Test Elements or from __groovy() function

More information:

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

1 Comment

I can read it through above code, but is there a way I can share it across the Thread Group and each thread read unique row everytime?

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.