[Original] performance test-Performance Test Requirement Analysis

Source: Internet
Author: User
Tags website performance
Performance Test-Performance Test Requirement Analysis

Here, an e-commerce shopping (B2C) website is used as an example:

  • Customers' shopping website performance testing (business) requirements:
  1. From the end of late December to the end of the lunar calendar year (the beginning of February in the next year) (<= 50 days) the estimated website turnover (4 million). Here the turnover can be understood as the total amount of purchase orders completed by the website;
  2. Access order conversion rate: 10%, which is interpreted as the actual website order;
  3. Daily access time: 24 hours x 80%. It is understood that normal users will perform e-shopping before eighteen o'clock P.M. AM to AM, and am to am is the peak shopping period;
  4. Average number of purchased items for each order: About 3 items totaling about 300 yuan. Here, the average consumption of each order is 300 yuan, and the average purchase of 3 items is 3;
  1. Order efficiency: 85%. This refers to the person who placed the order. If payment is made and the transaction is completed, 15% will cancel the order or no payment;
  1. Average page views (IP/PV): 10 times. After the IP addresses of all clients accessing the website are counted, each IP address browses 10 webpages on average;
  • Business Performance Requirement Analysis: (assuming that all orders occur during peak hours, if each user browses and compares five items, one item will be selected, and each item needs to be browsed by 5 different links on the webpage)
  1. Average number of times per hour during peak hours: Sales/total sales time/peak time/single order amount/order efficiency = 4000000/50/4/300/0.85 ≈ 8
  1. Average access volume per hour during peak hours (Order Access volume/order conversion rate): 8*5*5*3/10% = 6000
  2. Peak traffic = 1.3 x average traffic: 6000x1.3 = 7800
  3. Number of Client IP addresses accessed during peak periods: 7800/10 = 780
  • Design of stress testing scenarios (rough estimation for your reference and understanding only ):
  1. Design two groups of test scripts, group A generates orders, and group B only browses product-related;
  2. The number of script executions in group A is 80, and the number of script executions in Group B is 700;
  3. In the peak test, 100 people submitted orders and 1000 people accessed them online;

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.