wiremock-ui icon indicating copy to clipboard operation
wiremock-ui copied to clipboard

Update Readme on how to get started

Open techpavan opened this issue 6 years ago • 13 comments

As an end user, I do not have any clarity on how to get started with using this application. There are no releases, I do not see any executables in the source code, index.html opens as a blank page. Screenshots looks good, but there are no details on how to get into those screens.

techpavan avatar Jan 17 '19 03:01 techpavan

The URL is provided at the top on the GitHub homepage => https://plouc.github.io/wiremock-ui/

plouc avatar Jan 17 '19 05:01 plouc

This url just allows me to create a new server, but does not allow me to create new mappings, fetch existing mappings etc. FYI, I was trying to connect to a WM instance hosted in my local.

techpavan avatar Jan 17 '19 06:01 techpavan

This is super buggy, excepting creating server, nothing work. (not sure if even this working, or just showing a message)

amitg25 avatar Feb 14 '19 04:02 amitg25

@amitg25, can you please be more explicit about "super buggy"? things could be fixed, until we have proper reporting about bugs/error messages and such

plouc avatar Feb 14 '19 05:02 plouc

It's an early prototype, so I'm pretty sure some features might be broken, it took me some time to craft this tool though, so please be kind :) and try to be more constructive, otherwise feel free to use other solutions (like paid ones with proper support from a paid staff)

plouc avatar Feb 14 '19 05:02 plouc

@plouc , i did not mean to rude. In fact i appreciate you took time to create a nice UI tool for WireMock. Here are the issues i saw

  1. Create Mapping does nothing. (I was able to make it work just once but then i could not add second mapping).
  2. Once when i made create mapping work but i could not add request header (i don't remember but there was button to add fixed params)

I am on Chrome (Mac)

amitg25 avatar Feb 14 '19 06:02 amitg25

@amitg25, no worries :) I'll try to have a look at this when I've some time for my OSS projects, would you mind tell me which version of wiremock (and config|args) are you currently using?

plouc avatar Feb 14 '19 06:02 plouc

I tried it on two macs.

Mac 1: I tried with Wiremock standalone versions 2.6.0, 2.12.0, 2.21.0 Mac 2: Had no Wiremock

But result is same on both the macs. I could not do anything except create server so did not reach the state to set something in UI

amitg25 avatar Feb 14 '19 06:02 amitg25

It will be easy if you can provide right click on "Create Mapping" to create a new mapping. Similarly if mapping is created then ability to delete, modify on right click. (You may already have it, but am unable to use)

amitg25 avatar Feb 14 '19 06:02 amitg25

Hello,

I created a similar tool (with the same name included), maybe you can get some ideas. The bad part is that it only works on Windows.

https://github.com/juniorgasparotto/WiremockUI

Thank you []s

juniorgasparotto avatar Sep 28 '19 17:09 juniorgasparotto

Does it work only on localhost instances? I was hosting one on azure, when I add the url, throws Invalid URL

kbking01 avatar May 29 '20 20:05 kbking01

@kbking01, it does, it might be due to CORS issues.

plouc avatar May 29 '20 22:05 plouc

@plouc Opens on localhost:3000 and fails with following error shown on browser,

Failed to compile

/Users/.../git/wiremock-ui/src/modules/core/components/AppBar.tsx (3,29): Module '"../../../../node_modules/react-feather/dist"' has no exported member 'Github'. Did you mean 'GitHub'?

This error occurred during the build time and cannot be dismissed.

kbking01 avatar Jun 03 '20 05:06 kbking01