Skip to content

ishahid91/load-testing-tool-api-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

load-testing-tool-api-golang

Load testing API including swagger written in GoLang. API can hosted on any machine and can be used to run Load test on API endpoints.

Usage

API Json Body

{
    "users" : 5,
    "executionTimeInSeconds":20,
    "rampUpTimeInSeconds": 2,
    "httpRequest": {
        "method":"GET",
        "url":"https://api.test.com/health",
        "headers": {
            "Content-Type": "application/json"
        },
	"queryParams":{
            "param_key":"param_value
        },
	"body": {"key":"value"}
        
    }
}

API Response

{
    "average_response_time": 156,
    "peak_response_time": 791,
    "total_requests": 498,
    "error_count": 0
}

About

Load Testing tool API implemented in GoLang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages