backend-tech-forge / benchmark

A enterprise level performance testing solution. Taking inspiration from nGrinder, this project aims to develop a Spring Boot application mirroring nGrinder's functionality as closely as feasible.
MIT License
4 stars 0 forks source link

HTTP 부하 테스트 시 타겟서버의 인증을 획득하는 옵션 #48

Closed ghkdqhrbals closed 6 months ago

ghkdqhrbals commented 6 months ago
image

그래서 만약 인증이 필요한 타겟서버의 url 의 경우, 해당 인증을 사전에 수행한 뒤 토큰을 원하는 형식으로 HTTP Request 에 삽입시키는 과정이 필요하죠.

여기서 인증 옵션을 설정해야합니다.

1) 어떤 토큰을 헤더의 어떤값으로 받는지. e.g. Set-Cookie, Cookie, Authorization, etc. 2) 아니면 토큰을 바디로 받는지. e.g. { "Bearer xxxx..." }, Bearer xxxxxx...