looking at the current implementation, we just pass the username and
password to apache soap client.
if (getAuthManager() != null) {
if (getAuthManager().getAuthForURL(getUrl()) != null) {
AuthManager authmanager = getAuthManager();
Authorization auth = authmanager.getAuthForURL(getUrl());
spconn.setUserName(auth.getUser());
spconn.setPassword(auth.getPass());
} else {
log.warn("the URL for the auth was null." + " Username and password not
set");
}
}
the only thing I can think of is if the authenticatio is set to digest
instead of basic. in that case, the password should be the digested password
and not the clear text password used for basic auth.
peter lin
On 10/19/05, Jelmer de Haas <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> We are trying to post a SOAP/XML request on a site that contains basic
> authentication.
>
> If I try to reach the website with Internet Explorer, there is no
> problem. The only thing that is strange is the username. I have to fill
> it in like "DOMAIN\Username". Because the \ is the escape character in
> Jmeter, I filled it in like "DOMAIN\\Username" The password is
> case-sensitive, but I filled it in correctly.
>
> The URL looks as follows:
> http://[IPNUMBER]/Application/Brand.Hosting.Services/Webservice.asmx
>
> For the base URL I tried every combination option:
> http://[IPNUMBER]
> http://[IPNUMBER]/Application
> http://[IPNUMBER]/Application/Brand.Hosting.Services
> http://[IPNUMBER]/Application/Brand.Hosting.Services/Webservice.asmx
>
> We are posting our SOAP XML directly at the .asmx file.
> If I press the RUN button in Jmeter, the following error message
> appears:
> ------------
>
> Server Error in '/Application/Brand.Hosting.Services' Application.
> Access is denied.
> Description: An error occurred while accessing the resources required to
> serve this request. The server may not be configured for access to the
> requested URL.
> Error message 401.2.: You do not have permission to view this directory
> or page using the credentials you supplied. Contact the Web server's
> administrator for help.
> ------------
> There is no difference if I place the authorization manager directly
> under the Thread Group, or under the request. I don't have a clue how to
> make it work, hopefully somebody can help, thanks in advance!
>
>
> Martin Dijkink / Jelmer de Haas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>