Recently, the company's new application to go online, the leadership asked to do stress testing, and searched the large and small test site can not find the iOS app performance testing tools. Before using JMeter to do Web application testing, now the company's products are also the HTTP protocol, consider the manual input requests and parameters for performance testing. 1, now use Badboy casually recorded a web-side request, saved into the JMX format. 2. Start JMeter Open the script that you saved in step 1. 3. Remove unwanted components. 4. Click on the request recorded in step 1 and enter the request to test in the name. 5. Enter the server name (no HTTP required), protocol, method, path. 6, the key point is to send with the request parameters to manually add in turn. Because a mobile phone multiple access to the server and multiple phones at the same time access to the server pressure is the same, so that we do not need to modify the parameters. 7, set the thread properties in the thread group, the number of threads equal to the number of users can be considered as multiple phones, namely concurrent number, ramp-up Period (in seconds) is the interval between threads, that is, the user and user operations between the intervals, the number of cycles to execute the script. Typically, the duration is set in the scheduler, which is the duration of the concurrent action. 8. You can view the test results in the aggregation report.
Performance testing of mobile applications using JMeter