Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
JIRA 6.x Administration Cookbook

You're reading from   JIRA 6.x Administration Cookbook Over 100 hands-on recipes to help you efficiently administer, customize, and extend your JIRA 6 implementation

Arrow left icon
Product type Paperback
Published in Jul 2014
Publisher Packt
ISBN-13 9781782176862
Length 260 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Patrick Li Patrick Li
Author Profile Icon Patrick Li
Patrick Li
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. JIRA Server Administration FREE CHAPTER 2. Fields and Screens 3. JIRA Workflows 4. User Management 5. JIRA Security 6. E-mails and Notifications 7. Integrating with JIRA 8. JIRA Administration 9. JIRA Customizations Index

Generating test data in JIRA

For many production JIRA instances, it is often important to understand how it will perform under an anticipated load, how well it scales as the usage grows, and whether the hardware will be able to support the anticipated growth.

This can be tricky for new installations, as an empty JIRA cannot realistically provide any performance indication. In this recipe, we will look at how we can generate any arbitrary amount of test data to simulate an anticipated data size. For example, we will be able to measure the average response time and how long it takes to reindex the system.

Note

Use this recipe in your test environment. Do not use this in production.

Getting ready

For this recipe, we need to use the JIRA Data Generator add-on from Atlassian Labs. You can download this add-on at the following link:

https://marketplace.atlassian.com/plugins/com.atlassian.jira.plugins.jira-data-generator

How to do it…

Once the add-on is installed in JIRA, perform the following steps to generate test data:

  1. Log in to JIRA as a JIRA administrator.
  2. Navigate to Administration | System | Generate Metadata:
    How to do it…
  3. Set the number of projects and other metadata to generate.
  4. Click on Generate and wait for the process to complete.
  5. Select Generate Data.
  6. Set the number of issues, comments, and other data that is to be generated.
  7. Click on Generate and wait for the process to complete, as shown in the following screenshot:
    How to do it…

How it works…

Generating test data in JIRA with the JIRA Data Generator add-on is a two-step process. We first need to create all the necessary configuration metadata such as custom fields and workflows and then create the issues.

You have been reading a chapter from
JIRA 6.x Administration Cookbook
Published in: Jul 2014
Publisher: Packt
ISBN-13: 9781782176862
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime