Skip to content

Instantly share code, notes, and snippets.

@alexanderjamesking
Created April 8, 2015 12:46
Show Gist options
  • Save alexanderjamesking/e30bca500ce8d6e8dd29 to your computer and use it in GitHub Desktop.
Save alexanderjamesking/e30bca500ce8d6e8dd29 to your computer and use it in GitHub Desktop.
Hello World Wiremock Clojure
(import com.github.tomakehurst.wiremock.WireMockServer)
(import com.github.tomakehurst.wiremock.core.WireMockConfiguration)
(def wiremock-config (.port (new WireMockConfiguration) 11111))
(def wiremock-server (new com.github.tomakehurst.wiremock.WireMockServer wiremock-config))
(.start wiremock-server)
(.stop wiremock-server)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment