On 10/06/2009, C.Vijayakumar <[email protected]> wrote:
> Hi All ,
>
>  I have used the following steps to Parameterize my Test Plan after getting
>  the information from JMeter-Nabble .
>
>  For passing values like user name and password using ' User parameter '
>  file.
>
>  This is the solution for u r problem:
>  1. go to options->function  Helper Dialog
>  2. Choose a function----CSV Read
>  3. Then create one csv file(Ex: login.csv) in JMETER bin folder.That file
>  contains first column as username and second column password.
>  4. In function parameters,function name is csv file name and column number
>  is 0;
>  5. Then click on Generate button.then it will generate one
>  function(${__CSVRead(login.csv,0)}) copy this function.
>  6. Then add user parameter (Add->preprocessor->user parameter) to the thread
>
>  group.
>  7. click on add variable.In parameters list enter name filed(Ex:Username)
>  and corresponding User_1 paste the function(${__CSVRead(login.csv,0)})
>  8. and add one more variable name as password and function name as
>  (${__CSVRead(login.csv,1)}.
>  9.And add one more variable name as next and function as ${__CSVRead(
>  login.csv,next)}
>  10. then use these names into the script. -Go to u r script and instead of
>  username(ex: john) place ${Username} and
>  instead of password(ex:@lt456) place ${password}
>
>  I have paste these ${username} & ${password} in Http Request parameters of
>  Login page . ( Send Parameter with Request pane )
>
>  But after executing the Test Plan am getting the following error message in
>  Tomcat server .
>
>  WARNING: Parameters: Character decoding failed. Parameter skipped.
>  java.io.CharConversionException: isHexDigit
>
>  Can any one pls explain what i need to do to sort out this problem .

Use the

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#View_Results_Tree

Listener to show what you are sending.

By the way

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Data_Set_Config

is easier to use than User Parameters + __CSVRead.


>
>  Thanking you .
>  With warm regards.,
>
> Vijayakumar.C
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to