Sha256: 2aaecb2398e773d57653c8006d294946803aac235ea62534aeeb4660c0d882db

Contents?: true

Size: 1.73 KB

Versions: 3

Compression:

Stored size: 1.73 KB

Contents

Feature: Export data
  To perform analysis
  A user
  Must be able to extract data
  From the application

  Scenario: Retreive a list of hosts
    When I go to /data
    Then the request should succeed
    Then I should receive valid JSON
    And the JSON should have a list of hosts

  Scenario: Retreive a list of hosts
    When I visit the first available host
    Then the request should succeed
    Then I should receive valid JSON
    And the JSON should have a list of plugins

  Scenario: Retrieve single plugin instance
    Given a list of hosts exist
    When I visit "memory/memory-free" on the first available host
    Then the request should succeed
    Then I should receive valid JSON
    And the JSON should have a plugin instance named "memory-free"

  Scenario: Retrieve multiple plugin instances
    Given a list of hosts exist
    When I visit "memory" on the first available host
    Then the request should succeed
    Then I should receive valid JSON
    And the JSON should have a plugin named "memory"
    And the JSON should have multiple plugin instances under the "memory" plugin

  Scenario: Make cross-domain requests
    Given a list of hosts exist
    When I visit "cpu-0?callback=foobar" on the first available host
    Then I should receive JSON wrapped in a callback named "foobar"

  Scenario: Retrieve multiple plugins through a glob
    Given a list of hosts exist
    When I visit "disk*/disk_ops" on the first available host
    Then the request should succeed
    Then I should receive valid JSON
    And I should see multiple plugins

  Scenario: Retrieve multple hosts through a glob
    When I go to /data/*/memory
    Then the request should succeed
    Then I should receive valid JSON
    And I should see multiple hosts

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
visage-app-1.0.0 features/json.feature
visage-app-0.9.6 features/json.feature
visage-app-0.9.5 features/json.feature