Giter Club home page Giter Club logo

Comments (9)

tomakehurst avatar tomakehurst commented on May 21, 2024

Do you mean when recording stubs, POST/PUT request bodies should be captured and used as the resulting matching criteria (in addition to URL + method)?

from wiremock.

henrywasserman avatar henrywasserman commented on May 21, 2024

yes

from wiremock.

tomakehurst avatar tomakehurst commented on May 21, 2024

I'll add it to the backlog

from wiremock.

henrywasserman avatar henrywasserman commented on May 21, 2024

great. It doesn't have to be perfect for the first pass. I have a done a quick two hour hack that's not worth sending you. It just adds the body to the mapping file then does some fixup to the json to format it correctly.

I also have some stuff that allows you to test with or without recording by setting a boolean, and renames the random mapping file to the junit classname-testname so you know at the end what test recorded that file.

from wiremock.

henrywasserman avatar henrywasserman commented on May 21, 2024

It also automagicallly starts and stops the proxy recorder on windows, linux or mac.

from wiremock.

tomakehurst avatar tomakehurst commented on May 21, 2024

I should mention that I'm quite busy with other stuff at the moment, so I'm unlikely to get to this any time soon.

If you wanted to polish your changes a bit and ensure there were some decent tests, I'd happily consider a pull request.

from wiremock.

henrywasserman avatar henrywasserman commented on May 21, 2024

yeah I'm kinda busy too. and your code is so nice, I would hate to hack it up with anything stupid.

from wiremock.

tomakehurst avatar tomakehurst commented on May 21, 2024

Request body is now recorded if present

from wiremock.

henrywasserman avatar henrywasserman commented on May 21, 2024

cool thanks

from wiremock.

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.