StringFromFile was not part of JMeter 1.8. [So no matter how you spell it, it won't work ...]
Not sure if it is in 1.8.1; it is certainly in 1.9 RC2 and above. If a function does not appear in the Function Helper, then the function is not present. S. -----Original Message----- From: James Farrier [mailto:[EMAIL PROTECTED] Sent: 01 July 2003 15:46 To: 'JMeter Users List' Subject: RE: _StringFromFile Function I am using version 1.8 of JMeter. I have the following as value of the query parameter: ${_StringFromFile(C:\transactions\JMeter\jakarta-jmeter\bin\testfiles\qu ery.txt,)} The text file I am referring to is a plane text file which has the letters of the alphabet on separate lines. The behavior I am trying to create is first to search for A, then B then C....D...E etc. When I look at the results in the view request tree I can see the following: http://clueso:80/jfarrier/analysisManager.do Query Data: org.apache.struts.taglib.html.TOKEN=616aeaa651e38461867e28433917cb&analy sesResultsToString=<Results></Results>&query=${_StringFromFile} As a side note, when I use the Function Helper Dialog, _StringFromFile does not appear in this. If you need anymore information then let me know. -----Original Message----- From: BAZLEY, Sebastian [mailto:[EMAIL PROTECTED] Sent: 01 July 2003 13:41 To: 'JMeter Users List' Subject: RE: _StringFromFile Function What symptoms are you seeing? If you are seeing the function name, then either the function name has been spelt wrongly, or the number of parameters is incorrect. [This applies to all functions.] Note that StringFromFile only has one leading underscore... If you use the Function Helper, neither of the above should apply, so: If you could post a few more details (JMeter version, how SFF is being used, what "doesn't work") perhaps we could be of more help. -- The opinions expressed herein are my own, and are not necessarily endorsed by my employer ... -----Original Message----- From: James Farrier [mailto:[EMAIL PROTECTED] Sent: 01 July 2003 13:17 To: JMeter Users Subject: _StringFromFile Function Hi, I am testing a web site which allows you to do searches. I want the search criteria to differ each time a user does a search. I have created a HTTP Request parameter for this which uses the __StringFromFile() function, but I cannot get this to work. If anyone could shed some light on this it would be greatly appreciated. Thanks in advance James --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

