feat: support running load testing by loading profile

This commit is contained in:
xucong053
2022-05-19 22:58:16 +08:00
parent a283565d41
commit a25cae0aa9
5 changed files with 82 additions and 49 deletions

View File

@@ -118,7 +118,7 @@ func locateFile(startPath string, destFile string) (string, error) {
return locateFile(parentDir, destFile)
}
func getProjectRootDirPath(path string) (rootDir string, err error) {
func GetProjectRootDirPath(path string) (rootDir string, err error) {
pluginPath, err := locatePlugin(path)
if err == nil {
rootDir = filepath.Dir(pluginPath)