Claus Ibsen created CAMEL-26793:
-----------------------------------
Summary: camel-jbang - a chaos experiment feeds a route that
serves HTTP with HTTP requests, and counts the status codes the clients got
Key: CAMEL-26793
URL: https://issues.apache.org/jira/browse/CAMEL-26793
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 4.24.0
A route that starts from platform-http or the REST DSL cannot be fed by a chaos
experiment (CAMEL-26792 refuses it with the reason): the component has no
producer. Such a route is fed by HTTP requests to the integration's own server:
localhost, the port of its HTTP server (from the status, as the http_request
tool finds it), the path and method of the route.
The experiment sends the requests itself while it waits for the verdict
(--repeat, --interval, --body with a file or a folder, --header as HTTP
headers), stops when the experiment ends, and its traffic counts the status
codes the clients got (200 x17, 500 x3), so a hypothesis such as "a client gets
a 503, not a 500" has its evidence.
The feed is the id of the route, or its endpoint, or a path to call with an
optional method (POST /orders/42), for a path with a parameter. Seen in the
recorded runs of camel cmd chaos-explore (CAMEL-26760): the payment route,
served over HTTP, could only be reached through the routes that call it.
_Claude Code on behalf of Claus Ibsen_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)