Links

Configuration Files

Learn how to work with test configuration files
Loadmill test configuration files are an extension of the YAML file format. The test configuration example below was converted into JSON to be used in our REST API and demonstrates some of the key elements such as - extractions, assertions and parameter defaults.
example.json
{
"meta": {
"description": "New Flow"
},
"requests": [
{
"description": "Basic flow",
"method": "POST",
"url": "httpbin.org/anything",
"postData": {
"text": "{\"parameter\":\"value\"}",
"mimeType": "application/json"
},
"extract": [
{
"parameter_value": {
"jsonPath": "$.json.parameter"
}
}
],
"assert": [
{
"check": "parameter_value"
}
]
}
],
"parameters": [],
"skipLoginFlow": true,
"useCookies": true,
"authenticationHeaders": [],
"notifications": [],
"concurrency": 50,
"duration": 120000,
"rampUp": 60000,
"iterationDelay": 1000,
"maxIterations": "5",
"targetedCountries": []
}