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

简介:

 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,如需转载请自行联系原作者

目录
相关文章
|
数据采集 监控 机器人
浅谈网页端IM技术及相关测试方法实践(包括WebSocket性能测试)
最开始转转的客服系统体系如IM、工单以及机器人等都是使用第三方的产品。但第三方产品对于转转的业务,以及客服的效率等都产生了诸多限制,所以我们决定自研替换第三方系统。下面主要分享一下网页端IM技术及相关测试方法,我们先从了解IM系统和WebSocket开始。
417 4
|
10月前
|
Java 测试技术 容器
Jmeter工具使用:HTTP接口性能测试实战
希望这篇文章能够帮助你初步理解如何使用JMeter进行HTTP接口性能测试,有兴趣的话,你可以研究更多关于JMeter的内容。记住,只有理解并掌握了这些工具,你才能充分利用它们发挥其应有的价值。+
1365 23
|
测试技术 持续交付 Apache
Python性能测试新风尚:JMeter遇上Locust,性能分析不再难🧐
【10月更文挑战第1天】Python性能测试新风尚:JMeter遇上Locust,性能分析不再难🧐
570 3
|
测试技术 数据库 UED
Python 性能测试进阶之路:JMeter 与 Locust 的强强联合,解锁性能极限
【9月更文挑战第9天】在数字化时代,确保软件系统在高并发场景下的稳定性至关重要。Python 为此提供了丰富的性能测试工具,如 JMeter 和 Locust。JMeter 可模拟复杂请求场景,而 Locust 则能更灵活地模拟真实用户行为。结合两者优势,可全面评估系统性能并优化瓶颈。例如,在电商网站促销期间,通过 JMeter 模拟大量登录请求并用 Locust 模拟用户浏览和购物行为,可有效识别并解决性能问题,从而提升系统稳定性和用户体验。这种组合为性能测试开辟了新道路,助力应对复杂挑战。
489 2
|
缓存 Java 测试技术
谷粒商城笔记+踩坑(11)——性能压测和调优,JMeter压力测试+jvisualvm监控性能+资源动静分离+修改堆内存
使用JMeter对项目各个接口进行压力测试,并对前端进行动静分离优化,优化三级分类查询接口的性能
851 10
谷粒商城笔记+踩坑(11)——性能压测和调优,JMeter压力测试+jvisualvm监控性能+资源动静分离+修改堆内存
|
监控 中间件 测试技术
『软件测试5』测开岗只要求会黑白盒测试?NO!还要学会性能测试!
该文章指出软件测试工程师不仅需要掌握黑盒和白盒测试,还应该了解性能测试的重要性及其实现方法,包括负载测试、压力测试等多种性能测试类型及其在保证软件质量中的作用。
『软件测试5』测开岗只要求会黑白盒测试?NO!还要学会性能测试!
|
测试技术 数据库连接 数据库
测试脚本的编写和维护对性能测试结果有何影响?
测试脚本的编写和维护对性能测试结果有着至关重要的影响,
229 1
|
测试技术 持续交付 Apache
Python性能测试新风尚:JMeter遇上Locust,性能分析不再难🧐
Python性能测试新风尚:JMeter遇上Locust,性能分析不再难🧐
613 3
|
缓存 测试技术 Apache
告别卡顿!Python性能测试实战教程,JMeter&Locust带你秒懂性能优化💡
告别卡顿!Python性能测试实战教程,JMeter&Locust带你秒懂性能优化💡
560 1
|
缓存 测试技术 Apache
告别卡顿!Python性能测试实战教程,JMeter&Locust带你秒懂性能优化💡
【10月更文挑战第1天】告别卡顿!Python性能测试实战教程,JMeter&Locust带你秒懂性能优化💡
463 4