AppMap integrates with popular test frameworks, so you can automatically record an AppMap from each test case that you run.
Some characteristics of test case recording include:
For details on test case recording, see:
You can configure your application to record an AppMap of each HTTP server request.
Some characteristics of test case recording include:
For details on requests recording, see:
Remote recording enables you to create an AppMap while interacting directly with your app through the UI and/or API.
Some characteristics of remote recording include:
The steps for creating a remote recording are:
Start your application server with remote recording enabled:
Start the remote recording
There are several ways to start (and stop/finish) remote recording.
@appland/appmap
CLInpx @appland/appmap@latest record remote
Note If you are having trouble connecting to your application to make a remote recording, try the CLI command. It provides step-by-step instructions with feedback at each step.
Use the code editor command to stop the recording, or follow the CLI propmt.
Once you stop/finish the recording, the AppMap will open automatically in your code editor.
All AppMap agents provide an API that enables rapid recording of execution of a block of code. This is a useful method for a quick spin of application logic without tests such as when prototyping new code or troubleshooting stubborn bugs. The method can be performed with a few lines of code, allows for programmatic control of the recording context, and does not require an upfront setup of functional or integration tests. You can read more details about Appmap.record() in the agent documentation.
Some characteristics of remote recording include: