anteon
anteon copied to clipboard
Localhost connections give "connection refused" errors
Running from the CLI, localhost connections give a connection refused
error.
{
"iteration_count": 30000,
"debug" : false,
"load_type": "linear",
"duration": 30,
"steps": [
{
"id": 1,
"url": "http://localhost:5228/api/v1/analytics/event",
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"payload": "{\"eventData\":{\"type\":\"action\",\"name\":\"ButtonClick_SendVerificationButton\",\"buttonName\":\"back\"},\"context\":{\"scope\":\"EnterMDNDialog_SendVerificationButton\",\"scopes\":[\"EnterMDNDialog\",\"SendVerificationButton\"],\"app\":{\"appName\":\"my-app\",\"appPath\":\"\/my-app\",\"version\":2},\"device\":{\"os\":\"Windows\",\"browser\":\"Firefox\"},\"identities\":{\"deviceId\":\"abcd-1234\",\"customerId\":\"abcd-1234\"},\"extra\":{\"isSubscriber\":true,\"identifiedBy\":\"asurion-id\",\"verificationType\":\"MDN\",\"componentType\":\"BUTTON\"},\"meta\":{\"isTest\":true,\"artificial\":true}}}",
"timeout": 2
}
]
}