Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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
  #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.


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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.