Coder Social home page Coder Social logo

wiremock-chrome-extension's People

Contributors

dialex avatar mwinteringham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wiremock-chrome-extension's Issues

Feature: Should be able to config wiremock in a separate Chrome tab.

I normally copy & paste Endpoint URL / POST Payload / RESPONSE Payload from Chrome Developer tools -> Network to WireMock Chrome Extension.

It drives me nut when I click Chrome Developer pane, the WireMock Chrome Extension configuration dialog is closed automatically and all the changes will be lost. Let's offer an independent page to do the configuration.

Feature: Should support Grouping Endpoints by path

With WireMock --recording-mapping, my mock data are full of conflicting Endpoints with the same path. I need to delete some of them but it's hard to list all of conflicting items out.

Let me create a view with grouping support. All the endpoints should be organized into folders like macOS Finder.

UI: readability of URLs/mappings

Just a UI tip: I think it would make the URLs more readable if you left aligned them on that table that shows /some/thing/else

Pre-launch feedback

I thought this would be a better feedback medium than Twitter DMs.

Here are my thoughts after a quick play with the plugin:

  • When editing a mapping, not all the fields of the form are populated with the existing values.
  • The path/regex/partial dropdown is a bit confusing - not sure what partial means and how it maps onto WM's underlying URL matching options.
  • In the mappings list view, longer URLs overlap with the status code.
  • Priority field has no label when populated and being a simple integer it's not necessarily obvious what it is
  • I can't set the predicate for the request body. Not clear by what method it would attempt to match, and it's definitely useful to have control over this.
  • I can only specify one request body parameter, whereas WireMock permits many. This can be useful if you're matching on e.g. a set of JSONPath expressions targeting different bits of the payload
  • Doesn't support matching on cookies (other than by matching the header)
  • Doesn't provide a way for me to configure proxy or fault mappings (maybe you consider this too much for now?).
  • Might be a nice idea to support the new (admittedly as yet undocumented) name field on stub mappings.
  • When setting the host it might be useful to be able to set the protocol, for cases where folks have deployed it behind HTTPS termination.
  • Would be nice to be able to view the request journal.

Feature: Should restore the page view on reopening the extension

I searched an endpoint out of 300 items and edited it. After I edit the endpoint path, I went to another tab to copy the JSON payload. Then I came back. The WireMock extension configuration popup was gone~~~ All changes were lost. Now I had to find the endpoint again (out of tons of them).

Why not auto-save the editor data temporarily and restore the editor page once the extension configuration popup reopen?

Feature: Should support searching Endpoints

I have tons of API definitions in WireMock. It's a nightmare for me to browse in Chrome WireMock extension one by one. So I always use Chrome Developer Tools to search for it. It's not very convenient. Let me address it.

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.