Get Transaction
To get a Transaction, you need to know your Workspace identifier and the Transaction identifier. The sample code uses a transactionId
of 77
and a workspaceId
of 123456
. Use the actual ID values of your Workspace and Mock Service template.
Minimum Parameters for getting a Transaction
The following parameters are the base parameters required to get a Transaction.
Get a TransactionMinimum Configuration Sample
curl 'https://mock.blazemeter.com/api/v1/workspaces/123456/transactions/77' \
-X GET \
-H 'accept: */*'
Get a Transaction Request Attributes
Attributes
-
transactionId
integerrequired
The transaction identifier
-
workspaceId
integerrequired
The Workspace identifier
-
type
stringThe Transaction type (dsl) to filter by
Response200 OK
{
"apiVersion": 0,
"error": "string",
"limit": 0,
"link": "string",
"requestId": "string",
"result": {
"description": "string",
"dsl": {
"priority": 1,
"requestDsl": {
"method": "GET",
"host": "http://miurl.com.ec",
"path": "",
"url": {
"key": "url",
"matcherName": "equals_url",
"matchingValue": "miurl.com.ec"
},
"headers": [],
"queryParams": [],
"cookies": [],
"credentials": {},
"body": []
},
"responseDsl": {
"status": 200,
"statusMessage": "OK",
"proxyUrl": "",
"headers": [],
"binary": false,
"contentType": "json",
"content": "",
"charset": "UTF-8"
}
} ,
"id": 0,
"link": "string",
"name": "string",
"serviceId": 0,
"serviceName": "string",
"tags": [
"string"
]
},
"skip": 0,
"total": 0
}