We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Might be because of a mistake in the config? Either way the error should probably indicate what the problem is as opposed to be unhanded.
Command: ddosify -config loadTestConfig.json
ddosify -config loadTestConfig.json
{ "iteration_count": 3000, "debug" : false, "load_type": "linear", "duration": 30, "steps": [ { "id": 1, "url": "[redacted]", "method": "POST", "payload": { "eventData": { "type": "action", "name": "ButtonClick_SendVerificationButton", "buttonName": "back" }, "context": { "identities": { "deviceId": "abcd-1234", "customerId": "abcd-1234" }, "meta": { "isTest": true, "artificial": true } } }, "timeout": 2 } ] }
The text was updated successfully, but these errors were encountered:
This is because the JSON isn't provided as an escaped string, this could be turned into a feature request to handle the existing JSON payload?
Sorry, something went wrong.
Hi @douglasg14b, you can use payload_file key instead of payload like this:
payload_file
payload
Config:
{ "iteration_count": 3000, "debug" : false, "load_type": "linear", "duration": 30, "steps": [ { "id": 1, "url": "[redacted]", "method": "POST", "payload_file": "payload.json", "timeout": 2 } ] }
payload.json:
{ "eventData": { "type": "action", "name": "ButtonClick_SendVerificationButton", "buttonName": "back" }, "context": { "identities": { "deviceId": "abcd-1234", "customerId": "abcd-1234" }, "meta": { "isTest": true, "artificial": true } } }
No branches or pull requests
Might be because of a mistake in the config? Either way the error should probably indicate what the problem is as opposed to be unhanded.
Command:
ddosify -config loadTestConfig.json
Config:
The text was updated successfully, but these errors were encountered: