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 September 19th, 2008, 01:02 AM
Registered User
 
Join Date: Sep 2008
Location: Hyderabad, AP, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Login Application load Testing with JMeter

Hi All,

I am new to JMeter.I have configured JMeter and I want to perform load testing on my login application and after login successfull I need to test the User is Active or not in another jsp page.

So, I have configured as follows:
1)created thread group with 2 threads and rampup time as u like
2)select HTTP REQUEST in samplers where I have to give the servername , port number(8080), and give the complete URL(till login screen) at the path variable.
I set the username and password in the "Send Parameter with the Request"
3)Created HTTP REQUEST for URL(till user is active or not Jsp page) for user active testing.
4)select any of the listeners.

But I am able to see the all the requests are success in Result Tree.
In userActivePage, it is showing me, user is Inactive.

Please solve this problem and help me, how to set the credentails to HttpRequest.

Regards,
Srinivas

  #2 (permalink)  
Old April 16th, 2014, 04:24 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

  1. Make sure that you have HTTP Cookie Manager added and enabled to deal with JSESSIONID cookie
  2. JSP applications use VIEWSTATE parameter for page-level state management. This is a mandatory one and it should go along with the request

See ASP.NET Login Testing with JMeter guide for explanation on how to perform correlation (extraction of dynamic parameters from previous response and passing them along with next requests) .


Similar Threads
Thread Thread Starter Forum Replies Last Post
login through jmeter authorization. labudug BOOK: Expert One-on-One J2EE Design and Development 3 November 16th, 2013 09:54 AM
please help, how to load external application hard boiled Beginning VB 6 3 June 11th, 2007 03:47 PM
Online quiz/testing application takwirira ASP.NET 1.x and 2.0 Application Design 7 March 5th, 2007 03:17 PM
web application testing rajanikrishna Classic ASP Databases 0 April 6th, 2005 11:21 PM
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.