pact-foundation / pact-stub-server

Standalone pact stub server
MIT License
75 stars 19 forks source link

Provider state as request header param #28

Closed ZescherW closed 5 years ago

ZescherW commented 5 years ago

Added support for parsing the provider state from request header using a custom name.

The purpose of this change is to be able to integrate pact-stub-server with acceptance testing by providing test pre-conditions as provider states.

ZescherW commented 5 years ago

Thanks for your comments! I will apply the changes as soon as I can :)