/PerformanceTestSamples

This repository is dedicated to the Indonesia Software Quality Assurance members for online learning material.

Primary LanguageHTML

Apache JMeter logo

SOFTWARE TESTING ENTHUSIAST


Server-side Performance Testing tools

Tools that being used in this repository:

  • Apache JMeter
  • Gatling
  • LoadRunner

Scenario : Login to Odoo

Client-side Performace Testing tools

Tools that being used in this repository:

  • Web.dev / Chrome Extention - Lighthouse
  • Webpagetest

Scenario : Go to Odoo Official Webpage

  • Jmeter & Selenium
  • LoadRunner - TrueClient protocol

Scenario : Login to Odoo

System Under Test - Install Odoo via Docker

$ curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-odoo/master/docker-compose.yml > docker-compose.yml
$ docker-compose up -d

APACHE JMETER

Download and Install JMeter

Download JMeter

Install JMeter

Running server-side load testing demo with JMeter - Web Application
1. Go to your JMeter path ${your_project_path}/PerformaceTestSamples/apache-jmeter-5.2.1/bin/
2. Run this below syntax
$ ./jmeter -Jusers=50 -Jrampup=50 -Jhold=50 -Jrampdown=50 -n -t "${your_project_path}/PerformanceTestSamples/apache-jmeter-5.2.1/testscenario/Odoo_Login_Scenario_Recorder.jmx"  -l "${your_project_path}/PerformanceTestSamples/apache-jmeter-5.2.1/bin/htmlreport/Odoo_Login_Scenario_Recorder.jtl" -e -o "${your_project_path}/PerformanceTestSamples/apache-jmeter-5.2.1/bin/htmlreport/"
Open JMeter HTML Report
${your_project_path}/PerformanceTestSamples/apache-jmeter-5.2.1/bin/htmlreport/index.html
JMeter Youtube Demo

CLICK HERE

GATLING

Download and Install Gatling

Download & Install

Running server-side load testing demo with Gatling - Web Application
1. Go to your project path ${your_project_path}/PerformaceTestSamples/gatling/
2. Run this syntax
$ mvn clean gatling:test -Dgatling.simulationClass=com.oktaliem.gatling.OdooLoginTest -Dusers=50 -DrampUp=50
Open Gatling HTML Report
${path_to_your_project}/PerformaceTestSamples/target/gatling/odoologintest-${gatling_id_report}/index.html
Gatling Youtube Demo

CLICK HERE

LOADRUNNER - HTML/Http Protocol

Download and Install LoadRunner

Download & Install

Virtual User Generator Basic Tutorial

LoadRunner Controller Basic Tutorial

LoadRunner Analyzer Basic Tutorial

Running server-side load testing demo with LoadRunner - Web Application - Youtube Demo

CLICK HERE

WEBPAGETEST

Webpagetest Youtube Demo

CLICK HERE

WEB.DEV

web.dev/lighthouse Youtube Demo

CLICK HERE

JMETER & SELENIUM

Add WebDriver Plugin

Documentation

Running End to End Client-side load testing demo with JMeter & Selenium - Web Application
1. Go to your JMeter path ${your_project_path}/PerformaceTestSamples/apache-jmeter-5.2.1/bin/
2. Run this below syntax
$ ./jmeter -Jusers=10 -Jrampup=10 -Jhold=30 -Jrampdown=10 -n -t "${your_project_path}/PerformanceTestSamples/apache-jmeter-5.2.1/testscenario/Odoo_Login_Scenario_Selenium.jmx"  -l "${your_project_path}/PerformanceTestSamples/apache-jmeter-5.2.1/bin/htmlreport/Odoo_Login_Scenario_Selenium.jtl" -e -o "${your_project_path}/PerformanceTestSamples/apache-jmeter-5.2.1/bin/htmlreport/"
JMeter-Selenium Youtube Demo

CLICK HERE

LOADRUNNER - TruClient Protocol

In-progress