Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to configure Jmeter in j2ee application

Posted on 2014-01-18
4
Medium Priority
?
524 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
[X]
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
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
Mahesh Bhutkar earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

722 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