Commit a21bada8 authored by Jacek Furmankiewicz's avatar Jacek Furmankiewicz

ability to parse JSON documents for method arguments

parent 1261244b
...@@ -44,6 +44,13 @@ Feature: Arguments ...@@ -44,6 +44,13 @@ Feature: Arguments
""" """
Then I expect HTTP code <code> Then I expect HTTP code <code>
And I expect content contains 'Jane Doeovskaya' And I expect content contains 'Jane Doeovskaya'
# additional arguments should be OK
When as user 'None:None' I <method> 'http://127.0.0.1:8082/formOrJson' with JSON
"""
{"first":"Jane","last":"Doeovskaya","middle":"Oksana"}
"""
Then I expect HTTP code <code>
And I expect content contains 'Jane Doeovskaya'
Examples: Examples:
| method | code | | method | code |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment