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
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.
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: