Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
New Member.

Error in running CLI and XML file as input

When I try to run a Scenario(.lrs Extension) file I am getting Success, but when I try to run a test using XML file type I am Getting the Following errors. Please Help...

Below are my commands and screenshot of my problems.

"""C:\Program Files (x86)\Micro Focus\LoadRunner\bin>CLIControllerApp.exe -InputFile C:\Users\kiit\Desktop\CLI.xml -CollateAndAnalyze -ResultName C:\Users\kiit\Desktop\ControllerResultPath\Res_01
Controller is starting...
Connecting to server...
ConnectToServer: SUCCESS
CollateAndAnalyze Activated!

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at CLIControllerApp.Group.get_RuntimeSettings()
at CLIControllerApp.Models.ModelExtensions.ToLTOMGroup(Group group, List`1 hosts)
at CLIControllerApp.CLIController.AddGroups(WCFProxy proxy, CliRun inputFileModel)
at CLIControllerApp.CLIController.ConfigureProxyFromInputFile(WCFProxy proxy, ArgumentsDetails details)
at CLIControllerApp.CLIController.Main(String[] args)"""lr.JPG


Thank You in Advance

1 Reply
Micro Focus Expert
Micro Focus Expert

Re: Error in running CLI and XML file as input


Please attach the XML file that you use.


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.