Gatling - Log body of request in simulation.log or console

前端 未结 5 2334
我寻月下人不归
我寻月下人不归 2021-02-19 00:28

I would like to see what is in the body of the post that I am sending in my script. In fact, I would like to see the request, request body and response. From looking at the docs

5条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-19 00:33

    
        
            %d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx
            false
        
    
    
    
    
    
        logs/test_${timestamp}.log
        true
        
            %d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx
        
    
    
    
    
    
    
        
        
    
    

提交回复
热议问题