Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Expert One-on-One J2EE Design and Development
This is the forum to discuss the Wrox book Expert One-on-One J2EE Design and Development by Rod Johnson; ISBN: 9780764543852
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One J2EE Design and Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 2nd, 2014, 03:07 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Jmeter Load Testing Help

Hi,
Need help urgently. I need to load test a particular functionality(business Logic) of my site. I am using Bad Boy script recording to generate Jmeter script.

I was successful in passing the login credentials for all users using a CSV file to Jmeter. But within the script other parameters don't change for different Users. The values remain the same as recorded using Bad boy scripting. I am not that great with Jmeter. Any help in this regard is very much appreciated.


Thanks,
VJ
Reply With Quote
  #2 (permalink)  
Old June 8th, 2014, 09:36 AM
Registered User
Points: 21, Level: 1
Points: 21, Level: 1 Points: 21, Level: 1 Points: 21, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi VJ.

Passing just login and password is often not enough in the modern world. I expect that you need to add at least HTTP Cookie Manager to represent browser cookies and deal with cookie-based authentication.

Going forward, there could be mandatory dynamic parameters which represent page-level state, session ID, etc. In that case your test login should look as follows:
  1. Open Login Page
  2. Detect and extract any dynamic parameters and store them into JMeter Variables
  3. Perform login providing credentials and dynamic parameters from previous step

This is called "correlation" and it's one of the most frequently asked questions

See ASP.NET Login Testing with JMeter guide for example. If your application isn't ASP.NET-based it doesn't matter, the approach shouldn't be different for other application types where correlation is required.

Hope this helps.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Login Application load Testing with JMeter SambaLH BOOK: Expert One-on-One J2EE Design and Development 1 April 16th, 2014 04:24 AM
How to take Report or Export of the web load testing done on VSTS 2008? arbab Visual Studio 2008 0 August 8th, 2011 08:14 AM
HTTP error 500: Internal Server Error in Load Testing sherin Visual Studio 2008 0 May 19th, 2010 09:02 AM
JMeter and load testing mojavelinux BOOK: Expert One-on-One J2EE Design and Development 1 April 8th, 2004 01:19 PM



All times are GMT -4. The time now is 02:01 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.