Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between WireMockServer vs MockServerClient

I am trying to understand what is the difference between two frameworks which are MockServerClient( or org.mockserver.integration.ClientAndServer) and WireMockServer?Can they be exchanged? I read the docs. but could not figure out what is the difference between these two? Thanks.

like image 481
James Avatar asked Aug 09 '19 00:08

James


1 Answers

They both do more or less the same thing. WireMock is slightly more popular (in terms of stars on the GitHub repo).

Without being entirely certain, some differences seem to be:

  • MockServer seems to have a Maven Plugin for configuration and starting the server
  • MockServer offers a way to set up callbacks when a request matches an Expectations
  • WireMock seems to have an easier way of manipulating external files to set up the Expectations

They, on the other side, both offer:

  • A UI dashboard
  • A record+replay feature

We are currently using both at work, but I've only interacted with MockServer.

like image 122
payne Avatar answered Nov 10 '22 01:11

payne