Coder Social home page Coder Social logo

Comments (2)

rogerwelin avatar rogerwelin commented on May 20, 2024

Hi @gunayus! Thanks for the interesting in the project and sorry about the late reply.

Regarding this feature, would it suffice with adding a new flag (that could be called --randomize-header for example) that would generate a random string for the header key that you define for each requests? Or is there a reason you want to define the headers in a file?

I think of the following way it could be implement in from a cli point of view:

$ ./cassowary run -u https://www.example.com -c 10 -n 1000 --randomize-header Authorization

Here cassowary would generate a random value for the Authorization header key for each request. Would this satisfy your requirement?

from cassowary.

gunayus avatar gunayus commented on May 20, 2024

thank you @rogerwelin for the reply. I don't think randomized Authorization header would help because the application would return 401 for each request.

That's why I should be able to provide valid header values from a file, then, cassowary can randomly select any of the provided headers,

from cassowary.

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.