File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes Jmeter - input should change for each hit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Jmeter - input should change for each hit" Watch "Jmeter - input should change for each hit" New topic
Author

Jmeter - input should change for each hit

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 978
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

Joined: Jul 04, 2004
Posts: 978
Worked out with the

User_Parameters and used the function

__StringFromFile for it to work..

Thanks

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29241
    
139

Thanks for sharing the solution for others who encounter this question in the future!


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Srikanth Nutigattu
Ranch Hand

Joined: Oct 30, 2007
Posts: 114
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jmeter - input should change for each hit
 
Similar Threads
how to test webservices
provide string array as input value for action in jmeter
JMeter and form authentication
jmeter
Performance measurement tools