Looking to understand whether values that fall in the Inspectors -> Webforms tab can be updated without manually “Unlocking for Editing” each session
1 Answer, 1 is accepted
0
Nick Iliev
Telerik team
answered on 28 Mar 2023, 06:17 AM
Hello Andrew,
You could use the AutoResponder to mock different WebForm values through different rules. For example, you can drag and drop a selected session in the AutoResponder tab and quickly create a rule that tests another key-value pair - below is a pretty basic demonstration that changes the clientId value.
Regards,
Nick Iliev
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
(1) I've tested the function in "AutoResponder". However, I am having trouble finding the settings to change the values I need to update (see screenshot fiddler1.png - I am trying to update the values FY20, Sep, and Actual). The dropdown box I get contains the items below, which I do not believe correspond with the values I need to change:
(2) We are hoping to be able to directly change the property (i.e. FY20 / Sep / Actual) of a session and export a set of sessions using different values to simulate various users' operations.
If the option outlined does not work, do you have any other ideas of how we can leverage a single session as a "template", and somehow "import" / update properties in bulk?
Thanks for your help with this and let me know if you need added clarification.
Nick Iliev
Telerik team
commented on 29 Mar 2023, 08:10 AM
The listed options from the screenshot are the predefined actions Fiddler Classic provides. For more complex actions, you can use FiddlerScript and apply your own custom logic (e.g., that modifies the request based on specific criteria) in events like OnBeforeRequest. Learn more about different approaches in this documentation article and in this blog post.
For example, you can access the whole URL of a given session and change specific parts of it
if (oSession.fullUrl.indexOf("value") > -1) {
oSession.fullUrl = oSession.fullUrl.Replace("oldString", "some-new-value");
}
As a side note, you can also try the new Fiddler Everywhere and its Rules tab, which changes how a rule can be created. For example, with Fiddler Everywhere, you could do a rule like this:
Note that Fiddler Everywhere is a different product from Fiddler Classic.