Has anybody used JMETER for jira performance test?

Hi All,

Has anybody used JMETER for jira performance test?

If yes, then i want to know how you do the login ?

Regards,

Dipti Ranjan Behera

3 answers

Hi Dipti,

I believe you're refering to the performance test in this page, right? If so authentication is done by including the parameters -Jadmin.user=<username> -Jadmin.pass=<password> as in this example.

Cheers

Hi,

Refer to the link here, https://confluence.atlassian.com/display/JIRA/Performance+Testing+Scripts

I downloaded Atlassian modified version of JMeter, and the performance test for jira version 6.0

I run the command, jmeter -n -t jmeter-test-setup.jmx -Jadmin.user=admin -Jadmin.pass=admin

Here the log throw in the screen:-

2015/03/03 23:36:28 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US
2015/03/03 23:36:28 INFO  - jmeter.JMeter: Loading user properties from: /home/lhooipen/jakarta-jmeter-2.3.4-atlassian-1/bin/user.properties
2015/03/03 23:36:28 INFO  - jmeter.JMeter: Loading system properties from: /home/lhooipen/jakarta-jmeter-2.3.4-atlassian-1/bin/system.properties
2015/03/03 23:36:28 INFO  - jmeter.JMeter: Setting JMeter property: admin.user=admin
2015/03/03 23:36:28 INFO  - jmeter.JMeter: Setting JMeter property: admin.pass=admin
2015/03/03 23:36:28 INFO  - jmeter.JMeter: Copyright (c) 1998-2009 The Apache Software Foundation
2015/03/03 23:36:28 INFO  - jmeter.JMeter: Version 2.3.4-atlassian-1 r34608
2015/03/03 23:36:28 INFO  - jmeter.JMeter: java.version=1.7.0_25
2015/03/03 23:36:28 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2015/03/03 23:36:28 INFO  - jmeter.JMeter: os.name=Linux
2015/03/03 23:36:28 INFO  - jmeter.JMeter: os.arch=amd64
2015/03/03 23:36:28 INFO  - jmeter.JMeter: os.version=2.6.18-371.8.1.0.1.el5
2015/03/03 23:36:28 INFO  - jmeter.JMeter: file.encoding=UTF-8
2015/03/03 23:36:28 INFO  - jmeter.JMeter: Default Locale=English (United States)
2015/03/03 23:36:28 INFO  - jmeter.JMeter: JMeter  Locale=English (United States)
2015/03/03 23:36:28 INFO  - jmeter.JMeter: JMeterHome=/home/lhooipen/jakarta-jmeter-2.3.4-atlassian-1
2015/03/03 23:36:28 INFO  - jmeter.JMeter: user.dir  =/home/lhooipen/performanceTest
2015/03/03 23:36:28 INFO  - jmeter.JMeter: PWD       =/home/lhooipen/performanceTest
2015/03/03 23:36:28 INFO  - jmeter.JMeter: IP: 130.164.11.18 Name: gigan FullName: gigan.natinst.com
2015/03/03 23:36:28 INFO  - jmeter.services.FileServer: Default base=/home/lhooipen/performanceTest
2015/03/03 23:36:28 INFO  - jmeter.services.FileServer: Set new base=/home/lhooipen/performanceTest
2015/03/03 23:36:28 INFO  - jmeter.JMeter: Loading file: jmeter-test-setup.jmx
2015/03/03 23:36:29 INFO  - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2015/03/03 23:36:29 INFO  - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8
2015/03/03 23:36:29 INFO  - jmeter.save.SaveService: Using SaveService properties file version 697317
2015/03/03 23:36:29 INFO  - jmeter.save.SaveService: Using SaveService properties version 2.1
2015/03/03 23:36:29 INFO  - jmeter.save.SaveService: All converter versions present and correct
2015/03/03 23:36:29 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times
2015/03/03 23:36:29 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2015/03/03 23:36:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default
2015/03/03 23:36:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
2015/03/03 23:36:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is
2015/03/03 23:36:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is
2015/03/03 23:36:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
2015/03/03 23:36:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2015/03/03 23:36:29 INFO  - jmeter.protocol.http.sampler.HTTPSampler: Maximum connection retries = 10
2015/03/03 23:36:29 INFO  - jmeter.protocol.http.sampler.HTTPSampler: Connection and read timeouts are available on this JVM
Created the tree successfully using jmeter-test-setup.jmx
2015/03/03 23:36:29 INFO  - jmeter.engine.StandardJMeterEngine: Listeners will be started after enabling running version
2015/03/03 23:36:29 INFO  - jmeter.engine.StandardJMeterEngine: To revert to the earlier behaviour, define jmeterengine.startlistenerslater=false
Starting the test @ Tue Mar 03 23:36:29 CST 2015 (1425447389565)
2015/03/03 23:36:29 INFO  - jmeter.engine.StandardJMeterEngine: Running the test!
Waiting for possible shutdown message on port 4445
2015/03/03 23:36:29 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2015/03/03 23:36:29 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2015/03/03 23:36:29 INFO  - jmeter.JMeter: Running test (1425447389889)
2015/03/03 23:36:29 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Perform Index optimise. Ramp up = 0.
2015/03/03 23:36:29 INFO  - jmeter.engine.StandardJMeterEngine: Thread will stop on error
2015/03/03 23:36:29 INFO  - jmeter.threads.JMeterThread: jmeterthread.startearlier=true (see jmeter.properties)
2015/03/03 23:36:29 INFO  - jmeter.threads.JMeterThread: Running PostProcessors in forward order
2015/03/03 23:36:29 INFO  - jmeter.engine.StandardJMeterEngine: Waiting for thread group: Perform Index optimise to finish before starting next group
2015/03/03 23:36:30 INFO  - jmeter.threads.JMeterThread: Thread started: Perform Index optimise 1-1
2015/03/03 23:36:30 INFO  - jmeter.services.FileServer: Stored: resources/issues/issues.csv
2015/03/03 23:36:30 INFO  - jmeter.threads.JMeterThread: Stop Thread detected by thread: Perform Index optimise 1-1
2015/03/03 23:36:30 INFO  - jmeter.threads.JMeterThread: Thread finished: Perform Index optimise 1-1
2015/03/03 23:36:30 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Perform Index optimise 1-1
2015/03/03 23:36:30 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Create Project. Ramp up = 0.
2015/03/03 23:36:30 INFO  - jmeter.engine.StandardJMeterEngine: Thread will stop on error
2015/03/03 23:36:30 INFO  - jmeter.engine.StandardJMeterEngine: Waiting for thread group: Create Project to finish before starting next group
2015/03/03 23:36:30 INFO  - jmeter.threads.JMeterThread: Thread started: Create Project 2-1
2015/03/03 23:36:30 INFO  - jmeter.services.FileServer: Stored: resources/projects/projectKeys.csv
2015/03/03 23:36:30 INFO  - jmeter.threads.JMeterThread: Stop Thread detected by thread: Create Project 2-1
2015/03/03 23:36:30 INFO  - jmeter.threads.JMeterThread: Thread finished: Create Project 2-1
2015/03/03 23:36:30 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create Project 2-1
2015/03/03 23:36:31 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Create Browse Issue Users. Ramp up = 0.
2015/03/03 23:36:31 INFO  - jmeter.engine.StandardJMeterEngine: Thread will stop on error
2015/03/03 23:36:31 INFO  - jmeter.engine.StandardJMeterEngine: Waiting for thread group: Create Browse Issue Users to finish before starting next group
2015/03/03 23:36:31 INFO  - jmeter.threads.JMeterThread: Thread started: Create Browse Issue Users 3-1
2015/03/03 23:36:31 INFO  - jmeter.threads.JMeterThread: Stop Thread detected by thread: Create Browse Issue Users 3-1
2015/03/03 23:36:31 INFO  - jmeter.threads.JMeterThread: Thread finished: Create Browse Issue Users 3-1
2015/03/03 23:36:31 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create Browse Issue Users 3-1
2015/03/03 23:36:32 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Create Edit Issue Users. Ramp up = 0.
2015/03/03 23:36:32 INFO  - jmeter.engine.StandardJMeterEngine: Thread will stop on error
2015/03/03 23:36:32 INFO  - jmeter.engine.StandardJMeterEngine: Waiting for thread group: Create Edit Issue Users to finish before starting next group
2015/03/03 23:36:32 INFO  - jmeter.threads.JMeterThread: Thread started: Create Edit Issue Users 4-1
2015/03/03 23:36:32 INFO  - jmeter.threads.JMeterThread: Stop Thread detected by thread: Create Edit Issue Users 4-1
2015/03/03 23:36:32 INFO  - jmeter.threads.JMeterThread: Thread finished: Create Edit Issue Users 4-1
2015/03/03 23:36:32 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create Edit Issue Users 4-1
2015/03/03 23:36:33 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Create Create Issue Users. Ramp up = 0.
2015/03/03 23:36:33 INFO  - jmeter.engine.StandardJMeterEngine: Thread will stop on error
2015/03/03 23:36:33 INFO  - jmeter.engine.StandardJMeterEngine: Waiting for thread group: Create Create Issue Users to finish before starting next group
2015/03/03 23:36:33 INFO  - jmeter.threads.JMeterThread: Thread started: Create Create Issue Users 5-1
2015/03/03 23:36:34 INFO  - jmeter.threads.JMeterThread: Stop Thread detected by thread: Create Create Issue Users 5-1
2015/03/03 23:36:34 INFO  - jmeter.threads.JMeterThread: Thread finished: Create Create Issue Users 5-1
2015/03/03 23:36:34 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create Create Issue Users 5-1
2015/03/03 23:36:34 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Create Search Users. Ramp up = 0.
2015/03/03 23:36:34 INFO  - jmeter.engine.StandardJMeterEngine: Thread will stop on error
2015/03/03 23:36:34 INFO  - jmeter.engine.StandardJMeterEngine: Waiting for thread group: Create Search Users to finish before starting next group
2015/03/03 23:36:35 INFO  - jmeter.threads.JMeterThread: Thread started: Create Search Users 6-1
2015/03/03 23:36:35 INFO  - jmeter.threads.JMeterThread: Stop Thread detected by thread: Create Search Users 6-1
2015/03/03 23:36:35 INFO  - jmeter.threads.JMeterThread: Thread finished: Create Search Users 6-1
2015/03/03 23:36:35 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create Search Users 6-1
2015/03/03 23:36:36 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Create User Action Users. Ramp up = 0.
2015/03/03 23:36:36 INFO  - jmeter.engine.StandardJMeterEngine: Thread will stop on error
2015/03/03 23:36:36 INFO  - jmeter.engine.StandardJMeterEngine: Waiting for thread group: Create User Action Users to finish before starting next group
2015/03/03 23:36:36 INFO  - jmeter.threads.JMeterThread: Thread started: Create User Action Users 7-1
2015/03/03 23:36:36 INFO  - jmeter.threads.JMeterThread: Stop Thread detected by thread: Create User Action Users 7-1
2015/03/03 23:36:36 INFO  - jmeter.threads.JMeterThread: Thread finished: Create User Action Users 7-1
2015/03/03 23:36:36 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create User Action Users 7-1
2015/03/03 23:36:37 INFO  - jmeter.engine.StandardJMeterEngine: Starting 10 threads for group Create Issues. Ramp up = 60.
2015/03/03 23:36:37 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2015/03/03 23:36:37 INFO  - jmeter.threads.JMeterThread: Thread started: Create Issues 8-1
2015/03/03 23:36:37 INFO  - jmeter.engine.StandardJMeterEngine: All threads have been started
2015/03/03 23:36:37 INFO  - jmeter.services.FileServer: Stored: resources/issues/comments.csv
2015/03/03 23:36:43 INFO  - jmeter.threads.JMeterThread: Thread started: Create Issues 8-2
2015/03/03 23:36:49 INFO  - jmeter.threads.JMeterThread: Thread started: Create Issues 8-3
2015/03/03 23:36:55 INFO  - jmeter.threads.JMeterThread: Thread started: Create Issues 8-4
2015/03/03 23:37:01 INFO  - jmeter.threads.JMeterThread: Thread started: Create Issues 8-5
2015/03/03 23:37:07 INFO  - jmeter.threads.JMeterThread: Thread started: Create Issues 8-6
2015/03/03 23:37:13 INFO  - jmeter.threads.JMeterThread: Thread started: Create Issues 8-7
2015/03/03 23:37:19 INFO  - jmeter.threads.JMeterThread: Thread started: Create Issues 8-8
2015/03/03 23:37:25 INFO  - jmeter.threads.JMeterThread: Thread started: Create Issues 8-9
2015/03/03 23:37:31 INFO  - jmeter.threads.JMeterThread: Thread started: Create Issues 8-10
2015/03/03 23:37:59 INFO  - jmeter.threads.JMeterThread: Thread finished: Create Issues 8-1
2015/03/03 23:37:59 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create Issues 8-1
2015/03/03 23:38:05 INFO  - jmeter.threads.JMeterThread: Thread finished: Create Issues 8-2
2015/03/03 23:38:05 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create Issues 8-2
2015/03/03 23:38:11 INFO  - jmeter.threads.JMeterThread: Thread finished: Create Issues 8-3
2015/03/03 23:38:11 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create Issues 8-3
2015/03/03 23:38:15 INFO  - jmeter.threads.JMeterThread: Thread finished: Create Issues 8-4
2015/03/03 23:38:15 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create Issues 8-4
2015/03/03 23:38:25 INFO  - jmeter.threads.JMeterThread: Thread finished: Create Issues 8-5
2015/03/03 23:38:25 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread Create Issues 8-5

 

After that, I checked my system, there were nothing created under my system, no project, no user, no ticket.

Can anyone advise? Thanks!

 

Hi Hooi Peng Loh
Would you please suggest from where did you download the performance test? It will be of great help.

I downloaded Atlassian modified version of JMeter, and the performance test for jira version 6.0

 regards

Shradha

Just a thought. If you haven't done so, check to make sure that 'admin' user can login with the 'admin' password and that the 'admin' user has the global permission.

If 'admin' can login and has global permission, we might have the same issue. My test is currently stuck when trying to create project. In your log, it starts on the line below:

2015/03/03 23:36:30 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Create Project. Ramp up = 0.

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

281 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you