OctaSapien

BTP AppRouter Route Tester

One name per line. Advanced options show the full configuration.

Advanced options

Local route matching; no HTTP connections. Not modeled: authenticationType, csrfProtection, service, localDir, cacheControl, identityProvider or endpoint.

Found something we could improve?
Practical usage guide

A practical workflow for BTP AppRouter Route Tester

Test xs-app.json route order, regular-expression captures, target rewrites, methods and sanitized destination names locally.

Capture and target rewrite

The first matching rule rewrites /api/orders to /v1/orders and selects destination backend.

1. Prepare

Provide routes and a request. Example: source ^/api/(.*)$, target /v1/$1, destination backend, GET /api/orders.

2. Review

Inspect the first matching route, target rewrite and destination. This example resolves to /v1/orders at backend; route order can change the result.

3. Apply

The tester models a standalone @sap/approuter 23.0.0 subset. It does not verify the actual destination, authentication or availability; confirm those in the deployed landscape.

Verification before operational use

  • Use a representative case with the inputs needed to reproduce it.
  • Confirm the result in the authorized target environment when runtime versions, namespaces, extensions, permissions or system configuration can change the outcome.
  • Record the source, assumptions, tool settings and expected result so another reviewer can reproduce the check and distinguish verified facts from recommendations.
Open OS, the OctaSapien assistant