Skip to content

zafir0-0/API-Performance-Testing-with-JMeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name : DMoney Performance Testing

Project Description :

A performance testing project for the Dmoney API using JMeter. This project simulates real-world financial transaction scenarios including deposits, money transfers, and payments — with full assertion coverage and dynamic data handling via CSV files and Random Variable Controllers.

Technnology Used:

  • Apache Jmeter
  • Visual Studio Code

How to run:

  1. Open JMeter
  2. Go to File → Open → select dmoney.jmx
  3. Update CSV file paths if needed
  4. Click the ▶️ Start button

Test Scenarios:

  1. Deposit (Agent → Customer)

    • 5 Agents each perform deposits for 10 Customers
    • Agent logs in once and reuses token across all threads
    • Transaction amount is randomized using Random Variable Controller
  2. Send Money (Customer → Customer)

    • 5 Customers each send money to 10 other Customers
    • Customer token is generated once and reused per thread
    • Uses small random amounts to prevent balance exhaustion
  3. Payment (Customer → Merchant)

    • 5 Customers each make payments to 2 Merchants
    • Customer token is generated once and reused per thread
    • Dynamic amounts via Random Variable Controller

CSV Data Files:

  1. deposit.csv - Contains agent credentials and customer phone numbers for deposit transactions
  2. sendMoney.csv - Contains sender customer credentials and receiver customer phone numbers for sendmoney transaction
  3. payment.csv - Contains customer credentials and merchant phone numbers for payment transaction

CLI Report:

image image

About

Performance testing project for the DMoney API using Apache JMeter. Simulates deposit, send money, and payment workflows with CSV-driven test data, token reuse, dynamic random transaction amounts, and assertions to validate API performance and functionality.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors