public ClientJob(ClientJob clientJob)
 {
     Id                 = clientJob.Id;
     Threads            = clientJob.Threads;
     Connections        = clientJob.Connections;
     Duration           = clientJob.Duration;
     PipelineDepth      = clientJob.PipelineDepth;
     Headers            = clientJob.Headers;
     ServerBenchmarkUri = clientJob.ServerBenchmarkUri;
     State              = clientJob.State;
     RequestsPerSecond  = clientJob.RequestsPerSecond;
     Output             = clientJob.Output;
     Error              = clientJob.Error;
 }
Esempio n. 2
0
 public ClientJob(ClientJob clientJob)
 {
     Id                   = clientJob.Id;
     Threads              = clientJob.Threads;
     SpanId               = clientJob.SpanId;
     Connections          = clientJob.Connections;
     Duration             = clientJob.Duration;
     Warmup               = clientJob.Warmup;
     ClientProperties     = new Dictionary <string, string>(clientJob.ClientProperties);
     Client               = clientJob.Client;
     ScriptName           = clientJob.ScriptName;
     PipelineDepth        = clientJob.PipelineDepth;
     Headers              = new Dictionary <string, string>(clientJob.Headers);
     ServerBenchmarkUri   = clientJob.ServerBenchmarkUri;
     Query                = clientJob.Query;
     State                = clientJob.State;
     RequestsPerSecond    = clientJob.RequestsPerSecond;
     Output               = clientJob.Output;
     Error                = clientJob.Error;
     Method               = clientJob.Method;
     SkipStartupLatencies = clientJob.SkipStartupLatencies;
     Attachments          = new List <ScriptAttachment>(clientJob.Attachments);
 }