jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bharatraj viswamani <viswam...@msn.com>
Subject RE: creating user defined variables for authentication
Date Fri, 08 Oct 2010 21:41:42 GMT

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: Steve.Eckhart@wausaufs.com
> To: jmeter-user@jakarta.apache.org
> 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:viswamani@msn.com] 
> Sent: Friday, October 08, 2010 3:54 PM
> To: jmeter-user@jakarta.apache.org
> Subject: RE: creating user defined variables for authentication
> 
> 
> how do i read from file?
> 
> > From: Steve.Eckhart@wausaufs.com
> > To: jmeter-user@jakarta.apache.org
> > 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:viswamani@msn.com] 
> > Sent: Friday, October 08, 2010 3:31 PM
> > To: jmeter-user@jakarta.apache.org
> > 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: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > 
>  		 	   		  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message