Sha256: d85b38213b37ba214506bffaee0358f777bf0cd8b4641dde58907ea5968bedfe

Contents?: true

Size: 523 Bytes

Versions: 6

Compression:

Stored size: 523 Bytes

Contents

Feature: Its possible introduce a delay before responding to a client with a particular response. This lets you simulate real world
  conditions by making your application wait before receiving a response.

  Scenario: Response with a delay
    Given I hit 'http://localhost:7001/mirage/set/an_appology' with parameters:
      | response | Sorry it took me so long! |
      | delay    | 4                         |

    When I hit 'http://localhost:7001/mirage/get/an_appology'
    Then it should take at least '4' seconds

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mirage-0.1.7 features/setting_responses_with_a_delay.feature
mirage-0.1.6 features/setting_responses_with_a_delay.feature
mirage-0.1.5 features/setting_responses_with_a_delay.feature
mirage-0.1.4 features/setting_responses_with_a_delay.feature
mirage-0.1.3 features/setting_responses_with_a_delay.feature
mirage-0.1.2 features/setting_responses_with_a_delay.feature