Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Apache Bench Script

Usage

./ab.sh {max_concurrency} {url}

Description

This script runs Apache Bench (ab) on a specified URL incrementing the concurrency until (max_concurrency)

Functionality

  • The script starts with 1 concurrency and 2 connections, doubling each iteration.
  • If failed requests are returned, the script stops.
  • Each iteration of the script is written to {connections}_{concurrency}.txt.

Example

./ab.sh 1000 http://example.com

This will execute Apache Bench on http://example.com, starting with 1 concurrency and 2 connections. The results of each iteration will be saved to {connections}_{concurrency}.txt. The program ends when 1000 concurrency connections are attempted.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages