This is the Postman collection for running acceptance tests against eBevis Web API.
In order to run this, you will need a (test) Enterprise Certificate and a valid API-key from the eBevis Developer Portal. The certificate along with its private key needs to be in PEM-format.
For more information, see the documentation.
- Get and install Postman
- Clone this repo to a local directory
- Start Postman, and import the collection by clicking the "Import" button in the upper left and selecting
collection.json
- Import the environments (
*_postman_environments.json
) by clicking "Manage environments" (the cogwheel in the upper right). You usually only want the "staging"-environment. - Edit the environment and enter your API-key as the value for the variable
SubscriptionKey
. TheSubjectOrgNo
variabel needs to be a valid organization number, the other variables can be left as-is. - Set up client certificates
- Convert your Enterprise Certificate to a cert/key-pair in PEM-format. See this site for tips on how to do this with OpenSSL.
- Click Settings (the wrench icon in the top right)
- Select the Certificates tab
- Hit Add Certificate
- Supply
api.ebevis.no
as host, and point CRT/KEY file to the certificate file and private key you made in step 1. - Supply the passphrase (if applicable)
- Click Add