After you have installed the extension you need to activate it in your Behat configuration file (for instance
default: suites: default: # ... extensions: Imbo\BehatApiExtension: ~
The following configuration options are required for the extension to work as expected:
||string||http://localhost:8080||Base URI of the application under test.|
It should be noted that everything in the
apiClient configuration array is passed directly to the Guzzle Client instance used internally by the extension.
Example of a configuration file with several configuration entries:
default: suites: default: # ... extensions: Imbo\BehatApiExtension: apiClient: base_uri: http://localhost:8080 timeout: 5.0 verify: false
Refer to the Guzzle documentation for available configuration options for the Guzzle client.