Evaluating for automated Testing

1 Answer 91 Views
Fiddler Classic Fiddler Everywhere
Martyn Craig
Top achievements
Rank 1
Martyn Craig asked on 02 Jul 2024, 11:15 AM | edited on 02 Jul 2024, 11:17 AM

Hi,

I'm currently evaluating your product.

We have a complex WebApi with which I've written a replacement for.  We don't currently have automated tests and they are expensive to develop due to the size of the API and our data.  I was hoping to use Fiddler as a web proxy to record requests manually initiated from use of the app against the live WebApi *version* such that we can then replay the requests and validate results against the new version that we are testing.  Effectively I'm trying to make cheap automated testing.  This would be our main use for this product.

I tried following this guide which indicates that this is possible with *Fiddler Everywhere*...
How to: Test Your API with Fiddler (telerik.com)

The document is possibly stale because I cant find this APITest tab on Fiddler Everywhere?

I did have some success against "Fiddler Classic" although I'm not sure this is entirely fit for purpose.
Our validation rules will require comparing JSON fields which are not necessarily in the same case or order.  The validators for Fiddler Classic in this context are not sufficient for this behaviour.

How do I achieve this please?  

Thanks.

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 02 Jul 2024, 11:34 AM

Hello Martyn,

 

There is no APITest tab in Fiddler Everywhere (it is available in Fiddler Classic only). However, there is an option to create automatic replays of selected sessions through the Replay option

https://docs.telerik.com/fiddler-everywhere/modify-and-filter-traffic/replaying-traffic 

You can also combine the replay options with the rules tab. For example, you can select one or multiple targeted sessions and use the "Add Rules" option.

Then make the needed modifications in the desired sessions (if required).

Finally, you can replay the sessions (once or repeatedly through the replay options) or directly re-issue the request to the targeted endpoint through the client application.

 

Regards,
Nick Iliev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Martyn Craig
Top achievements
Rank 1
commented on 02 Jul 2024, 01:02 PM

Thanks Nick.

Am I correct in thinking that no validation is done against responses replayed through Fiddler Everywhere?
Is there anyway to add validation?
Martyn Craig
Top achievements
Rank 1
commented on 02 Jul 2024, 01:09 PM

Would a better option for my use case be to use Fiddler classic and write a custom validator script?
Nick Iliev
Telerik team
commented on 03 Jul 2024, 05:48 AM

Hey Martyn,

At the moment, Fiddler Everywhere does not support the scripting option (and validation scripts that could be used alongside it). However, it is part of our plans for future versions. Currently, we are focusing on other features, so I cannot provide a specific release date for this functionality.

Tags
Fiddler Classic Fiddler Everywhere
Asked by
Martyn Craig
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or