tencent cloud

Performance Testing Service

BasicAuth

PDF
Focus Mode
Font Size
Last updated: 2025-03-10 17:04:45
BasicAuth is the basicAuth configuration in the configuration parameter HTTP.

Field

Field
Type
Description
username
string
Username
password
string
Password

Samples

Use BasicAuth:
export const option = {
http: {
basicAuth: {
username: 'username',
password: 'password',
}
}
}


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback