SlideShare a Scribd company logo
Head Office:
21, IT Park, Wing-A, Ground Floor, Gayatri Nagar,
NAGPUR - 440022 (India) www.nicesoftwaresolutions.com
Performance Testing
JMeter and Capacity Testing Tool
www.nicesoftwaresolutions.com
Performance Testing
Performance Testing is defined as a type of software testing to ensure software applications will perform well
under their expected workload.
What is Performance Testing?
Why do Performance Testing?
Types of Performance Testing?
Which application should we
Performance Test?
www.nicesoftwaresolutions.com
JMeter – Performance Testing Tool
The Apache JMeterTM is pure Java open source
software, which was first developed by Stefano
Mazzocchi of the Apache Software Foundation,
designed to load test functional behavior and
measure performance.
You can use JMeter to analyze and measure the
performance of web application or a variety of
services. Performance Testing means testing a
web application against heavy load, multiple
and concurrent user traffic.
www.nicesoftwaresolutions.com
JMeter Installation and Prerequisites
Install Java 8 and
above
Download Apache
JMeter zip
www.nicesoftwaresolutions.com
JMeter Components
Used to configure
threads/users in
JMeter.
Components of
Thread Group
www.nicesoftwaresolutions.com
High level steps to Record the Script
Ways to record script in JMeter
⮚ Recording JMeter script using HTTPs Test Script Recorder.
 Add HTTP Test Script Recorder.
 Add proxy on your browser.
 Start Recorder and perform browser actions.
⮚ Recording JMeter script using Blazemeter plugin.
 Add Blazemeter plugin to Chrome browser.
 Create account and login.
 Write test name.
 Start Recorder and perform browser actions.
www.nicesoftwaresolutions.com
Create script for MSTR Dashboards – Approach 1
Requirement:
To execute all the dashboards kept in below folder structure
with multiple users to create 80-100 sessions.
Shared Reports >> CMT >> OPEN_SHARED_REPORTS >>
DOCUMENTS >> PPR >> OPEN_CONCURRENCY_TEST >>
FOLDERS(8) >> 4-8 Dashboard in each folder.
Steps to create and correlate script
 Record script by traversing through each of the folder
structure.
 Once recorded correlate script to handle dynamic
requests/failed requests.
 Add CSV’s to pass Users, Folder ID’s and Document ID’s.
 Divide dashboards into two section i.e. Single Servlet and
Double Servlet.
 Add condition in script to identify Single Servlet and
Double Servlet.
www.nicesoftwaresolutions.com
MSTR Dashboards – Approach 2
 Get the URL API (WEB Path).
 Login using an HTTP POST Request by providing username and password,
 Receive a temporary authentication token for later requests to identify yourself,
 Send the auth token within subsequent requests, typically via HTTP Headers like Authorization:
Bearer AUTH_TOKEN.
How URL API approach works in JMETER?
www.nicesoftwaresolutions.com
Create script for MSTR Dashboards – Approach 2
Steps to create JMeter script
 Create new Test Plan
 Add Thread Group
 Add 2 CSV Data Set Config as ‘Child Item’ to Fetch User ID and Document ID
 Add Transaction Controller for login and Dashboard execution
 Add HTTP Request to post URL API
 Add HTTP Header Manager to pass extra parameters with URL
 Add Regular expression Extractor to extract values from the response.
 Add Debug Sampler
www.nicesoftwaresolutions.com
Prerequisite
Below are the prerequisite for creating URL API Script in JMeter
 Web Protocol
 MicroStrategy Web Path
 Web Server Port
 Intelligence Server Authentication Mode
 CSV file as data source to Fetch Document ID
 CSV file as data source to Fetch User ID and Password
www.nicesoftwaresolutions.com
Sample script to test WEB dashboards
Head Office:
21, IT Park, Wing-A, Ground Floor, Gayatri Nagar,
NAGPUR - 440022 (India) www.nicesoftwaresolutions.com
DEMO for
MicroStrategy
WEB
www.nicesoftwaresolutions.com
Identify the users in System Monitors Jobs
www.nicesoftwaresolutions.com
Testing Results Generated from JMeter
www.nicesoftwaresolutions.com
Sample script to test Library dashboards
Head Office:
21, IT Park, Wing-A, Ground Floor, Gayatri Nagar,
NAGPUR - 440022 (India) www.nicesoftwaresolutions.com
DEMO
for MicroStrategy
Library
www.nicesoftwaresolutions.com
CPU utilization and Server Load chart
Head Office:
21, IT Park, Wing-A, Ground Floor, Gayatri Nagar,
NAGPUR - 440022 (India) www.nicesoftwaresolutions.com
Capacity Testing Tool
www.nicesoftwaresolutions.com
Capacity Testing Tool
➢ Introduced in MSTR 2019, to check the performance of Intelligence Server and Web server of MicroStrategy Project.
➢ The purpose of this tool is to establish a baseline for the performance of a MicroStrategy application or determine
how a particular MicroStrategy application’s performance has been affected by an upgrade to a new version by
comparing two environments.
➢ Perform Stress Testing , Load Testing and Volume Testing.
Prerequisite
www.nicesoftwaresolutions.com
Prerequisite
➢ Capacity Testing Tool setup file
➢ Profile.csv
➢ MSTR Version
➢ Web Server Address and Port:
➢ MicroStrategy Web Path:
➢ Intelligence Server IP and Port:
➢ MicroStrategy Library API url:
➢ MicroStrategy Username and Password (Standard and LDAP):
➢ Upgrade Analysis Dossier
www.nicesoftwaresolutions.com
How it works?
Setup Capacity
Tool
Run the CTT Tool
Answer all the
prompts in the tool
Define Users,
Threads and Cycle
Execute the Test
Analysis of Result
Start new Test
Run the test using
Response file
www.nicesoftwaresolutions.com
Result Analysis
Three different pages of Upgrade Analysis Dossiers illustrate those results, helping to identify any throughput
or resource problems and identify any problem areas, down to the step-level.
 Summary Page
 Performance by Execution Type Page
 Execution Details Page
www.nicesoftwaresolutions.com
Result Analysis
www.nicesoftwaresolutions.com
Limitation of CTT
➢ Only non-prompted content objects are supported.
➢ The Capacity tool only runs in command line mode.
➢ The Capacity Test Tool runs on Windows server.
➢ The capacity testing tool only allows for MicroStrategy users and LDAP authentication.
➢ Connecting to versions of MicroStrategy without MicroStrategy Library will require the user to provide a list of
which objects to test.
Head Office:
21, IT Park, Wing-A, Ground Floor, Gayatri Nagar,
NAGPUR - 440022 (India)
www.nicesoftwaresolutions.com
Thank You

More Related Content

PPTX
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
PDF
Presentation capacity management for oracle exadata database machine v2
PDF
SQL Performance Tuning and New Features in Oracle 19c
PDF
Exadata SMART Monitoring - OEM 13c
PPTX
Query processing strategies in distributed database
PDF
Introduction to Software Test Automation
ODP
Boost your App with Gatling
PDF
Oracle WebLogic Diagnostics & Perfomance tuning
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Presentation capacity management for oracle exadata database machine v2
SQL Performance Tuning and New Features in Oracle 19c
Exadata SMART Monitoring - OEM 13c
Query processing strategies in distributed database
Introduction to Software Test Automation
Boost your App with Gatling
Oracle WebLogic Diagnostics & Perfomance tuning

What's hot (20)

PPTX
IP tables and Filtering
PDF
Page Object Model and Implementation in Selenium
DOC
A Project Report on Linux Server Administration
PPTX
The Elastic ELK Stack
PPTX
Programming Logic and Design: Working with Data
PPTX
Data driven Automation Framework with Selenium
PPTX
Test Automation - Everything You Need To Know
PDF
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
PPTX
deadlock handling
PPTX
04. availability-concepts
PPTX
Developing a Map Reduce Application
PDF
Logstash-Elasticsearch-Kibana
PPTX
Oracle GoldenGate Performance Tuning
PDF
Backup and recovery in oracle
PDF
Automation Best Practices
PPT
02 xml schema
PDF
The Complete MariaDB Server tutorial
PPT
Chap 07 arp & rarp
PPTX
Distributed DBMS - Unit 6 - Query Processing
PPT
19. Distributed Databases in DBMS
IP tables and Filtering
Page Object Model and Implementation in Selenium
A Project Report on Linux Server Administration
The Elastic ELK Stack
Programming Logic and Design: Working with Data
Data driven Automation Framework with Selenium
Test Automation - Everything You Need To Know
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
deadlock handling
04. availability-concepts
Developing a Map Reduce Application
Logstash-Elasticsearch-Kibana
Oracle GoldenGate Performance Tuning
Backup and recovery in oracle
Automation Best Practices
02 xml schema
The Complete MariaDB Server tutorial
Chap 07 arp & rarp
Distributed DBMS - Unit 6 - Query Processing
19. Distributed Databases in DBMS
Ad

Similar to Performance Testing using Jmeter and Capacity Testing (20)

PPT
Getting Started with Apache Jmeter
PDF
Jmeter Performance Testing
ODP
Apache JMeter Introduction
PDF
This Is How We Test Our Performance With JMeter
PPT
Performance testing and j meter
PPTX
performancetestingjmeter-121109061704-phpapp02 (1)
PPTX
performancetestingjmeter-121109061704-phpapp02
PDF
Performancetestingjmeter 131210111657-phpapp02
PDF
Performancetestingjmeter 121109061704-phpapp02
PPT
Performance testing with Jmeter
PPTX
JMETER-SKILLWISE
PPTX
J Meter Intro
PPTX
JMeter Intro
PPT
Performance testing jmeter
PPSX
Performance testing for web applications – techniques, metrics and profiling
DOCX
My Project on Rational Performance Testing
PPTX
Perofrmance testing and apache jmeter
PPT
JMeter_introduction_Final.ppt for jmeter
PDF
J Meter Training in Hyderabad
PPTX
Performance testing overview
Getting Started with Apache Jmeter
Jmeter Performance Testing
Apache JMeter Introduction
This Is How We Test Our Performance With JMeter
Performance testing and j meter
performancetestingjmeter-121109061704-phpapp02 (1)
performancetestingjmeter-121109061704-phpapp02
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 121109061704-phpapp02
Performance testing with Jmeter
JMETER-SKILLWISE
J Meter Intro
JMeter Intro
Performance testing jmeter
Performance testing for web applications – techniques, metrics and profiling
My Project on Rational Performance Testing
Perofrmance testing and apache jmeter
JMeter_introduction_Final.ppt for jmeter
J Meter Training in Hyderabad
Performance testing overview
Ad

Recently uploaded (20)

PPTX
Major-Components-ofNKJNNKNKNKNKronment.pptx
PPTX
Computer network topology notes for revision
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PDF
Launch Your Data Science Career in Kochi – 2025
PDF
Lecture1 pattern recognition............
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PDF
Introduction to Business Data Analytics.
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPT
Miokarditis (Inflamasi pada Otot Jantung)
Major-Components-ofNKJNNKNKNKNKronment.pptx
Computer network topology notes for revision
Galatica Smart Energy Infrastructure Startup Pitch Deck
Supervised vs unsupervised machine learning algorithms
IB Computer Science - Internal Assessment.pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Launch Your Data Science Career in Kochi – 2025
Lecture1 pattern recognition............
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Introduction to Business Data Analytics.
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
IBA_Chapter_11_Slides_Final_Accessible.pptx
Miokarditis (Inflamasi pada Otot Jantung)

Performance Testing using Jmeter and Capacity Testing

  • 1. Head Office: 21, IT Park, Wing-A, Ground Floor, Gayatri Nagar, NAGPUR - 440022 (India) www.nicesoftwaresolutions.com Performance Testing JMeter and Capacity Testing Tool
  • 2. www.nicesoftwaresolutions.com Performance Testing Performance Testing is defined as a type of software testing to ensure software applications will perform well under their expected workload. What is Performance Testing? Why do Performance Testing? Types of Performance Testing? Which application should we Performance Test?
  • 3. www.nicesoftwaresolutions.com JMeter – Performance Testing Tool The Apache JMeterTM is pure Java open source software, which was first developed by Stefano Mazzocchi of the Apache Software Foundation, designed to load test functional behavior and measure performance. You can use JMeter to analyze and measure the performance of web application or a variety of services. Performance Testing means testing a web application against heavy load, multiple and concurrent user traffic.
  • 4. www.nicesoftwaresolutions.com JMeter Installation and Prerequisites Install Java 8 and above Download Apache JMeter zip
  • 5. www.nicesoftwaresolutions.com JMeter Components Used to configure threads/users in JMeter. Components of Thread Group
  • 6. www.nicesoftwaresolutions.com High level steps to Record the Script Ways to record script in JMeter ⮚ Recording JMeter script using HTTPs Test Script Recorder.  Add HTTP Test Script Recorder.  Add proxy on your browser.  Start Recorder and perform browser actions. ⮚ Recording JMeter script using Blazemeter plugin.  Add Blazemeter plugin to Chrome browser.  Create account and login.  Write test name.  Start Recorder and perform browser actions.
  • 7. www.nicesoftwaresolutions.com Create script for MSTR Dashboards – Approach 1 Requirement: To execute all the dashboards kept in below folder structure with multiple users to create 80-100 sessions. Shared Reports >> CMT >> OPEN_SHARED_REPORTS >> DOCUMENTS >> PPR >> OPEN_CONCURRENCY_TEST >> FOLDERS(8) >> 4-8 Dashboard in each folder. Steps to create and correlate script  Record script by traversing through each of the folder structure.  Once recorded correlate script to handle dynamic requests/failed requests.  Add CSV’s to pass Users, Folder ID’s and Document ID’s.  Divide dashboards into two section i.e. Single Servlet and Double Servlet.  Add condition in script to identify Single Servlet and Double Servlet.
  • 8. www.nicesoftwaresolutions.com MSTR Dashboards – Approach 2  Get the URL API (WEB Path).  Login using an HTTP POST Request by providing username and password,  Receive a temporary authentication token for later requests to identify yourself,  Send the auth token within subsequent requests, typically via HTTP Headers like Authorization: Bearer AUTH_TOKEN. How URL API approach works in JMETER?
  • 9. www.nicesoftwaresolutions.com Create script for MSTR Dashboards – Approach 2 Steps to create JMeter script  Create new Test Plan  Add Thread Group  Add 2 CSV Data Set Config as ‘Child Item’ to Fetch User ID and Document ID  Add Transaction Controller for login and Dashboard execution  Add HTTP Request to post URL API  Add HTTP Header Manager to pass extra parameters with URL  Add Regular expression Extractor to extract values from the response.  Add Debug Sampler
  • 10. www.nicesoftwaresolutions.com Prerequisite Below are the prerequisite for creating URL API Script in JMeter  Web Protocol  MicroStrategy Web Path  Web Server Port  Intelligence Server Authentication Mode  CSV file as data source to Fetch Document ID  CSV file as data source to Fetch User ID and Password
  • 12. Head Office: 21, IT Park, Wing-A, Ground Floor, Gayatri Nagar, NAGPUR - 440022 (India) www.nicesoftwaresolutions.com DEMO for MicroStrategy WEB
  • 16. Head Office: 21, IT Park, Wing-A, Ground Floor, Gayatri Nagar, NAGPUR - 440022 (India) www.nicesoftwaresolutions.com DEMO for MicroStrategy Library
  • 18. Head Office: 21, IT Park, Wing-A, Ground Floor, Gayatri Nagar, NAGPUR - 440022 (India) www.nicesoftwaresolutions.com Capacity Testing Tool
  • 19. www.nicesoftwaresolutions.com Capacity Testing Tool ➢ Introduced in MSTR 2019, to check the performance of Intelligence Server and Web server of MicroStrategy Project. ➢ The purpose of this tool is to establish a baseline for the performance of a MicroStrategy application or determine how a particular MicroStrategy application’s performance has been affected by an upgrade to a new version by comparing two environments. ➢ Perform Stress Testing , Load Testing and Volume Testing. Prerequisite
  • 20. www.nicesoftwaresolutions.com Prerequisite ➢ Capacity Testing Tool setup file ➢ Profile.csv ➢ MSTR Version ➢ Web Server Address and Port: ➢ MicroStrategy Web Path: ➢ Intelligence Server IP and Port: ➢ MicroStrategy Library API url: ➢ MicroStrategy Username and Password (Standard and LDAP): ➢ Upgrade Analysis Dossier
  • 21. www.nicesoftwaresolutions.com How it works? Setup Capacity Tool Run the CTT Tool Answer all the prompts in the tool Define Users, Threads and Cycle Execute the Test Analysis of Result Start new Test Run the test using Response file
  • 22. www.nicesoftwaresolutions.com Result Analysis Three different pages of Upgrade Analysis Dossiers illustrate those results, helping to identify any throughput or resource problems and identify any problem areas, down to the step-level.  Summary Page  Performance by Execution Type Page  Execution Details Page
  • 24. www.nicesoftwaresolutions.com Limitation of CTT ➢ Only non-prompted content objects are supported. ➢ The Capacity tool only runs in command line mode. ➢ The Capacity Test Tool runs on Windows server. ➢ The capacity testing tool only allows for MicroStrategy users and LDAP authentication. ➢ Connecting to versions of MicroStrategy without MicroStrategy Library will require the user to provide a list of which objects to test.
  • 25. Head Office: 21, IT Park, Wing-A, Ground Floor, Gayatri Nagar, NAGPUR - 440022 (India) www.nicesoftwaresolutions.com Thank You