使用JMeter + Badboy 测试基于事务粒度的性能测试

电商网站性能测试
使用JMeter与Badboy工具对两款电商软件Ecshop与Magento进行性能测试。结果显示,Ecshop能较好支持100用户/5000交易,而Magento在相同条件下表现较差。具体页面分析显示登录页等部分页面压力较小,而结账流程中的几个关键步骤则承受较高压力。

 The following 4 transaction based performance result is done by JMeter+Badboy tool.

 

Support the scenario is as follows:

Guest view products in estore -> Guest Add item to shopping cart -> Guest check out -> Guest register his/her account->Guest login with his/her account -> Guest choose shipping method->Guest set shipping address->Guest set payment method->Guest finish checkout->System generate order no.

 

We can use badboy to record the script to imitate this scenario and export to JMeter format ,and JMeter can use this script to run performance test.

 

 

TC1->Ecshop Guest Checkout Transaction (100 users /500 transactions)


 

TC2->Ecshop Guest Checkout Transaction (100 users/5000 transactions)


 

TC3->Magento Guest Checkout Transaction (100 users /500 transactions)


 

TC4->Magento Guest Checkout Transaction(100users/ 5000 transactions)


 

 

 

The following is the conclusion:

 

(1)    Ecshop can support 100 users/ 5000 transaction very well, because Error%=0

(2)    Magento can’t support 100 users/5000 transactions ,even can’t support 100 users/500 transactions ,Error% in average is larger than 60%

(3)    Login Page/Item Detail Page/Shopping Cart Page ,the request to these three pages in the whole transactions has low pressure ,because their Error% is less than 2%.

(4)    Begin Checkout /End Checkout page has medium pressure ,because their Error% is 17%, neither too high nor too low.

(5)    Shipping Method /Shipping Address/Billing Method has high pressure ,because their Error% is larger than 98%

(6)    To this Transaction-related cases ,500 transactions/5000 transactions has almost the same pressure ,because system can utilize the load (62.79% vs 61.07%)

 

Best Regards,

 

Charles (Canton team)

Senior Software Engineer





本文转自 charles_wang888 51CTO博客,原文链接:http://blog.51cto.com/supercharles888/834313,如需转载请自行联系原作者

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值