Skip to content

wchaws/gen-traffic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

gen-traffic

A simple HTTP traffic generator triggered by Github Action periodically.

Use cases

  • Load testing.
  • Traffic analysis.
  • Real world traffic generation.

How to use it?

  1. Fork this repository to your own GitHub repository.

  2. Edit urls.txt. Each line in the file is a URL. This tool will randomly pick some URLs from the file.

    Warning For security reasons, DO NOT COMMIT YOUR HOSTNAME into this repo. Instead, use a $HOST as a PLACEHOLDER in the urls.txt. Then, add a Github Secret in your repository settings by following this doc.

  3. Git commit and go!

FAQs

  1. Q: What is the interval between triggering requests?

    A: By default is 10 minutes, but you can change this in .github/workflows/traffic.yml.

  2. Q: How do I manually trigger requests?

    A: Please see this guide.

  3. Q: How to stop triggering?

    A: To stop triggering, delete schedule in .github/workflows/traffic.yml and git commit.

Releases

No releases published

Packages

No packages published