Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 34826 invoked from network); 8 Oct 2010 21:42:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Oct 2010 21:42:13 -0000 Received: (qmail 76331 invoked by uid 500); 8 Oct 2010 21:42:13 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 76308 invoked by uid 500); 8 Oct 2010 21:42:13 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 76300 invoked by uid 99); 8 Oct 2010 21:42:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Oct 2010 21:42:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of viswamani@msn.com designates 65.55.90.19 as permitted sender) Received: from [65.55.90.19] (HELO snt0-omc1-s8.snt0.hotmail.com) (65.55.90.19) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Oct 2010 21:42:03 +0000 Received: from SNT125-W18 ([65.55.90.8]) by snt0-omc1-s8.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 8 Oct 2010 14:41:42 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_925ad8e3-74d9-45bd-b0a0-59fd48947c71_" X-Originating-IP: [98.193.217.197] From: bharatraj viswamani To: Subject: RE: creating user defined variables for authentication Date: Sat, 9 Oct 2010 03:11:42 +0530 Importance: Normal In-Reply-To: References: ,,, MIME-Version: 1.0 X-OriginalArrivalTime: 08 Oct 2010 21:41:42.0895 (UTC) FILETIME=[990BFFF0:01CB6731] X-Virus-Checked: Checked by ClamAV on apache.org --_925ad8e3-74d9-45bd-b0a0-59fd48947c71_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I created a csv file parameter.csv with the following parameters username= =2Cpassword=2Cdomain This csv file was placed in same directory as the scripts and not in bin fo= lder >From the logs i see the following error=20 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.StringIndexOutO= fBoundsException: String index out of range: 0 at java.lang.String.charAt(Unknown Source) at org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:1= 34) at org.apache.jmeter.control.GenericController.fireIterationStart(Gener= icController.java:316) at org.apache.jmeter.control.GenericController.fireIterEvents(GenericCo= ntroller.java:306) at org.apache.jmeter.control.GenericController.next(GenericController.j= ava:125) at org.apache.jmeter.control.LoopController.next(LoopController.java:10= 6) 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=2C 8 Oct 2010 16:13:41 -0500 > Subject: RE: creating user defined variables for authentication >=20 > I'm not sure that I understand your question. If you want to have a file= with the user names and passwords=2C check out http://jakarta.apache.org/j= meter/usermanual/component_reference.html#CSV_Data_Set_Config. >=20 > -----Original Message----- > From: bharatraj viswamani [mailto:viswamani@msn.com]=20 > Sent: Friday=2C October 08=2C 2010 3:54 PM > To: jmeter-user@jakarta.apache.org > Subject: RE: creating user defined variables for authentication >=20 >=20 > how do i read from file? >=20 > > From: Steve.Eckhart@wausaufs.com > > To: jmeter-user@jakarta.apache.org > > Date: Fri=2C 8 Oct 2010 15:38:38 -0500 > > Subject: RE: creating user defined variables for authentication > >=20 > > http://jakarta.apache.org/jmeter/usermanual/build-web-test-plan.html#lo= gging_in > >=20 > > -----Original Message----- > > From: bharatraj viswamani [mailto:viswamani@msn.com]=20 > > Sent: Friday=2C October 08=2C 2010 3:31 PM > > To: jmeter-user@jakarta.apache.org > > Subject: creating user defined variables for authentication > >=20 > >=20 > > 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 > > =20 > >=20 > > --------------------------------------------------------------------- > > To unsubscribe=2C e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > For additional commands=2C e-mail: jmeter-user-help@jakarta.apache.org > >=20 > =20 >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands=2C e-mail: jmeter-user-help@jakarta.apache.org >=20 = --_925ad8e3-74d9-45bd-b0a0-59fd48947c71_--