Skip to content

Commit

Permalink
Merge pull request #84 from telefonicaid/hardening/improve_acceptance…
Browse files Browse the repository at this point in the history
…_tests

Fix acceptance tests scenario
  • Loading branch information
Fernando López Aguilar committed Nov 29, 2016
2 parents 726e484 + e05ed55 commit 8860c59
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,22 @@ Feature: Sending probe data
| [STRING_WITH_LENGTH_60] |


Scenario Outline: Valid probe data is sent to CB using an existing parser, with valid probe name values.
Scenario Outline: Valid probe data is sent to CB using an existing parser, with valid and invalid probe name values.
Given the probe name "<probe_name>"
And the monitored resource with id "qa:1234567890" and type "host"
When I send raw data according to the selected probe
Then the response status code is "200"
Then the response status code is "<status_code>"

Examples:
| probe_name |
| 1 |
| a |
| B |
| 12345678 |
| qa.probe |
| qa-probe |
| qa_probe |
| qa@probe |
| probe_name | status_code |
| 1 | 404 |
| a | 404 |
| B | 404 |
| 12345678 | 404 |
| qa.probe | 404 |
| qa-probe | 404 |
| qa@probe | 404 |
| qa_probe | 200 |


Scenario Outline: Valid probe data is sent to CB using an existing parser, with invalid entity ID values.
Expand Down

0 comments on commit 8860c59

Please sign in to comment.