Skip to content

TomerAdmon/JmeterSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JmeterSharp

Jmeter Runner Wrapper for C#

Example:

Build Jmeter Runner configuration
var jmeterRunner = new JmeterRunner(jmeterBat, new ArgsBuilder());
jmeterRunner. ArgsBuilder
    .NonGui() //not Gui
    .CollectReportableData(logsFile)
    .WithTestPlan(jmeterTestPlan);

Execute Test Plan

jmeterRunner.Start();

Create Reports

jmeterRunner.CreateSummaryReport(PluginTypeCsv.AggregateReport,
    string.Format(@"C:\JmeterLogs\Summary{0}.csv", DateTime.Now.ToString("yyyyMMddHHmmssfff")), logsFile);

jmeterRunner.CreateGraph(PluginTypeGraph.HitsPerSecond, 
    string.Format(@"C:\JmeterLogs\Graph{0}.png", DateTime.Now.ToString("yyyyMMddHHmmssfff")), logsFile);

About

Jmeter Runner Wrapper for C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages