Skip to content

Commit

Permalink
fix(接口测试): 修复场景创建性能测试403的缺陷
Browse files Browse the repository at this point in the history
--bug=1027269 --user=王孝刚 【接口测试】接口自动化转性能失败,403
https://www.tapd.cn/55049933/s/1384663
  • Loading branch information
wxg0103 authored and fit2-zhao committed Jun 25, 2023
1 parent f4b5b40 commit 027838c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -383,7 +383,7 @@ public ResponseEntity<byte[]> downloadBodyFiles(@RequestBody ApiScenarioBatchReq
}

@PostMapping(value = "/export/jmx")
@RequiresPermissions(PermissionConstants.PROJECT_API_SCENARIO_READ_EXPORT_SCENARIO)
@RequiresPermissions(value = {PermissionConstants.PROJECT_API_SCENARIO_READ_EXPORT_SCENARIO, PermissionConstants.PROJECT_API_SCENARIO_READ_CREATE_PERFORMANCE , PermissionConstants.PROJECT_API_SCENARIO_READ_CREATE_PERFORMANCE_BATCH}, logical = Logical.OR)
@MsAuditLog(module = OperLogModule.API_AUTOMATION, type = OperLogConstants.EXPORT, sourceId = "#request.id", title = "#request.name", project = "#request.projectId")
public List<ApiScenarioExportJmxDTO> exportJmx(@RequestBody ApiScenarioBatchRequest request) {
return apiAutomationService.exportJmx(request);
Expand Down

0 comments on commit 027838c

Please sign in to comment.