naftiko: 1.0.0-alpha2 info: label: Apache JMeter REST API — Tests description: 'Apache JMeter REST API — Tests. 2 operations. Lead operation: Apache JMeter Start Test. Self-contained Naftiko capability covering one Apache Jmeter business surface.' tags: - Apache Jmeter - Tests created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APACHE_JMETER_API_KEY: APACHE_JMETER_API_KEY capability: consumes: - type: http namespace: rest-tests baseUri: http://localhost:4445 description: Apache JMeter REST API — Tests business capability. Self-contained, no shared references. resources: - name: run path: /run operations: - name: starttest method: POST description: Apache JMeter Start Test outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: stop path: /stop operations: - name: stoptest method: POST description: Apache JMeter Stop Test outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: rest-tests-rest port: 8080 description: REST adapter for Apache JMeter REST API — Tests. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/run name: run description: REST surface for run. operations: - method: POST name: starttest description: Apache JMeter Start Test call: rest-tests.starttest with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/stop name: stop description: REST surface for stop. operations: - method: POST name: stoptest description: Apache JMeter Stop Test call: rest-tests.stoptest outputParameters: - type: object mapping: $. - type: mcp namespace: rest-tests-mcp port: 9090 transport: http description: MCP adapter for Apache JMeter REST API — Tests. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apache-jmeter-start-test description: Apache JMeter Start Test hints: readOnly: false destructive: false idempotent: false call: rest-tests.starttest with: body: tools.body outputParameters: - type: object mapping: $. - name: apache-jmeter-stop-test description: Apache JMeter Stop Test hints: readOnly: false destructive: false idempotent: false call: rest-tests.stoptest outputParameters: - type: object mapping: $.