WEB Application Simple test scenario

Source: Internet
Author: User

Test: Be sure to stage the test, first determine the queue success, and then test the execution of the queue is successful.

Function points:

1. Turning pages
2. Add Refinement
3. Sticky
4. Post Views (PV)
5. Post
6. Reply
7. Comments

8. Crontab Script



@20150325 ~ @201503226
Function point test for circles and posts:

Post, into the queue, mod 20 = 0, escalate the database;
Circle of posts reply, into the queue, mod 20 = 0, escalation database;
Number of posts in the circle, publish a post, into the queue, reporting the database;
Post reply, into the queue, mod 20 = 0, escalate the database;
Post views, into the queue, mod 100 = 0, reporting the database;
Posts pinned, into the queue, immediately reported to the database, F_top_time = Strtotime ("Now");
The post cancels the top, into the queue, immediately reports the database, F_top_time = 0;
Post plus essence, into the queue, immediately report the database, f_essence = 1;
Post cancellation essence, into the queue, immediately report the database, f_essence = 0;
Post response time modified, into the queue, immediately reported to the database, F_comment_time = Strtotime ("Now");

Posting field (Hnb_model_theme_cache)
1, add, delete fine (effective immediately) (database class not added) (Essencetheme, Cancelessencetheme) (into the queue successfully) (storage success)
2, add, delete top (effective immediately) (database class not added) (Toptheme, Canceltoptheme) (into the queue successfully) (storage success)
3, the number of replies (database class to be confirmed) (Incrcommentnum) (into the queue successfully) (storage success)
4, the number of views (database class to be confirmed) (Incrviewnum) (into the queue successfully) (storage success)
4, Response time modification (database class to be confirmed) (Updatecommenttime)



Be aware that:
1. New Fields added
2. Add the fields corresponding to the refernce
3. Add the corresponding fields in the database
4, the addition of corresponding functions in db

After adding 20, see if the database is updated

1. Increase the number of comments to test
$comment _num

2. Increase the number of theme tests
$theme _num

3. User Focus Number Test
$user _num

Not tested: Post paging, post reply page, post reply comment, user focus number



WEB Application Simple test scenario

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.