Please let me know if any one else faced this issue listed below?

> From: [email protected]
> To: [email protected]
> Subject: RE: creating user defined variables for authentication
> Date: Sat, 9 Oct 2010 03:11:42 +0530
> 
> 
> I created a csv file parameter.csv with the following parameters 
> username,password,domain
> 
> This csv file was placed in same directory as the scripts and not in bin 
> folder
> 
> From the logs i see the following error 
> 
> ERROR - jmeter.threads.JMeterThread: Test failed! 
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
>     at java.lang.String.charAt(Unknown Source)
>     at org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:134)
>     at 
> org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:316)
>     at 
> org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:306)
>     at 
> org.apache.jmeter.control.GenericController.next(GenericController.java:125)
>     at org.apache.jmeter.control.LoopController.next(LoopController.java:106)
>     at org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:124)
>     at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:239)
>     at java.lang.Thread.run(Unknown Source)
> 
> Thanks
> Bharatraj
> 
> > From: [email protected]
> > To: [email protected]
> > Date: Fri, 8 Oct 2010 16:13:41 -0500
> > Subject: RE: creating user defined variables for authentication
> > 
> > I'm not sure that I understand your question.  If you want to have a file 
> > with the user names and passwords, check out 
> > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Data_Set_Config.
> > 
> > -----Original Message-----
> > From: bharatraj viswamani [mailto:[email protected]] 
> > Sent: Friday, October 08, 2010 3:54 PM
> > To: [email protected]
> > Subject: RE: creating user defined variables for authentication
> > 
> > 
> > how do i read from file?
> > 
> > > From: [email protected]
> > > To: [email protected]
> > > Date: Fri, 8 Oct 2010 15:38:38 -0500
> > > Subject: RE: creating user defined variables for authentication
> > > 
> > > http://jakarta.apache.org/jmeter/usermanual/build-web-test-plan.html#logging_in
> > > 
> > > -----Original Message-----
> > > From: bharatraj viswamani [mailto:[email protected]] 
> > > Sent: Friday, October 08, 2010 3:31 PM
> > > To: [email protected]
> > > Subject: creating user defined variables for authentication
> > > 
> > > 
> > > Can some one let me know how to create user defined varibales to login to 
> > > a webpage and proceed with further processes like form filing
> > >                                     
> > > 
> > > ---------------------------------------------------------------------
> > > 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]
> > 
>                                         
                                          

Reply via email to