Skip to content

creolink/behat-wiremock-extension

Repository files navigation

behat-wiremock-extension

Build Status

# app.feature
@wiremock-reset
Feature: Wiremock

  Scenario: Trying to load /path/to/awesome/method2
    Given the following services exist with mappings:
      | service | mapping  |
      | baz     | qux.json |
    When I am on "http://localhost:8080/path/to/awesome/method2"
    Then the response status code should be 200
    And the response should contain "{\"success\":true}"
    When I am on "http://localhost:8080/path/to/awesome/method"
    Then the response status code should be 201
    And the response should contain "{\"success\":true}"

About

A Behat extension for mocking HTTP requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published