public class CreateBenchmarkTaskRequest
extends com.aliyun.tea.TeaModel
| 构造器和说明 |
|---|
CreateBenchmarkTaskRequest() |
@NameInMap(value="body") public String body
The request body. The body includes the parameters that are set to create a stress testing task.
example:{ "base": { "duration": 600 }, "service": { "serviceName": "test_service", "requestToken": "test_token" }, "data": { "path": "https://larec-benchmark-cd.oss-cn-chengdu.aliyuncs.com/youbei/sv_dbmtl/data/youbei.warmup.tf.bin", "dataType": "binary" }, "optional": { "maxRt": 100 } }
public static CreateBenchmarkTaskRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateBenchmarkTaskRequest setBody(String body)
public String getBody()
Copyright © 2024. All rights reserved.