当前位置:网站首页>Do a small pressure test with JMeter tool

Do a small pressure test with JMeter tool

2022-07-05 04:58:00 Field test record

Hello, everyone , I'm Daejeon .

Let me share with you today , Datian is in his ordinary work , Use Jmeter After the interface test , How to do a simple stress test , Look at the bearing capacity of this test interface .

Add a component on the basis of interface test : Aggregation report .

step :

1、 Prepare batch pressure test data , This data comes from the interface test process , Save the data in CSV perhaps txt In file ;

2、 establish CSV Components , Configure the file path , And the names of various variables , It should be each header data in the data file ;

3、 stay HTTP Use... In request  ${} Refer to the variables in the above figure , Such as :${ Variable name 1};

4、 Set the number of threads to be concurrent in the thread group, that is, the number of threads in the following figure , You can also check the scheduler , Set the duration and delay time when starting the thread group .

remarks :

You can go Jmeter Download the installation package from the official website , Decompress the compressed package directly after downloading , Install the installation package to a certain location in the computer , Next, configure the environment variables .

 

The above is what Daejeon shares today , If you find it useful , You can give Daejeon a compliment ~

原网站

版权声明
本文为[Field test record]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/186/202207050452489274.html