Show TOC

Activating Data Collection from Remote Systems in the Coverage AnalyzerLocate this document in the navigation structure

Procedure

With the switch in the Switch Data Aggregation from Different Remote Systems On/Off, you can collect code coverage data from remote systems and combine it with the local data. The function collects data from the remote system for all initialized programs in the local system. The result is aggregated records that represent the total code coverage across the systems.

You can view remote history data in the COND test group in the Detail Display and the Global Display.

Note

All of the systems - local and remote - from which code coverage data is to be collected must have the same release.

The system aggregates are presented in the test group COND. This test group appears automatically in the Global Display if you activate remote history aggregation.

The Detail button shows you the RFC destinations to remote systems from which history data is being collected. It also tells you where the background job for collecting remote system data is running.

When to use remote data collection: The Coverage Analyzer collects remote statistics only for the programs on which it is collecting data in the local system. It aggregates the local and remote records to create a record of the total code coverage across the systems. The statistic is limited to the procedure coverage metric.

Some situations in which this function may be useful to you are the following:

  • You run automatic tests for your development projects on one system, manual tests on another system.

  • You have groups testing your development projects on separate systems. Perhaps, for example, you have one test group in India, another in the USA, testing the same developments on local systems.

In these situations, you can consolidate the code coverage results in a single system. The results are shown under the COND test group. This test group is a standard part of the Coverage Analyzer.

Activating History Collection from Remote Systems: Do the following to start this function:

  1. Make sure that these prerequisites are fulfilled:

    • You have defined RFC destinations with logon data which the collection job can use to get the code coverage data from the remote systems.

      Note

      The logon user in the RFC destination should have an authorization for authorization object S_COV_ADM Activity 03, for reading data from the Coverage Analyzer.

    • You have checked that all of the systems have the same release and support package or enhancement level as this system.

  2. Specify the server on which the background job for collecting history data from remote systems is to run. Also specify the RFC destinations of the systems.

    Make these specifications in Start of the navigation path Coverage Analyzer Next navigation step Administration Next navigation step Settings End of the navigation path in the Summarize Coverage Results frame.

  3. Back on the Start of the navigation path Coverage Analyzer Next navigation step Administration Next navigation step On/Off, Status End of the navigation path screen, click on On to activate the background job RSCVR_FILL_REMOTE, which gathers Coverage Analyzer data from other systems.

  4. Display the results in the SCOV Detail Display or Global Display. They appear under test group COND.

    Activating or deactivating history collection from remote systems has no effect on the display of local data in the Detail Display and Global Display.