Skip to content

amithiprakash/api-performance-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Performance Analyzer & Load Testing Toolkit

This project demonstrates how to perform load testing on REST APIs using the Locust framework.

Overview

The API Performance Profiler simulates multiple concurrent users sending requests to an API endpoint and measures performance metrics such as response time, throughput, and failure rate.

Features

  • Simulates concurrent users hitting an API
  • Measures response time and latency
  • Tracks request throughput (RPS)
  • Displays results on an interactive dashboard

Technologies Used

  • Python
  • Locust
  • REST API Testing

How to Run

  1. Install dependencies

pip install locust

  1. Run Locust

locust

  1. Open browser

http://localhost:8089

  1. Enter test parameters and start load testing.

Example Test

Tested endpoint: https://jsonplaceholder.typicode.com/posts

Users simulated: 10
Spawn rate: 2 users/sec

Output Metrics

  • Requests per second
  • Average response time
  • Failure rate
  • Performance statistics dashboard

About

Python toolkit for API load testing, performance benchmarking and response analysis using Locust.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors