Help Center/ CodeArts PerfTest/ FAQs/ Using JMeter Projects/ What Are the Suggestions for Using CodeArts PerfTest Scripts?
Updated on 2024-10-21 GMT+08:00

What Are the Suggestions for Using CodeArts PerfTest Scripts?

  • Result viewers are not recommended in scripts.

    Different result viewers have different impacts on the pressure test performance. If you want to use result viewers, evaluate the risks.

  • If the total number of concurrent scripts is greater than 1,000, or the number of actuators is configured in Advanced Config > Number of Actuators of the task, evaluate whether the attributes in the scripts can be used in distributed scenarios (multiple hosts run the scripts at the same time).
  • Constant throughput timers are not recommended.

    If the constant throughput timer of JMeter is enabled, the results of pressure test will be inaccurate. You are advised to use the precise throughput timer of JMeter. If the constant throughput timer must be used, evaluate its impact on the actuator performance.

  • When you use throughput controllers, the debugging result of the JMeter project may be below expectations.

    The reason is that the CodeArts PerfTest debugging script is executed only once. In this case, you are advised to use concurrent tasks on a small scale in a short time to replace the debugging.