mirror of
https://gitee.com/270580156/weiyu.git
synced 2025-12-30 02:42:25 +00:00
JMeter Performance Tests
This folder contains JMeter test plans for testing the visitor flow functionality.
Test Files
visitor_flow_test.jmx: Tests single visitor flowmultiple_visitors_test.jmx: Tests multiple concurrent visitors
Running Tests
- Create a
reportfolder in the same directory as the .jmx files:
mkdir report
- 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