Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Stress testing ? #11

Closed
vinyguedess opened this issue Sep 10, 2018 · 8 comments
Closed

Stress testing ? #11

vinyguedess opened this issue Sep 10, 2018 · 8 comments
Labels
enhancement New feature or request

Comments

@vinyguedess
Copy link

Why don't add a possibility for stress testing permiting tests writer define how much requests per second wants to simulate ?

@eykrehbein
Copy link
Owner

Love this idea!

@eykrehbein eykrehbein added the enhancement New feature or request label Sep 10, 2018
@vinyguedess
Copy link
Author

How can I contribute ?

@eykrehbein
Copy link
Owner

@vinyguedess You can fork this repo and create a pull request with your changes

@eykrehbein
Copy link
Owner

Stress testing

@Spengreb
Copy link

Working on this at the moment.

The basic idea is to add 'repeat' and 'threads' into the schema of a request to start with. Firing requests off as quickly as possible and concurrently. Each thread being a user effectively. Though would like this configurable in future with a "ramp-up period" similar to JMeter.

As a side-effect with the repeat function would it be possible to use Faker in the URL too? i.e. repeat request but each time have a bit of Fake or random data in the URL.

Will post a PR when I've got it working, at the moment I only have schema validation done.

Anything you dont agree with let me know!

@eykrehbein
Copy link
Owner

@Spengreb thanks for contributing! As I said on Twitter, I'm unfortunately unable to work on the project atm so every help is even more appreciated! :D

Your idea sounds good! And to answer your question: you can use the Faker keyword everywhere just like the Value keyword since regex searches every key of each request for those patterns

@eykrehbein
Copy link
Owner

Added a feature to repeat a request x amount of times in #35. It's not per second but synchronously. Do you think a per-second-stress-test is still in need? @vinyguedess

@vinyguedess
Copy link
Author

No, the purpose is check for concorrent connections. I think it satisfies it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants