Study

Apache JMeter 부하테스트 (2018)

whistory 2022. 10. 5. 11:00
반응형

바야흐로 2018년.

비트코인 1차 wave가 지나고,

신규 암호화폐 거래소 오픈 전 부하테스트를 진행한 경험

 

 

 

 

 

Test Plan 
--Thread Group 
----HTTP Cookie Manager 
      Name/Value/Domain/Path/Secure 
----CSV Data Set Config 
      Filename/VariableName/Delimiter 
----Once Only Controller 
------HTTP Request 
        protocol = http/https 
server name or ip 
port 
method 
path 

(parameter 를 받고싶을경우 HTTP Request에서 Add) 
Reqular Experssion Extractor 
   Name/ReqularExpression/Tmplate/MatcnoNO 
    
--WebSocket Open Connection 
    ws(wss)/server name/port/path 
--WebSocket request-response sample 
    connection : use existing connection 
data : Request Data 

 

1. HTTP Cookie Manager 를 이용해 쿠키 관리

 

2. CSV Data Set Config 를 이용해 CSV 데이터 관리

 

3. HTTP Request 사용 예제

 

4. Reqular Expression Extractor를 이용해 변수 받기

 

5. Web Socket Connection

 

6. Web Socket handshake

 

 

Web Socket 사용시 
1. Open connection으로 먼저 ws 연결
2. handshake 후 connection 옵션을 use existing connection 을 이용해 Request data 를 날린다.

 

 

 

 

반응형