I'm using Apache JMeter 2.11 to test a web service with authentication. For the sample request I'm using View Results Tree
as a listener and a SOAP/XML-RPC Request
with the following syntax to my parameters:
What I have tried
1) Adding an HTTP Header Manager
using
- Name: Authorization:
- Value: Basic [Base64 code encoded in ASCII, UTF-8, with or without domain in the user name] as explained here
With result: Response headers: HTTP/1.1 401 Unauthorized
2) Adding an HTTP Authorization Manager
using
- Base URL: http://www.domain.com:####
- Username: [USERNAME]
- Password: [PASSWORD]
- Domain: [DOMAIN]
- Realm: [NULL]
- Mechanism: [BASIC_DIGEST/KERBEROS] as explained here
With result: Response headers: HTTP/1.1 401 Unauthorized
I also tried enabling Keep Alive
in the request as suggested here
What am I doing wrong?