On 12/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
JMeter 2.2 Testing a Web Server using AuthenticationPost HTTP Request Send Parameters with a Request NAME: PASSWORD VALUE: ${__StringFromFile(c:\passwords.txt,,,)}
BTW, you don't need the trailing commas.
Can somebody tell me how the logic for StringFromFile works ?
http://jakarta.apache.org/jmeter/usermanual/functions.html#__StringFromFile
I can hard code user / password but I need to read from a file.
The above should work - assuming that the web application uses parameters for the user and password. However, if it is web server authentication, try using the HTTP Authorization Configuration element. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

