this view can be found in the Viewgroup Environment
The conceptual overview of working with different environments can be found in Run Environment
Find a detailed description of the Run Environment View here
When you select en entry you can configure Run Environment specific settings, either empty
When you click Add you will see a configuration dialog, outlined with screenshot for an existing configuration on another Service Definition:
This is a screenshot from a Manual HTTP Service Definition Run Environment configuration for an environment time travel. The SOAP definition differs only in the URL input, which is described below.
See Run Environment for the conceptual overview. In the case of basic and bearer authentication, APIJockey Test handles adding the Headers for you. It will resolve the information entered in this configuration screenshot.
You can access the authentication information in your payload by using variables, in the case you need to authentication against an Identity Service to get authorized for a business service
You can use variables in the configuration, if you need to run an authentication call and want to store a token in a repository variable.
For convenience, find all EnvironmentConfig Variables here with the notation to use in your Test Definition
Authentication type | Textfield name | Variable notation in Test definition |
---|---|---|
HTTP basic Authentication | HTTP username | $(EnvironmentConfig.httpUsername) |
HTTP basic Authentication | HTTP password | $(EnvironmentConfig.httpPassword) |
HTTP bearer Authentication | HTTP bearer token | $(EnvironmentConfig.bearerToken) |
None (No HTTP authentication) | Payload username | $(EnvironmentConfig.payloadUsername) |
None (No HTTP authentication) | Payload username | $(EnvironmentConfig.payloadPassword) |
None (No HTTP authentication) | Payload OTP | $(EnvironmentConfig.payloadOTP) |
None (No HTTP authentication) | Payload Token | $(EnvironmentConfig.payloadToken) |