artillery-performance-mcp-server
Version:
MCP server for performance testing with Artillery.io
38 lines (35 loc) • 854 B
YAML
config:
target: "{{ target }}"
phases:
- duration: {{ duration }}
arrivalRate: {{ arrivalRate }}
name: Constant load
http:
timeout: {{ timeout }}
environments:
production:
target: "{{ prodTarget }}"
phases:
- duration: {{ duration }}
arrivalRate: {{ prodArrivalRate }}
staging:
target: "{{ stagingTarget }}"
phases:
- duration: {{ duration }}
arrivalRate: {{ stagingArrivalRate }}
scenarios:
- name: "{{ scenarioName }}"
flow:
{{#each requests}}
- {{ method }}:
url: "{{ url }}"
headers:
Content-Type: "application/json"
{{ #if auth }}
Authorization: "{{ auth }}"
{{ /if }}
{{#if json}}
json:
{{ json }}
{{/if}}
{{/each}}