Solved

How to configure Jmeter in j2ee application

Posted on 2014-01-18
4
479 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

Suggested Solutions

Title # Comments Views Activity
eclipse argument 14 61
iterator/ListIterator approach 17 28
Java: How do I open the default windows program for a given file type 3 29
What's wrong with this code? 4 23
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…
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 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 explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

831 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