• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jmeter - input should change for each hit

 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When one is running a test ; is it possible that one of the input form parameters can be dynamically given

My requiremetn is that one of the input parameters value should come from a file and it shoud be different for each request...

Does Jmeter provide such a feature..???


Regards
 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Worked out with the

User_Parameters and used the function

__StringFromFile for it to work..

Thanks

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34198
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for sharing the solution for others who encounter this question in the future!
 
Srikanth Nutigattu
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My two cents:

To generate unique data you can use "Random Variable" Thread Group->Add->Config Element -> Random Variable

To read from a CSV file you can use Add->Config->CSV Data Set Config

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic