Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Advice for testing Jmeter

 
Isaac Ferguson
Ranch Hand
Posts: 831
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a document with some non-functional requirements, I never have done this before. I have been asked for create a jmx file
but I am a little bit lost I don't from where start.

I am using jmx.2.1, and Jmeter. I have found an example like this:


<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="2.3" jmeter="2.8 r1393162">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="TestPlan.user_define_classpath"></stringProp>
</TestPlan>
<hashTree>
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments">
<elementProp name="SOAP_REQUEST_URL" elementType="Argument">
<stringProp name="Argument.name">SOAP_REQUEST_URL</stringProp>
<stringProp name="Argument.value">http://serverX:xxxx/name/bl</stringProp>
<stringProp name="Argument.desc">Desc URL</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>






I need test things like: "Baseline performance tests ","Stress tests ","100 User concurrent user test ".

Could anyone give any advice or clue please?

Thanks
 
sugan san
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You can run jmeter for 100 users, for that below are the steps
1) Record the script
2) Customize user data
3) Customize session
4) Run the jmeter script

for detailed information visit below url:
http://www.technix.in/jmeter-problems-and-solutions/
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11831
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Angus

I would recommend starting with the basics - learning how to create and run a straightforward JMeter script. Some tutorials I found include:



And Building a Web Test Plan from the Apache JMeter Users Manual.

It sounds like you might want to research Performance vs. load vs. stress testing.

Good luck. You may have more questions afterwards, but these should be enough to get you to a point to where you can ask more detailed questions.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic