Solved

How to configure Jmeter in j2ee application

Posted on 2014-01-18
4
474 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
ID: 39793969
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
ID: 39806400
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
ID: 39855435
Thanks...
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

911 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

21 Experts available now in Live!

Get 1:1 Help Now