These pages show the common paths. When you want something they do not show, there are three places to ask before you fall back on trial and error:
A running instance and its install directory describe the version you have. The addresses below are on the management port, 8080 unless you changed it.
| You want to know | Where to look |
|---|---|
| Which keys a mapping file can carry, and what each one takes | The mapping explorer, at http://localhost:8080/explorer/index.html and under Help. It lists every key of each format with its description, allowed values and an example, and its search turns a Java DSL name such as urlEqualTo into the key to write. |
| Whether a mapping file is right, before it is loaded | The validate command, which names each file and key that does not fit its schema. The mapping explorer runs the same check on a mapping you paste into it. |
| Which helpers and matchers there are, and how each is written | http://localhost:8080/helpers-catalogue.json and http://localhost:8080/matchers-catalogue.json list the built-in helpers and matchers, each with a description and a snippet; a matcher's mappingKey is the key a mapping file takes. The mapping editors' Available helpers panel shows the same, with snippets to copy. |
| Why an HTTP request got no answer, or the wrong one | The near misses in the Request Log, which compare the request with the closest mappings field by field. When a request gets no answer has the call that lists them for a script. |
| Why a mapping file or an extension is missing after a start | The line the start script prints, and the ERROR lines in logs/trafficparrot.log, which name each item left out and the reason. See Logging. |
| What a setting does, and which values it takes | The comments in trafficparrot.properties, in the install directory: many settings have one above them that says what the values mean. The Configuration Reference describes the settings by area. |
| What a Management API call takes and returns | The Management API reference in this documentation, with the specification behind it to load into your own client. |
| What an extension can call | The SDK Javadoc. Custom extensions shows how to write one, with a project to start from. |
| What Traffic Parrot did at a given moment | logs/trafficparrot.log. Logging says how to make it record more. |
The other protocols say why in other places. An unmatched gRPC call is answered with the status UNKNOWN, whose message compares the call with the closest mapping, and the log prints the same; see the gRPC Requests page. For JMS, IBM MQ and file messages, the Requests page of the protocol lists each unmatched message with its near misses once trafficparrot.messaging.diagnostics.enabled is true. It is false by default.
This documentation holds a copy of the mapping explorer, for when you have no instance running.
By default, a running instance does not check a mapping file against its schema, and it drops a key it does not know without a word. When a key seems to do nothing, run validate on the file before you conclude anything about the key.
A start can make the check itself. With trafficparrot.virtualservice.messaging.check.mapping.schema.on.startup set to true, Traffic Parrot does not start while a JMS, IBM MQ or file mapping fails its schema, and trafficparrot.virtualservice.grpc.check.mapping.schema.on.startup does the same for a gRPC mapping that does not fit its proto file. Both are false by default, and the Configuration Reference describes them.
An AI assistant can search all of these pages for you and look at your instance. It answers better with three things in hand.
An assistant can still be wrong, and sound sure. Check a mapping it wrote with validate, and a key, helper or matcher it names against the explorer and the catalogues above.
When none of that answers it, ask us: email support@trafficparrot.com, or start a chat on the support page. In the web UI, Help has a Send feedback link that opens the same chat with your version and the page you were on already in the message.
It helps to send:
Take passwords, tokens and personal data out first.
The licence agreements do not allow decompiling Traffic Parrot, so when the answer is in none of these places, ask us instead of opening a jar.
When one of these pages left out what you needed, say so. The Missing something? line at the foot of each reference page opens the support page with the page's address already in the message.