Performance Testing Process

Source: Internet
Author: User

Recently, the project team has asked to do performance testing, but also a novice, for LoadRunner just for simple use, can be based on specific business scripting, common scenarios, analysis of test results, nmon tools to monitor system indicators. So how does a more prescriptive mind and that test process work? Combine the instructor and related data to organize the performance test routine.

(1) Business Learning

Need to understand system capabilities. Since contact with our products has been nearly two years, the entire product understanding is relatively adequate, our entire system is deployed on the Tomcat service on the Web services, the main business scenario is the aggregation of payment-related business, the external API interface for the merchant to call.

The main interfaces are: non-consumer Interface (account verification, identity authentication, etc.), consumer interface (express payment, Gateway payment, collection, pay, etc.). API interface can refer to the interface documentation, which describes the communication method, message format, interface service address, interface request messages, interface response messages, etc., can be written according to the document related script use cases.

The whole system is divided into 4 modules, Eis\ebs\egs\ebsbatch, request to come in: EIS module is mainly to accept the external merchant request, the request message to be added to the signature; After a verification request is sent from the EIS module to the internal EBS module, The main function of the module is interface parameter check and related business check; After the request is sent to the EGS module, the main function of the module is to assemble the packets destined for the downstream channel and send the request to the bank or to the third party payment company interface. After accepting the response, the EGS accepts the response packet of the processing channel, returns the processing result to the EBS module, the EBS module updates the library table operation and returns the processing result to the EIS module, and the EIS module adds the processing results back to the merchant after the completion of the transaction.

(2) Demand analysis

Analyze the system lung function requirements, delineate the scope of performance testing, and understand the system performance indicators.

(3) Job evaluation

Workload decomposition, estimating workload (requires several people and working days to complete performance tests based on decomposition workload assessment)

(4) Design model

Map the business model into a test model. For example: Our system is the aggregation payment system needs to interact with the bank or the third party payment company, we do the performance test can not send the transaction directly to the bank, then we need to develop a baffle system instead, so as to ensure the performance test deployment, this process is the design test model.

(5) Plan preparation

Plan test work, clearly list test scope, manpower input, duration, work content, risk assessment, risk response strategy, etc. in the documentation

(6) Script development

Record or write performance test scripts. Because the system is API interface, all manual development scripts

(7) test environment preparation

The performance test environment is prepared to include the server and the load machine. The server is the operating platform of the system under test (including hardware and software, machine memory, processor, middleware Tomcat), the load machine is the machine we generate the load, used to install the Load tool, run the test script.

(8) test data preparation

In the test process, you need to consider the stock, historical data, which also consider the quantity and distribution.

(9) Test execution

Test execution is critical to the success of a performance test.

(10) Defect Management

(11) Performance analysis

I ask analysis of problems exposed by the performance process to find out why

(12) Performance tuning

Need to work with development to solve the problem

(13) Test report

Test work important deliverables, report test results. For example: test plan, test script, test program, Performance test report

(14) Review

Review performance test report issues and evaluate on-line risk.

Note: The document is taken from the full stack performance test practicing treasure jmeter actual combat; road_testing Software Test group Chen Zhiyong, Maliwei, Wanlong

Performance Testing Process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.