0

I have an requirement of creating test plan in jmeter

User 1 ==> 10 threads ==> 1st thread login into a GUI and edit 1st line , 2nd thread will edit 2nd line and so on till 5th thread for 5th line again same scenario continues till it reaches 10 thread.

How do we use CSV or parameterized concept to answer above use case?

1 Answer 1

1

There is no need to use any external parameterization like CSV files for this.

JMeter provides __threadNum() function which returns the current thread (virtual user) number so if you want 1st user to edit the 1st line - just use ${__threadNum} function in the place where you need to provide the line number and that would be it.

enter image description here

More information on JMeter Functions concept: Apache JMeter Functions - An Introduction

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

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.