Comments (5)
Thanks for asking!! The benefits of using this project is that you dont have to write the queries that are going to be used to make http request to your server.
Also I don't understand the benefits of loadtesting a schema without resolvers?
Actually you’re doing loadtesting to your server, so it’s going to include your resolvers... the schema is used to create all the queries, so you don’t have to write them, but also, you can add custom queries and select which ones should be created (by default it create all the queries that you have on your schema)
Here is a short video using easygraphql-load-tester and artillery that might be useful to get a better idea
from easygraphql-load-tester.
got it. great idea and time saver indeed.
thank you.
Back in the time, I remember playing with a testing framework called agitator. it was for unit testing and the framework would tested all possible combinaisons against a given class.
Which brings me to my next question:
- How can I easily get the list of generated queries (I think that's the .json file)
- How would you implement constraints on parameters. For instance ranges on an attribute.
Thank you
from easygraphql-load-tester.
You can have a list of the generated queries, as you said is the .json
file, it is going to be generated when you set the option queryFile: true
, here you can find the documentation.
Sorry, can you explain me a little bit more #2
please!
from easygraphql-load-tester.
@orefalo Can we close this issue?
Thanks!
from easygraphql-load-tester.
sure
from easygraphql-load-tester.
Related Issues (20)
- Must also check if the "userArgs[arg.name]" is required as define in schema
- Support results output for k6
- Cannot provide null values for optional arguments HOT 1
- Support multiple args for a given query HOT 2
- Framework is automatically adding arguments with value 'undefined' HOT 2
- Framework does not request all the fields in all the queries HOT 2
- lib/index.js missing in 2.0 release HOT 3
- An in-range update of @typescript-eslint/parser is breaking the build 🚨 HOT 2
- An in-range update of @typescript-eslint/eslint-plugin is breaking the build 🚨 HOT 2
- Is this compatible with ruby-graphql? HOT 1
- Old version 2.0.1 on npm HOT 1
- example error HOT 2
- Is it possible to test subscription performance?
- queryFilePath ignored for k6 settings
- Support multi queries in single file HOT 1
- Error when calling `.artillery()` in sample HOT 1
- 0 requests completed HOT 1
- query test is testing query with all possible combinations not JUST the return value I requested. HOT 2
- How to pass environment variables into k6
- Single query for all fields
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 easygraphql-load-tester.