- In order to authenticate a user while accessing a secured server, we can supply the user credentials via “Authorization” filed of Header in the request. DevTest allows this. Then what is the significance of “lisa.http.user” and “lisa.http.pass” properties in DevTest which also take the same user credentials?
To authenticate itself with a server, a user agent (usually, but not necessarily, after receiving a 401 response) includes an Authorization request-header field with the request. The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.
Should you wish to supply the values via LISA properties, DevTest does not support using properties in the Headers tab. The UI takes a user name and password during design and calculates the value of the authorization header. In order to use properties, you need to set the lisa.http.user and lisa.http.pass properties either in local.properties or in config files and DevTest uses those properties during run time.