300-445 · Question #45
Which of the following statements is correct regarding the setup of tests with Basic HTTP authentication?
The correct answer is D. Set up an HTTP Server test with Basic HTTP authentication enabled. Option D is correct because Basic HTTP authentication operates at the HTTP protocol level - credentials are passed via the Authorization request header, not through an HTML form. The HTTP Server test type works at that same protocol layer and has native support for enabling…
Question
Options
- ASet up a Web Transaction test with Basic HTTP authentication enabled.
- BSet up a Page Load test with Basic HTTP authentication enabled.
- CSet up a Web Transaction test that fills the credentials in the interactive form and submits the form.
- DSet up an HTTP Server test with Basic HTTP authentication enabled.
How the community answered
(33 responses)- A6% (2)
- B15% (5)
- C6% (2)
- D73% (24)
Explanation
Option D is correct because Basic HTTP authentication operates at the HTTP protocol level - credentials are passed via the Authorization request header, not through an HTML form. The HTTP Server test type works at that same protocol layer and has native support for enabling Basic HTTP auth credentials, making it the appropriate match.
Why the distractors are wrong:
- A & B (Web Transaction / Page Load with "Basic HTTP auth enabled") - neither of these browser-oriented test types offers a built-in Basic HTTP authentication toggle; they lack the protocol-level configuration needed.
- C (Web Transaction filling credentials in a form) - this describes form-based authentication (an HTML
<form>with username/password fields), which is a completely different mechanism from Basic HTTP auth. Confusing these two is the most common trap in this question.
Memory tip: Match the authentication layer to the test layer. Basic HTTP auth lives in the HTTP protocol layer → use an HTTP Server test. Form-based auth lives in the application/browser layer → use a Web Transaction test. Same layer, same test type.
Topics
Community Discussion
No community discussion yet for this question.