Information: Paths are relative to the NeoLoad 7.8 directory.
The taskdef definition must occur only once in each ANT build file. It can appear anywhere on the top level, below the project element. When the neoload-ant-X.Y.Z.jar archive is moved to another location, it is necessary to specify the location of the NeoLoad command line executable using the ControllerExecutable parameter.
The taskdef element includes the following parameters:
Mandatory Specifies the project file (*.nlp).
Mandatory Names the scenario.
Optional Describes the test.
Optional Shows the graphical interface during the test, when set to true, . The default value is false.
Optional Generates reports at the end of the test report. NeoLoad outputs the report in the format specified by the extension (.html, .pdf, .xml)
Optional Generates comparison reports at the end of the test (list of report files separated with comas). NeoLoad configures the report format to match the extension of the specified file (.html, .pdf, .xml). The reference report is filled in through the baseTest attribute.
Optional Specifies the name of the reference test on generating the comparison report.
Optional Specifies the label of the reference test on generating the comparison report. The default value is Base.
Optional Specifies the current test on generating the comparison report. The default value is Last.
Optional Defines the path to the NeoLoad executable (NeoLoad 7.8/bin/NeoLoadCmd.exe). This parameter is optional with the neoload-ant-X.Y.Z.jar archive from the NeoLoad installation directory. The parameter is mandatory when the archive to another directory is moved.
Optional Activates the machines to monitor during the test (names list of the machines to monitor separated with comas). With this option, only the listed machines are activated.