Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide set of URLs as an input file #250

Open
witsch opened this issue Jun 29, 2023 · 1 comment
Open

Provide set of URLs as an input file #250

witsch opened this issue Jun 29, 2023 · 1 comment

Comments

@witsch
Copy link

witsch commented Jun 29, 2023

It'd be very useful to use a set of given URLs for the load test, much like siege's "URL file":

In order to run a regression test or an effective internet simulation, you are going to have to run through the URLs on the server you are testing. To accomplish that, place the URLs in a configuration file.

This makes it possible to collect a realistic set of URL, i.e. from an access log etc, and "replay" them in order to test or ensure performance requirements are still met after some changes.

@wjhoward
Copy link
Contributor

wjhoward commented Aug 7, 2024

I would suggest extending this idea by providing the ability to set request headers too. Maybe this could be configured by an input YAML file, e.g:

- name: test_one
  path: /test_path
  headers:
    host: test
    user-agent: test_user_agent

- name: test_two
...     

These test cases could be cycled through in order. A possible later development could be to provide a test case weighting percentage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants