Comments (8)
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!
from strest.
Love this idea!
from strest.
How can I contribute ?
from strest.
@vinyguedess You can fork this repo and create a pull request with your changes
from strest.
from strest.
@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
from strest.
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
from strest.
No, the purpose is check for concorrent connections. I think it satisfies it.
from strest.
Related Issues (20)
- View variable information when using the `-p` switch HOT 2
- Print output when call fails HOT 1
- Printout response when running repetitive calls
- Print response with Warning when ignore error is true HOT 2
- Iterate Calls without validation
- More MimeTypes HOT 1
- Validation Rules do not work for some special values (false, 0, null, ...) HOT 1
- [Feature Request] Install locally HOT 7
- Install fails because of jsonpath postinstall HOT 8
- Run requests asynchronously HOT 3
- nunjucks escapes & characters HOT 3
- add module export to allow other services to consume results of test runs
- command 'strest.request' not found HOT 1
- Allow for validating undefined / non-existent properties in responses HOT 2
- Improve the JSON output to hold validation results
- CodeClimate integration HOT 3
- Error: Unable to call `file` HOT 1
- How to use a cookie from response in the next request? HOT 1
- Configurable Timeout
- TypeError: Cannot read property 'hex' of undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strest.