post/get handler added, background section for HTTP request

This commit is contained in:
Andreas Gruß
2015-06-05 13:26:27 +02:00
parent dce917eb74
commit 153d38f10c
9 changed files with 73 additions and 122 deletions
+1 -15
View File
@@ -3,6 +3,7 @@ Feature: POST request
Background:
Given the profile "testbot"
And the HTTP method "POST"
Scenario: Testbot - viaroute POST request
Given the node locations
@@ -20,9 +21,6 @@ Feature: POST request
| bc |
| xy |
| yz |
And the query options
| post | true |
When I route I should get
| from | to | route | turns |
@@ -40,9 +38,6 @@ Feature: POST request
| nodes | oneway |
| abcd | yes |
| hgfe | yes |
And the query options
| post | true |
When I match I should get
| trace | matchings |
@@ -59,9 +54,6 @@ Feature: POST request
| xa | |
| by | |
And the query options
| post | true |
When I request a travel time matrix I should get
| | x | y | d | e |
| x | 0 | 300 | 400 | 300 |
@@ -81,9 +73,6 @@ Feature: POST request
And the ways
| nodes |
| abc |
And the query options
| post | true |
When I request locate I should get
| in | out |
@@ -103,9 +92,6 @@ Feature: POST request
And the ways
| nodes |
| abc |
And the query options
| post | true |
When I request nearest I should get
| in | out |