Capture traffic of a Jenkins job

2 Answers 45 Views
Extensions and Customization Fiddler Classic Fiddler Everywhere
Abby
Top achievements
Rank 1
Abby asked on 15 Nov 2023, 01:40 AM

I have a job which executes few webservices. When executed manually I keep the Fiddler app on and it captures the traffic.

But if I am scheduling the aforesaid job via Jenkins then is it feasible to capture the traffic? If yes then how?

2 Answers, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 15 Nov 2023, 11:45 AM

Hey Abby,

 

It's typical for Jenkins jobs to run on dedicated machines that can serve as a Fiddler host. Therefore, this shouldn't be an issue in most cases. However, if you have a more specific scenario or think we might be missing something, please let us know.

 

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.

Abby
Top achievements
Rank 1
commented on 16 Nov 2023, 09:51 PM

Hi Nick, Let me explain the scenario - I have my code on git.

I have a Jenkins job which is scheduled to run during off peak hours.

This Jenkins job will download the code from git and execute the code from the Jenkins agent node. But all this happens as a background command line scheduled job.

During this execution step, I want to capture the traffic along with the requests and responses and finally save them as a .saz file on the jenkins node. Is this feasible? Are there any such or similar use cases?

0
Nick Iliev
Telerik team
answered on 17 Nov 2023, 09:29 AM

Hey Abby,

 

The Fiddler Classic application is designed as a user interface tool and is not intended to be used as a service for automation or scheduling. However, you can create your own Command Line Interface (CLI) tool using the FiddlerCore library, which will require custom implementation. By doing so, you will be able to create a fully customizable service that can be run on demand and used for auto-generating SAZ files.

Learn more about FiddlerCore through the following sources:

https://www.telerik.com/fiddlercore 

https://docs.telerik.com/fiddlercore/introduction 

 

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.

Tags
Extensions and Customization Fiddler Classic Fiddler Everywhere
Asked by
Abby
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or