Skip to content

Commit

Permalink
Added the trace file url to the json result
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeenan committed Feb 29, 2016
1 parent 61ebcdf commit 7dc3155
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/jsonResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ function GetSingleRunData($id, $testPath, $run, $cached, &$pageData, $testInfo)
$ret['rawData']['utilization'] = "$protocol://$host$uri$path/$run{$cachedText}_progress.csv";
if( is_file("$testPath/$run{$cachedText}_bodies.zip") )
$ret['rawData']['bodies'] = "$protocol://$host$uri$path/$run{$cachedText}_bodies.zip";
if( gz_is_file("$testPath/$run{$cachedText}_trace.json") )
$ret['rawData']['trace'] = "$protocol://$host$uri//getgzip.php?test=$id&file=$run{$cachedText}_trace.json";

if (!$basic_results) {
$startOffset = array_key_exists('testStartOffset', $ret) ? intval(round($ret['testStartOffset'])) : 0;
Expand Down

0 comments on commit 7dc3155

Please sign in to comment.