aspose file tools*
The moose likes Testing and the fly likes Advice for testing Jmeter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Advice for testing Jmeter" Watch "Advice for testing Jmeter" New topic
Author

Advice for testing Jmeter

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 386
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

Joined: May 23, 2013
Posts: 47
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

Joined: Mar 28, 2003
Posts: 11481
    
  94

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.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Advice for testing Jmeter