Skip to content
#

mock-server

Here are 470 public repositories matching this topic...

marekpietrasz
marekpietrasz commented Nov 1, 2021

Would be great to allow to delete a stub mapping by ID using admin client.

Current behaviour of method wireMock.removeStubMapping on external server leads to post request with json body that in our case matches too many mappings (we have a problem with multiple mappings to the same url and body but this is separate issue).

After checking existing implementation method removeStubMapping

MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding).

  • Updated Nov 6, 2021
  • Java
rohanKanojia
rohanKanojia commented Jul 27, 2021

Right now ErrorMessageTest.testCustomMessage is written in a strange way.

  • Instead of using assertThrows we're catching an exception.
  • There is a custom fail() method that does nothing.
  • We're not asserting anything, see sonar smell here[0]

https://github.com/fabric8io/kubernetes-client/blob/d1740ffeaa624bd63b6d929b25d764a477c1c17e/kubernetes-tests/src/test/java/io/fabric8/kubernete

Improve this page

Add a description, image, and links to the mock-server topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mock-server topic, visit your repo's landing page and select "manage topics."

Learn more