Sha256: 350af84b021c040c8bd795acc1abc2529d428d2113b45dcb78b2183c116517ac

Contents?: true

Size: 501 Bytes

Versions: 28

Compression:

Stored size: 501 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 send PUT to 'http://localhost:7001/mirage/templates/an_appology' with body 'Sorry' and headers:
    | X-mirage-delay | 4.2 |
    When I send GET to 'http://localhost:7001/mirage/responses/an_appology'
    Then it should take at least '4.2' seconds

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
mirage-2.4.2 features/server/templates/put/put_with_delay.feature
mirage-2.4.1 features/server/templates/put/put_with_delay.feature
mirage-2.4.0 features/server/templates/put/put_with_delay.feature
mirage-2.3.0 features/server/templates/put/put_with_delay.feature
mirage-2.2.3 features/server/templates/put/put_with_delay.feature
mirage-2.2.2 features/server/templates/put/put_with_delay.feature
mirage-2.1.2 features/server/templates/put/put_with_delay.feature
mirage-2.0.16 features/server/templates/put/put_with_delay.feature
mirage-2.0.15 features/server/templates/put/put_with_delay.feature
mirage-2.0.14 features/server/templates/put/put_with_delay.feature
mirage-2.0.13 features/server/templates/put/put_with_delay.feature
mirage-2.0.12 features/server/templates/put/put_with_delay.feature
mirage-2.0.11 features/server/templates/put/put_with_delay.feature
mirage-2.0.10 features/server/templates/put/put_with_delay.feature
mirage-2.0.9 features/server/templates/put/put_with_delay.feature
mirage-2.0.8 features/server/templates/put/put_with_delay.feature
mirage-2.0.7 features/server/templates/put/put_with_delay.feature
mirage-2.0.6 features/server/templates/put/put_with_delay.feature
mirage-2.0.5 features/server/templates/put/put_with_delay.feature
mirage-2.0.4 features/server/templates/put/put_with_delay.feature