Giter Club home page Giter Club logo

Comments (5)

estrada9166 avatar estrada9166 commented on June 2, 2024

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.

orefalo avatar orefalo commented on June 2, 2024

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:

  1. How can I easily get the list of generated queries (I think that's the .json file)
  2. How would you implement constraints on parameters. For instance ranges on an attribute.

Thank you

from easygraphql-load-tester.

estrada9166 avatar estrada9166 commented on June 2, 2024

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.

estrada9166 avatar estrada9166 commented on June 2, 2024

@orefalo Can we close this issue?

Thanks!

from easygraphql-load-tester.

orefalo avatar orefalo commented on June 2, 2024

sure

from easygraphql-load-tester.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.