wiremock_sample

This project is used as a playground for reproducing issues with WireMock. To get up and running:

  1. Start the WireMock server:
  • cd server
  • java -jar wiremock-standalone-3.0.0.jar --port 57247
  1. If you have Flutter installed, run the app:
  • cd to the root of the workspace
  • flutter pub get
  • flutter run
  1. Start recording requests with the following payload:
{
  "targetBaseUrl" : "https://jsonplaceholder.typicode.com",
  "persist" : true,
  "repeatsAsScenarios" : true
}
  1. If using the app, tap the deposit button
  2. If using curl, use curl to make a GET request to http://localhost:57247/todos/1
  3. Stop recording requests