mwinteringham / wiremock-chrome-extension Goto Github PK
View Code? Open in Web Editor NEWA simple chrome extension for Wiremock
License: MIT License
A simple chrome extension for Wiremock
License: MIT License
I have a wiremock mapping that proxies requests to another host:
{ "id": "00000000-0000-0000-0000-5a1061c00000", "priority": 100000, "request": { "method": "ANY", "urlPattern": "/api/.*" }, "response": { "proxyBaseUrl" : "https://somehost" } }
If I use the Chrome extension to update the priority of this mapping, the proxyBaseUrl property is wiped out:
I normally edit my Response Payload in an online JSON editor, say https://jsoneditoronline.org/ and copy it back to WireMock Chrome Extension.
It should be easy for us to add ACE into our textarea and make it a nice built-in JSON editor.
Not sure how to reproduce at this time but I was able to delete all my header and query string entries. Need to look into it more.
I need to hijack all network requests started with path /v1/
to my local wiremock server http://localhost:8080
for my live website.
I managed to do this via https://chrome.google.com/webstore/detail/proxy-switchyomega/padekgcemlokbadohgkifijomclgjgif?hl=en
Why not just integrate the Network Proxy feature with WireMock Chrome Extension?
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.
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.
Create a new view that will allow the user to view and administrate the request journal under the following endpoints:
The extension doesn't support simulating faults at the moment: http://wiremock.org/docs/simulating-faults/
Unable to scroll when there are enough mappings in the extension to be scrollable
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
The extension doesn't support simulating proxy mappings: http://wiremock.org/docs/proxying/
I thought this would be a better feedback medium than Twitter DMs.
Here are my thoughts after a quick play with the plugin:
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?
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.
Currently undocumented but Tom has suggested it would be good to support this in the near future.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.