Queries the sampling logs for a Performance Testing Service (PTS) debugging task.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PlanId | string | No | The ID of the debugging task. | NJJBH8B |
PageNumber | integer | No | The page number. | 1 |
PageSize | integer | No | The number of entries per page. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "4001",
"Message": "",
"PageNumber": 1,
"PageSize": 10,
"RequestId": "A8E16480-15C1-555A-922F-B736A005E52D",
"SamplingLogs": [
{
"ChainId": "65354719",
"ChainName": "",
"CheckResult": "",
"ExportConfig": "{\\\"skuId\\\":\\\"{R:json@$.page.list[0].skuId}\\\"}",
"ExportContent": "{\"skuId\":\"1\"}",
"HttpRequestBody": "{\"loginacct\":\"acce\"}",
"HttpRequestHeaders": "[{\"name\":\"v2\",\"sensitive\":false,\"value\":\"1\"},{\"name\":\"x-pts-test\",\"sensitive\":false,\"value\":\"2\"}]",
"HttpRequestMethod": "GET",
"HttpRequestUrl": "http://www.example.com",
"HttpResponseBody": "{\"timestamp\":1679903049155,\"status\":404,\"error\":\"Not Found\",\"message\":\"No message available\",\"path\":\"/\"}",
"HttpResponseFailMsg": "\"\"",
"HttpResponseHeaders": "[{\"valuePos\":18,\"name\":\"transfer-encoding\",\"buffer\":{\"empty\":false,\"full\":false},\"sensitive\":false,\"value\":\"chunked\"},{\"valuePos\":13,\"name\":\"Content-Type\",\"buffer\":{\"empty\":false,\"full\":false},\"sensitive\":false,\"value\":\"application/json;charset=UTF-8\"},{\"valuePos\":5,\"name\":\"Date\",\"buffer\":{\"empty\":false,\"full\":false},\"sensitive\":false,\"value\":\"Mon, 27 Mar 2023 07:44:08 GMT\"}]",
"HttpResponseStatus": "200",
"HttpStartTime": 12,
"HttpTiming": "{\"traceId\":\"0:1:10a94f66pts-2069351-allsparktask\",\"requests\":[{\"lease\":{\"conn\":{\"duration\":-1,\"finish\":-1,\"operation\":\"conn\",\"start\":-1},\"dns\":{\"duration\":-1,\"finish\":-1,\"operation\":\"dns\",\"start\":-1},\"duration\":-1,\"finish\":-1,\"operation\":\"lease\",\"start\":32277914755},\"recv\":{\"duration\":225975,\"finish\":32283700284,\"message\":\"\",\"operation\":\"recv\",\"start\":32283474309},\"sent\":{\"duration\":594179,\"finish\":32278776504,\"message\":\"\",\"operation\":\"sent\",\"start\":32278182325},\"tag\":\"GET http://tomcodemall.com:30080/api/product/skuinfo/list?key=2&vv=4&t4=%EF%BB%BF101\"}],\"message\":\"\"}",
"ImportContent": "\"\"",
"NodeId": "1345531",
"Rt": "230",
"Timestamp": 1650253024471
}
],
"Success": true,
"TotalCount": 100
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | GetPtsDebugSampleLogsFail | planId not exist |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history