Files
weiyu/jmeter/readme.md
2024-12-24 17:11:05 +08:00

1.7 KiB

JMeter Performance Tests

This folder contains JMeter test plans for testing the visitor flow functionality.

Test Files

  • visitor_flow_test.jmx: Tests single visitor flow
  • multiple_visitors_test.jmx: Tests multiple concurrent visitors

Running Tests

  1. Create a report folder in the same directory as the .jmx files:
mkdir report
  1. Run the tests using JMeter GUI or command line:
jmeter -n -t visitor_flow_test.jmx -l report/visitor_flow.log -e -o report/visitor_flow_dashboard
jmeter -n -t multiple_visitors_test.jmx -l report/multiple_visitors.log -e -o report/multiple_visitors_dashboard

Test Results

Results are stored in the report folder:

  • *_results.jtl: Detailed test results
  • *_aggregate.jtl: Aggregate statistics
  • *_graph.jtl: Performance graphs
  • *_dashboard: HTML dashboard reports

Report Structure

  • Response times
  • Throughput
  • Error rates
  • Detailed request/response data
  • Performance graphs