[SCF + wetest + jmeter] pressure measuring tool performance cloud scheme

Foreword

Pressure measurement is too difficult? LAN server network can not determine the pressure index? Unable to produce a very large amount of concurrency? Yun performance is too expensive?
Maybe we can put together a variety of simple tools to stress test!

ready

https://cloud.tencent.com/product/scf
https://cloud.tencent.com/product/lm

Pressure measuring cloud background

Conventional pressure measurement tools, all requests from local, go local area network that could cause actual results requested not true, it is an attempt to introduce cloud performance pressure measuring tool (expensive).

Pressure measuring tool

Tencent wetest + SCF + jmeter

Pressure measurement principle

Jmeter call by using local SCF trigger API gateway, to achieve pressure from the cloud, the performance parameters of the collection is used wetest.

Pressure measurement strategy

The 1 / 2,4 / 5,9 / 10 wetest then gradually increasing pressure ratio SCF / SCF mixed pressure to achieve the same time using a small amount wetest high concurrent performance testing is completed.

Pressure measuring step

  1. Create a batch SCF function through the interface, the main function for the service request interface
  2. Add Jmeter concurrent requests, path request as a trigger, and edit concurrency

    Note: If a greater amount of concurrency, concurrent requests a recommendation jmeter total control SCF, then the call through the master control other SCF SCF
  3. Edit wetest test url (SCF function interface consistent with the content), and configure monitoring options
  4. While performing wetest script, script execution jMeter

Pressure test report

  1. wetest will after the pressure test, automatic reports

    Preliminary Conclusions

  2. Use SCF put pressure, a large consumption of resources (SCF currently free 2019/04/09)
  3. Use SCF + wetest pressure mixing effect is almost the same and only using wetest

Guess you like

Origin www.cnblogs.com/wujianqinjian/p/11203060.html