• 1
  • 2
  • 3
WiremockUI 1.0.2

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files


To install WiremockUI, run the following command from the command line or from PowerShell:


To upgrade WiremockUI, run the following command from the command line or from PowerShell:


To uninstall WiremockUI, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://community.chocolatey.org/api/v2)

4. Choose your deployment method:

choco upgrade wiremockui -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade wiremockui -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure wiremockui installed
    name: wiremockui
    state: present
    version: 1.0.2
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

chocolatey_package 'wiremockui' do
  action    :install
  version  '1.0.2'
  source   'STEP 3 URL'

See docs at https://docs.chef.io/resource_chocolatey_package.html.

    Name: wiremockui,
    Version: 1.0.2,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.

cChocoPackageInstaller wiremockui
   Name     = 'wiremockui'
   Ensure   = 'Present'
   Version  = '1.0.2'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.

package { 'wiremockui':
  provider => 'chocolatey',
  ensure   => '1.0.2',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.

salt '*' chocolatey.install wiremockui version="1.0.2" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator flcdrg on 22 Jan 2018.


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.

$packageName = 'wiremockui'
$title = 'WiremockUI'
$exeName = 'WiremockUI.exe'
$url = 'https://github.com/juniorgasparotto/WiremockUI/releases/download/1.0.2/WiremockUI.zip'
$binRoot = Get-ToolsLocation
$installPath = Join-Path $binRoot $packageName
$oldVersionPath = Join-Path $installPath ".old"
$checksum = '957A88FF008297170FBB5A8A41007999B98517AE47B4F326B1EFD2F4CF0AAE62'
$checksumType = 'sha256'

# Create backup of old version
if (Test-Path $installPath) {
    Write-Host "Create backup old version"
    if (!(Test-Path $oldVersionPath)) {
        New-Item $oldVersionPath -type directory
        Get-ChildItem $installPath |
        Foreach-Object {
            if ($_.Name -ne ".old") {            
                Move-Item $_.FullName $oldVersionPath

# Download and unzip file
Install-ChocolateyZipPackage -PackageName $packageName `
                             -Url $url `
                             -UnzipLocation $installPath `
							 -Checksum $checksum `
                             -ChecksumType $checksumType

#Create shortcut in desktop
Write-Host "Create Desktop ShortCurt..."
$desktop = $([System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::DesktopDirectory))
$desktop = Join-Path $desktop "$title.lnk"
Write-Host $desktop
Install-ChocolateyShortcut  -shortcutFilePath $desktop `
                            -targetPath "$installPath/$exeName" `
                            -workingDirectory $installPath

#Create shortcut in start menu
Write-Host "Create StartMenu ShortCurt..."
$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)
$programs = Join-Path $programs "$title.lnk"
Write-Host $programs
Install-ChocolateyShortcut -shortcutFilePath $programs `
                           -targetPath "$installPath/$exeName" `
                           -workingDirectory $installPath
$packageName = 'wiremockui'
$title = 'WiremockUI'
$toolsPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
$unPath = Join-Path $toolsPath 'Uninstall-ChocolateyPath.psm1'
$binRoot = Get-ToolsLocation
$installPath = Join-Path $binRoot $packageName

# Remove environment path windows
Import-Module $unPath

# Remove folder
Write-Host "Remove Folder $installPath"
if (Test-Path $installPath) {
    Remove-Item -Path $installPath -Recurse -Force

# Remove shortcut in desktop
Write-Host "Remove Desktop ShortCurt..."
$desktop = $([System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::DesktopDirectory))
$desktop = Join-Path $desktop "$title.lnk"
Write-Host $desktop
if (Test-Path $desktop) {   
   Remove-Item -Path $desktop

# Remove shortcut in start menu
Write-Host "Remove StartMenu ShortCurt..."
$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)
$programs = Join-Path $programs "$title.lnk"
Write-Host $programs
if (Test-Path $programs) {
   Remove-Item -Path $programs
function Uninstall-ChocolateyPath {
  [string] $pathToUninstall,
  [System.EnvironmentVariableTarget] $pathType = [System.EnvironmentVariableTarget]::User
  Write-Debug "Running 'Uninstall-ChocolateyPath' with pathToUninstall:`'$pathToUninstall`'";

  #get the PATH variable
  $envPath = $env:PATH
  #$envPath = [Environment]::GetEnvironmentVariable('Path', $pathType)
  if (!$envPath.ToLower().Contains($pathToUninstall.ToLower())) {
    Write-Host "PATH environment variable does not have $pathToUninstall in it."

  Write-Host "PATH environment variable has $pathToUninstall in it. Removing..."
  $actualPath = [Environment]::GetEnvironmentVariable('Path', $pathType)

  # escape regex metachars, match possible backslash and item separator at eol
  $pathToUninstallRegex = ($pathToUninstall -replace '([\\().])', '\$1') + '\\?(;|$)'

  # remove pathToUninstall from actualPath
  $actualPath = $actualPath -replace "$pathToUninstallRegex", ''

  if ($pathType -eq [System.EnvironmentVariableTarget]::Machine) {
    $psArgs = "[Environment]::SetEnvironmentVariable('Path',`'$actualPath`', `'$pathType`')"
    Start-ChocolateyProcessAsAdmin "$psArgs"
  } else {
    [Environment]::SetEnvironmentVariable('Path', $actualPath, $pathType)

  # remove from path of current powershell session
  $envPSPath = $env:PATH
  $env:Path = $envPSPath -replace "$pathToUninstallRegex", ''

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status

This package has no dependencies.

Discussion for the WiremockUI Package

Ground Rules:

  • This discussion is only about WiremockUI and the WiremockUI package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or WiremockUI, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus