Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ljxpython/locust_framework
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: archive_v1
Choose a base ref
...
head repository: ljxpython/locust_framework
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 82 files changed
  • 2 contributors

Commits on Jul 6, 2025

  1. Configuration menu
    Copy the full SHA
    eda094b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95111f9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f6c8dcc View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1 from ljxpython/dev_v2

    v2试用版
    ljxpython authored Jul 6, 2025
    Configuration menu
    Copy the full SHA
    5625095 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2025

  1. Configuration menu
    Copy the full SHA
    e38b8be View commit details
    Browse the repository at this point in the history
  2. fix: 修复所有Locust示例中的API错误并完善测试框架

    - 修复HttpSession.session属性访问错误,更新为正确的日志记录方式
    - 修复事件API错误:user_add/user_remove → request事件监听器
    - 修复MIME类导入错误:MimeMultipart → MIMEMultipart
    - 修复wait_time_seconds属性错误,更新为wait_time = between()
    - 修复负载模式参数错误,移除不存在的--shape参数
    - 修复request事件处理器签名不匹配问题
    
    增强功能:
    - 创建完整的Flask Mock HTTP服务支持多端口配置
    - 添加工具脚本:启动服务器、运行示例、生成测试数据、分析结果
    - 更新Makefile支持新的开发工作流程
    - 提供7个完整的Locust使用示例,覆盖所有框架特性
    - 增强性能分析器支持字典输入格式API
    - 创建基础插件架构支持扩展
    
    修复的示例文件:
    - 01_basic_test.py: HttpSession API和wait_time修复
    - 04_performance_analysis.py: 事件监听器和随机数导入修复
    - 05_monitoring_alerts.py: MIME类导入和事件API修复
    - 06_load_shapes.py: 负载模式配置和参数修复
    - 07_ecommerce_scenario.py: 事件处理器签名修复
    
    Pre-commit hooks已自动应用代码格式化(black, isort, 空格清理)
    ljxpython committed Aug 29, 2025
    Configuration menu
    Copy the full SHA
    1d3b69b View commit details
    Browse the repository at this point in the history
Loading