This is a migrated thread and some comments may be shown as answers.

AutoResponder Rules Loaded Dinamicaly

2 Answers 138 Views
Fiddler Everywhere
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Francesco
Top achievements
Rank 1
Francesco asked on 29 Mar 2019, 11:50 AM

Hi everybody,
I was wondering whether if it was a way to inject the farx file during the loading of the program for test-automation purposes.

Is that possible?

Could it be possible using the command line to do that ?

2 Answers, 1 is accepted

Sort by
0
Simeon
Telerik team
answered on 29 Mar 2019, 03:26 PM
Hi Francesco,

The Fiddler AutoResponder Xml (.farx) files have the same structure as the %USERPROFILE%\Documents\Fiddler2\AutoResponder.xml file. During the loading, Fiddler reads the AutoResponder.xml file. This means that you can overwrite it with any .farx file you wish and Fiddler will use it.

Another option is to use the OnBoot method in the FiddlerScript:
public static void OnBoot()
{
    FiddlerApplication.oAutoResponder.LoadRules(@"path\to\file.farx", true);
}


Regards,
Simeon
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Francesco
Top achievements
Rank 1
answered on 29 Mar 2019, 04:07 PM

Thank you Simeon!

That was very helpful!

Tags
Fiddler Everywhere
Asked by
Francesco
Top achievements
Rank 1
Answers by
Simeon
Telerik team
Francesco
Top achievements
Rank 1
Share this question
or