jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From porobashi <poroba...@rocketmail.com>
Subject RE: how to use "CSV Data Set Config" to take input from file
Date Wed, 28 Jan 2009 21:10:06 GMT

Thanks. I added debug sampler. After running test again, now in results tree
its showing me response data, and they look correct. same as CSV file data.
i attached one screenshot as well.

so, what might be the reason its not getting registered(not going into
Database)????



Steve Kapinos wrote:
> 
> Then you probably haven't configured your sampler correctly.
> 
> Adding a debug sampler at the stage where your sampler is, and you can
> see the state of all variables at that time in the view results from
> tree.
> 
> If your variables were wrong.. you'd see jmeter send the actual variable
> text... like  ${something}
> 
> Add the debug sampler, look at your variable values.  That will tell you
> if the CSV reader is working.  If the variables are fine there, but not
> in your sampler, the sampler is populated wrong.
> 
> Remember that variables are case sensitive.
> 
> 
> -----Original Message-----
> From: porobashi [mailto:porobashi@rocketmail.com] 
> Sent: Wednesday, January 28, 2009 3:26 PM
> To: jmeter-user@jakarta.apache.org
> Subject: Re: how to use "CSV Data Set Config" to take input from file
> 
> 
> I think JMeter is not reading data from my csv file. In the request
> field
> (for all 3 users) its showing same data, which I used to record the
> pages in
> BadBoy. Since that record got into database when I was recording, and
> its
> send same input again, my server is saying 'no, we already have that
> email
> in our account'. So, how to make JMeter read data from my CSV file???
> 
> 
> 
> 
> sebb-2-2 wrote:
>> 
>> Use Save Response to a File and load the file using a browser.
>> 
>> On 28/01/2009, porobashi <porobashi@rocketmail.com> wrote:
>>>
>>>  added 'view results tree', for registration page, on response data
> tab
>>> its
>>>  showing "Response too large to be displayed. Size: 288676 > Max:
>>> 204800".
>>>
>>>
>>>
>>>
>>>  Steve Kapinos wrote:
>>>  >
>>>  > Add 'view results tree' listeners so you can watch what the sent
> data
>>>  > and response data is to the server.
>>>  >
>>>  > Then you'll have to debug what your form wants and what its
> responding
>>>  > to you.
>>>  >
>>>  > -----Original Message-----
>>>  > From: porobashi [mailto:porobashi@rocketmail.com]
>>>  > Sent: Wednesday, January 28, 2009 1:27 PM
>>>  > To: jmeter-user@jakarta.apache.org
>>>  > Subject: Re: how to use "CSV Data Set Config" to take input from
> file
>>>  >
>>>  >
>>>  > i recorded web-pages using BadBoy software. then exported to
> JMeter.
>>>  > added
>>>  > CSV File configuration module. entered filename, field names
> separated
>>>  > by
>>>  > commas. tried for 3 users. ran it, no error is Aggregate Report,
> but i
>>>  > don't
>>>  > see any entry in database for the registration.
>>>  >
>>>  > few days ago, i used BadBoy(to record and then used JMeter) in a
>>> similar
>>>  > way
>>>  > to test other forms and that worked. previously form data was same
> for
>>>  > all
>>>  > users, so I didn't had to do any other configuration.
>>>  >
>>>  > any thoughts???
>>>  >
>>>  >
>>>  >
>>>  > Noel O'Brien wrote:
>>>  >>
>>>  >> The number of concurrent users is controlled by he number of
> threads
>>>  > you
>>>  >> configure in the Thread Group module.
>>>  >>
>>>  >> CVS Data Set Config module will load one line of a CSV file for
> each
>>>  >> thread,
>>>  >> so create a CSV file with at least as many entries as threads.
>>>  >>
>>>  >> Then you can add a HTTP Request sampler, specify the protocol as
>>> HTTPS
>>>  > and
>>>  >> fill in the rest of the necessary data
>>>  >>
>>>  >> Don't forget to add a listener (e.g. View Results Tree) so that
> you
>>>  > can
>>>  >> see
>>>  >> what's going on
>>>  >>
>>>  >> Regards,
>>>  >> Noel
>>>  >>
>>>  >> On Wednesday 28 January 2009 17:23:57 porobashi wrote:
>>>  >>> I am trying to load test our registration page. I am not limited
> on
>>>  >>> users,
>>>  >>> but will start with 10-20 users.
>>>  >>>
>>>  >>> I will like to enter only required fields value.
>>>  >>>
>>>  >>> My page is https, I will use BadBoy to record the page. Then I
> need
>>>  > to
>>>  >>> add
>>>  >>> "CSV Data Set Config" to the thread group, right? How to go from
>>>  > there?
>>>  >>>
>>>  >>> Thanks
>>>  >>>
>>>  >>> Noel O'Brien wrote:
>>>  >>> > What kind of testing (functional, load)?
>>>  >>> > Are you limited to a set of login data (e.g. 20 users)
>>>  >>> >
>>>  >>> > Regards,
>>>  >>> > Noel
>>>  >>> >
>>>  >>> > On Wednesday 28 January 2009 16:56:55 porobashi wrote:
>>>  >>> >> please help me out guys.
>>>  >>> >>
>>>  >>> >> porobashi wrote:
>>>  >>> >> > hi all,
>>>  >>> >> >
>>>  >>> >> > i am trying to test a sign-in(registration) form.
hence, i
> need
>>>  > to
>>>  >>> use
>>>  >>> >> > different data for each submission. i think using
"CSV Data
> Set
>>>  >>> >> > Config" would be the easiest route. i need your help
to
> give me
>>>  > a
>>>  >>> >> > step-by-step example on "CSV Data Set Config" using.
all
> fields
>>>  > are
>>>  >>> >> > not mandatory
>>>  >>> >>
>>>  >>> >> for
>>>  >>> >>
>>>  >>> >> > the form, is there way to only entering mandatory
fields???
>>>  >>> >> >
>>>  >>> >> > please help me out ASAP.
>>>  >>> >> >
>>>  >>> >> > thanks in advance.
>>>  >>> >
>>>  >>> >
>>>  >
> ---------------------------------------------------------------------
>>>  >>> > 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
>>>  >>
>>>  > http://www.nabble.com/file/p21711730/Registration%2BTest.png
>>>  > Registration+Test.png
>>>  > --
>>>  > View this message in context:
>>>  >
>>>
> http://www.nabble.com/how-to-use-%22CSV-Data-Set-Config%22-to-take-input
>>>  > -from-file-tp21708157p21711730.html
>>>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>>>  >
>>>  >
>>>  >
> ---------------------------------------------------------------------
>>>  > 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
>>>  >
>>>  >
>>>  >
>>>
>>>  --
>>>
>>> View this message in context:
>>>
> http://www.nabble.com/how-to-use-%22CSV-Data-Set-Config%22-to-take-input
> -from-file-tp21708157p21712550.html
>>>
>>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>
>>>
>>>
> ---------------------------------------------------------------------
>>>  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
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/how-to-use-%22CSV-Data-Set-Config%22-to-take-input
> -from-file-tp21708157p21713917.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-use-%22CSV-Data-Set-Config%22-to-take-input-from-file-tp21708157p21715034.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message