|
Summary
This page describes how to consolidate the LoadTest logfiles generated on multiple machines
during a LoadTest experiment into a single, consolidated file.
The result of combining multiple machines' logfiles is that you can view a consolidated
Load Test Monitor
and you can display a consolidated
Load Test Chart.
@echo off REM This batch file takes 7 arguments: REM REM - Two separate log files run on different machines REM - Two separate but identical script files run on different macines REM REM and merges each file type to consolidate reports. REM The consolidated files are then passed to log2g.exe to generate REM the appropriate HTML monitor and LoadTest Chart. Syntax: REM REM Merge.Files.bat [Log1] [Log2] [Combined Log Name] [Script1] REM [Script2] [Combined Script Name] [HTML Monitor Name] REM REM This section searches and removes instances of REM "#--------------------------------------------NEXT" REM and merges the Loadtest log files into a user specified REM consolidated logfile FIND /V "#--------------------------------------------NEXT" %1 >> %3 FIND /V "#--------------------------------------------NEXT" %2 >> %3 REM This section merges the script files into a user specified REM consolidated script file type %4 >> %6 type %5 >> %6 REM This section generates the consolidated HTML Monitor report. REM log2g.exe takes in the consolidated log file name, consolidated REM script file name, and the specified HTML monitor name as REM arguments to create the HTML monitor. log2g.exe -log "%3" -script "%6" -monitor "%7" REM This section generates the LoadTest Chart for the merged files REM log2g.exe takes in the consolidated log file name and the REM consolidated script name to produce the chart. log2g.exe -log "%3" -readall -load -title "%6" -no-path |