Solved

How to configure Jmeter in j2ee application

Posted on 2014-01-18
4
460 Views
Last Modified: 2014-02-12
Hi all,
I am new to jmeter, by referring some of the website i came to know how to configure one url, but i want know if the page having one button, after clicking the button it has to perform some action, i want to know that statistics by using Jmeter, how to configure this, please help me.
0
Comment
Question by:prabhualla
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
Mahesh Bhutkar earned 500 total points
Comment Utility
You can follow the steps from here,
http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf

1.open ur jmeter (contains testplan and workbench in default)
2.add a threadgroup
3.add “http request defaults” whic is under config( change the server name i.ethe site u need to record)
4.add “http proxy server (workbench-rightclick-non testing elements-http proxy server)change the default port 8080 to someother(eg 9090)
5.start the proxy server
6.change the browser settings to manual setup with 9090 port and localhost

This will also help you to refer,
http://www.tutorialspoint.com/jmeter/jmeter_web_test_plan.htm
0
 

Author Comment

by:prabhualla
Comment Utility
I am new to Jmeter, i want to do the load testing to my web application which is developed using JSF 1.2, i red many articles about it,And i surfed in google every where i got very simple example, that how we can do the load testing to a simple static website like apache.jemter.org, but i couldn't find the procedure to  do load testing a local webapplication.

i have some quaries here:

(Q1) In my application first login page , And after passing username,password and Branch i will click Login button, it will navigate to home page.
Here my question is

i want to test my home page /jsf/pages/login/home.xhtml, Now whether i need to pass username,password and Branch as parameters or not required. If yes how jmeter will look in to my code and gather that info, since it is a POST request.

(Q2)There are some cookies also involved, How can i handle this?

(Q3)If i want test some 10 pages/processes in my application, Whether i need to configure all the 10 pages in JMeter, including the parameters required to execute that process?

Kindly help me.
0
 

Author Closing Comment

by:prabhualla
Comment Utility
Thanks...
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now