数据未显示 在服务器上运行mongodb和klov报告
代码
var enter code here
klovReporter = new KlovReporter();
klovReporter.LoadConfig(configFilePath);
// specify mongoDb connection
klovReporter.InitMongoDbConnection("192.168.28.88", 27017);
// specify project ! you must specify a project, other a "Default project will be used"
klovReporter.ProjectName = "CsharpReports";
// you must specify a reportName otherwise a default timestamp will be used
klovReporter.ReportName = "Build " + DateTime.Now.ToString();
// URL of the KLOV server
klovReporter.KlovUrl = "192.168.28.88:8090";
_extent = new ExtentReports();
_extent.AttachReporter(klovReporter);