SkillAgentSearch skills...

WiremockUI

Wiremock UI - Tool for creating mock servers, proxies servers and proxies servers with the option to save the data traffic from an existing API or Site.

Install / Use

/learn @juniorgasparotto/WiremockUI

README

Inglês Português

DOWNLOAD LINK: https://github.com/juniorgasparotto/WiremockUI/releases/download/1.1.0/WiremockUI.zip CHOCOLATEY: choco install wiremockui

Wiremock UI

Is a project done in .NET Framework 4.5 that creates mock servers using the famous Wiremock (http://wiremock.org).

The tool is completely visual and features of Wiremock have been enhanced:

  • Easy to create and run a server Wiremock
  • Create and manage more than one server Wiremock in one place
  • Create multiple scenarios for the same API or website with the intention of switching them as needed.
  • Viewing the maps with your corresponding answer in the form ofTreeView
  • Manage maps from Wiremock with the options: create, Edit, Remove, duplicate, disable and visualization in the form of JSON
  • Advanced text editor with the following options:
    • Highlight for the languages: JSON / XML / HTML / JavaScript / C# / PHP / LUA /VB.NET
    • JSON and XML formatters
    • AutoWrap
    • Search and replacement
    • Go to line
  • The management of maps (inside the tool) dispenses with the restart of the server.
  • Logs in text and table views with the options:
    • Analysis of time
    • Re-run the request with the internal toolWeb Request
    • Compare requests that did not match with any TreeView map.
  • Built-in tools:
    • Web Request: Is a simple executor of HTTP calls that can help debug
    • Text Compare: Is a simple text comparer
    • Text editor: Text Editor with formatting options to JSON or XML
    • JSON Viewer: JSON Viewer in the form of a tree.

Installation (Manual)

  1. Download the .zip file by clicking here
  2. Extract the .zip anywhere
  3. Open the fileWiremock.exe

DOWNLOAD LINK: https://github.com/juniorgasparotto/WiremockUI/releases/download/1.1.0/WiremockUI.zip

No need for installation

Installation (Chocolatey)

choco install wiremockui

URL: https://chocolatey.org/packages/wiremockui

Update

choco upgrade wiremockui

Uninstalling

choco uninstall wiremockui

Requirements

  • Windows
  • .NET Framework 4.5
    • chocolatey:choco install dotnet4.5
    • Microsoft: https://www.microsoft.com/en-us/download/details.aspx?id=30653

Demo

<a name="documentation" />Documentation

<a name="doc" />Tutorial

<a name="create-server" />Creating a mock server

When creating a new server, a scenario will also be created, you can have more than one scenario for a same server, switching them as needed using the option Set as Default that exists in the options of the scenarios.

  • Click with the right side of the mouse over the item Servers and clickAdd Server
  • The Server Port field will be automatically generated, but you can change it at any time.
  • You do not need to fill in the Target URL field, because the idea is to create a server from scratch. If you want to generate an initial mass with an existing API, use this field and run the server in write mode Start and Record .

<a name="create-server-advanced" />Advanced settings

  • In the creation of the server, you can configure the implementation of wiremock. Click on the tabAdvanced
  • For more information about each one: http://wiremock.org/docs/running-standalone/

<a name="server-menu" />Options menu

  • Add scenario: Adds a new scenario. Only one scenario may be active at a time.
  • Start: Starts a server using the physical mappings folders and data__files
  • Start (Only Proxy): Starts a server just as proxy bypassing the saved files if any.
  • Start and Record: Starts a server as a proxy in write mode
  • Restart: Restarts the server while maintaining the kind of execution that was started
  • Stop: Stop the server
  • Open Server folder: Opens the folder where are all the scenarios
  • Open Targer URL in browser: Opens the original URL in the Browser
  • Open Server URL in browser: Open the wiremock server URL in the Browser
  • Duplicate: Duplicates the entire server, including the scenarios and all files
  • Edit: Edit Server information
  • Remove: Removes the server

<a name="new-scenario" />Creating a new scenario

  • Click with the right side of the mouse on the desired server and clickAdd scenario
  • You can have more than one scenario for a same server, this is useful for situations where you don't want to waste time creating advanced matches using match options of wiremock.

<a name="scenario-menu" />Options menu

  • Add map: Adds a new map, this map will be the basics of a map of the wiremock.
  • Set as Default: Indicates that the files of this scenario will be used when the server is started.
  • Open scenario folder: Opens the folder that contains the files for this scenario
  • Duplicate: Duplicate this scenario and all your files
  • Edit: Edit scenario
  • Remove: Removes the scenario
  • Show URL: When active, displays the URL of tree maps
  • Show Name: When active, displays the name of the file in the tree

<a name="new-map" />Creating a new map

  • To add a new map, click with the mouse on the direct side item Scenario1 .
  • A map file will be created with the basics of the Wiremock settings. For more information about how to configure a map go to: http://wiremock.org/docs/request-matching/.

<a name="map-menu" />The menu map

  • Rename: Renames the file, when this occurs, the answer file is also renamed and will stay with the same name, but keeping your original extension.
  • Duplicate: Duplicates this map
  • Remove: Removes the map
  • Enable: When disabled, this map will be ignored
  • View in Web Request: Opens the map in WebRequest allowing executes it.
  • View in explorer: Opens the file manager with the selected file.

<a name="map-editor" />Map file in the editor

<a name="map-jsonview" />Map file in JSON Viewer

  • When opening a map file or any other file JSON, you can view it with the JSON Viewer tool.
  • Click with the right side of the mouse over the desired attribute for more options:
    • View text editor: Displays the content in a new window
    • View as Json: Displays the content in a new window JSON Viewer
    • Expand all: Opens all the children of the node
    • Close all: Closes all children of the node
  • This viewer is also available inTools -> JSON Viewer

<a name="response-menu" />Response options menu

  • View in explorer: Opens the file manager with the selected file.

<a name="response-editor" />File in the editor

<a name="text-editor" />Text editing

To open the text edit options, click with the right side of the mouse over the desired field. The following options are displayed:

  • Undo: Undo a change
  • Redo: Redo a change
  • Edit
    • Word Wrap: Turn on or off the automatic line break
    • Select all: Select all text
    • Copy: Copies the selected text
    • Cut: Cut selected text
    • Paste: Copy what is on the Clipboard to the text field
    • Remove: Removes the selected text
  • Find: Opens a new window with the search options or text replacement.
  • Json: JSON formatting options
    • Format: Let the JSON in a more readable form
    • Escape: "Escapes" the JSON so that he can be used as the value of other JSON
    • Unescape: Back to normal state when JSON this "escaped"
    • Minify: Remove the unnecessary spaces from JSON
    • Edit value: This option

Related Skills

View on GitHub
GitHub Stars50
CategoryDevelopment
Updated9mo ago
Forks19

Languages

C#

Security Score

92/100

Audited on Jul 1, 2025

No findings