QuestionQ104

Discovery Configuration

An application configuration file contains these three lines:

  • Line 1: app build 1.2.3.4 version 5.14
  • Line 2: installation_dir=c:\opt\bin
  • Line 3: build_type=Server

Which of the following methods can extract the build and version numbers from these lines with a horizontal discovery pattern?

Choose two
  • A Get Process operation with correct Port
  • B Find Matching URL operation with Target Variable
  • C Parse File operation with Delimited Text parsing strategy
  • D Parse File operation with Regular Expression parsing strategy
Explanation

A Parse File operation can use delimited-text parsing to split the first line into space-separated fields and retrieve the build and version values. It can also use regular-expression parsing with capture groups for 1.2.3.4 and 5.14.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!