Sha256: 16ddd21f6daefead6fc3546089e0360bdf85048a692380be7dcc7351855d2b9e

Contents?: true

Size: 527 Bytes

Versions: 12

Compression:

Stored size: 527 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.2                         |

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mirage-1.3.6 features/server/set_with_a_delay.feature
mirage-1.3.5 features/server/set_with_a_delay.feature
mirage-1.3.4 features/server/set_with_a_delay.feature
mirage-1.3.3 features/server/set_with_a_delay.feature
mirage-1.3.2 features/server/set_with_a_delay.feature
mirage-1.3.1 features/server/set_with_a_delay.feature
mirage-1.3.0 features/server/set_with_a_delay.feature
mirage-1.2.0 features/server/set_with_a_delay.feature
mirage-1.1.0 features/server/set_with_a_delay.feature
mirage-1.0.2 features/server/set_with_a_delay.feature
mirage-1.0.1 features/server/set_with_a_delay.feature
mirage-1.0.0 features/set_with_a_delay.feature