This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • 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: 34095
337
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