本文介绍了FiddlerCore + 自动回复?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发现了 FiddlerCore(一个用于自动化某些 Fiddler 功能的 .NET API),我想将它与 Fiddler 的自动回复器结合使用,在给定一组预定义的请求的情况下运行一些自动化测试-->响应会话(这是我相信自动回复是如何工作的).

I have just discovered FiddlerCore (a .NET API to automate some Fiddler functionality) and I would like to use this in combination with Fiddler's autoresponder to run some automated testing given a set of predefined request-->response sessions (which is how autoresponder works, I believe).

我不知道如何使用 FiddlerCore 进行设置.有人知道怎么做吗?

I cannot figure out how to set this up with FiddlerCore. Does anyone know how to do this?

推荐答案

在论坛中回答:http://groups.google.com/group/httpfiddler/browse_thread/thread/8075b029d3b66720

虽然您的应用程序可以使用 FiddlerCore 返回您选择的响应,当前公共 FiddlerCore 位不能够读取 .SAZ 文件.Fiddler 依赖于 Xceed 的 Zip用于打开 SAZ 文件的库,但这些库不是免费的(MS本身有一个站点许可证,这就是 Fiddler 本身可以使用的方式他们).

While your application can use FiddlerCore to returnresponses of your choosing, the current public FiddlerCore bits don'thave the ability to read .SAZ files. Fiddler depends on Xceed's Ziplibraries for opening SAZ files, but those libraries are not free (MSitself has a site license, which is how Fiddler itself may usethem).

未来版本的 FiddlerCore 可能会使用其中一个开源CodePlex 中的 ZIP 库,此时 FiddlerCore 将能够打开和处理 SAZ 文件,但您仍然需要编写实际将给定请求与先前加载的请求匹配的代码自己回应——AutoResponder"代码是 Fiddler 的一部分,而不是提琴手核心.

A future version of FiddlerCore will likely use one of the opensourceZIP libraries from CodePlex, at which point FiddlerCore will be ableto open and process a SAZ File, but you'll still need to write thecode that actually matches a given request to a previously loadedresponse yourself-- the "AutoResponder" code is a part of Fiddler, notFiddlerCore.

这篇关于FiddlerCore + 自动回复?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 15:50