Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
252 views
in Technique[技术] by (71.8m points)

.net - FiddlerCore + autoresponder?

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Answered in the forums: http://groups.google.com/group/httpfiddler/browse_thread/thread/8075b029d3b66720

While your application can use FiddlerCore to return responses of your choosing, the current public FiddlerCore bits don't have the ability to read .SAZ files. Fiddler depends on Xceed's Zip libraries for opening SAZ files, but those libraries are not free (MS itself has a site license, which is how Fiddler itself may use them).

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...