Sha256: 8dd09add49fd8cf418811dc4c7949b3051d4f358b032c4dce3eb01af480f02fb

Contents?: true

Size: 851 Bytes

Versions: 12

Compression:

Stored size: 851 Bytes

Contents

# Language: en
Feature: RedisHandler
  In order to make fewer than n HTTP connections for n events
  As a developer
  I want to be able to batch up events in Redis and send them to Keen all at once.

  Scenario Outline: Add Events to Redis queue
    Given a Keen Client using Redis
    When I post <n> events
    Then the size of the Redis queue should have gone up by <n>.

    Examples:
      |n    | 
      |1    | 
      |100  | 
      |99   | 
      |1000 | 
      |999  | 

  Scenario Outline: Batch a bunch of events in the Redis queue, then send them.
    Given a Keen Client using Redis
    When I post <n> events
    And I process the queue
    Then the response from Keen should be <n> happy smiles
    And the queue should be empty.

    Examples:
      |n    | 
      |1    | 
      |100  | 
      |99   | 
      |1000 | 
      |999  | 

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
keen-0.2.0 features/redis_queue.feature
keen-0.1.12 features/redis_queue.feature
keen-0.1.11 features/redis_queue.feature
keen-0.1.10 features/redis_queue.feature
keen-0.1.9 features/redis_queue.feature
keen-0.1.8 features/redis_queue.feature
keen-0.1.7 features/redis_queue.feature
keen-0.1.6 features/redis_queue.feature
keen-0.1.5 features/redis_queue.feature
keen-0.1.4 features/redis_queue.feature
keen-0.1.3 features/redis_queue.feature
keen-0.1.0 features/redis_queue.feature