Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to configure Jmeter in j2ee application

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

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
login form jsp example 2 35
how to debug htl and js pages 8 38
Java basic valueOf question 1 29
running on tomcat not jboss eap 7.0 3 17
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
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 about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

809 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