Generally, you can use the Analyzer with both, services created with the Scheer PAS Designer as well as services created with the Scheer PAS Builder – however there are some particularities to consider each.

This chapter describes how to use the Analyzer with the Scheer PAS Designer. Switch to Using the Analyzer with Builder Services for more information on how you can use the Analyzer to trace through xUML services that have been developed with the Builder.

The Analyzer allows you to inspect the execution path of a deployed xUML service asynchronously, and you can review this trace graphically in order to debug your service, or verify its correct functionality. To do this, you need to perform the following steps:

Optional: Create a Builder Project

Within the Analyzer, all service definitions are stored to so called Builder projects. To be able to work with the Analyzer, you need to have a Builder project to store your test data to. Creating a Builder Project describes how to create a Builder project if you not already have one.

Import the Service Description

To trace through a service, you must first import the service characteristics.This is done by importing the service repository as generated by the Designer.

Connect to the Running Service

After having imported the service description, all service resources are listed in the asynchronous part of the Trace Analyzer. You need to connect each resource you want to inspect to the deployed service as described on Connecting to an xUML Service, and enable trace.

That done, calls to any of the connected resources are traced and their execution path can be inspected afterwards.

Trace Through Service Calls

Once trace has been activated, all calls to the configured resources are tracked. You can download these traces with the Trace Analyzer and browse through the execution path of the related calls.

Deactivate Trace

Trace is enabled on the service, trace data is stored to the service context. This is completely independent from the Analyzer running or not. So, do not forget to disable trace after collecting the needed information with the Analyzer.

Keeping trace running on multiple services may lead to file storage issues on your server.

Refer to Connecting to an xUML Service > Stop Tracing for more information on how to disable trace.

  • No labels