由于通过Api向DB发送大量数据,Jmeter -GUI在录制时挂起

时间:2018-06-04 12:37:33

标签: testing jmeter

当我通过代理服务器录制时,我的jmeter挂起,因为在我们的Web应用程序中,我们将大量数据发布到数据库。我试过增加jmeter的头部尺寸,但无法解决问题。任何人都可以建议我一些解决方案。

1 个答案:

答案 0 :(得分:0)

Unfortunately "hanging" doesn't tell much so consider collecting more information, to wit:

  1. jmeter.log file contents. In the vast majority of cases it contains enough information to get to the bottom of the issue. You might also want to increase JMeter log level to make it more verbose, for example to get more information on HTTP(S) Test Script Recorder add the next line to log4j2.xml file:

    <Logger name="org.apache.jmeter.protocol.http.proxy" level="debug" />
    
  2. Take a JVM thread dump, it should reveal which threads are stuck so you will be able to at least localise the problem.

Once you have both consider either updating this question or raise an issue in JMeter Bugzilla