I've been running into some unexpected and strangely consistent HTTP/1.1 504 Fiddler - Receive Failure, and when looking into the response I see a the X-ServerSocket value to be two values:
X-SERVERSOCKET: REUSE ServerPipe#1321REUSE ServerPipe#384*NEW*
This would seem to imply that the two server sockets were used for the connection, this seems bizarre. Are there conditions where this should happen?
Hi folks,
I am pretty much new to fiddler. I heard that I can capture custom requests from fiddler so that I can use them in my performance testing tool Load Runner. Is there any settings required in order to generate custom requests?
ex: let's say I am hitting at "http://www.google.com" , so for this, the request which I am getting should be in Custom Request form. something like this..
web_custom_request("allocate",
"URL=https://www.google.com",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=application/json",
"Mode=HTML",
"EncType=application/json; charset=utf-8",
"Body=
Last);
Please do not hesitate to reach me if any thing is missing.
Thanks in advance,
Kantu
I am currently using the below script in custom rules to highlight the session green and put "found" into the custom column, if the word "hello" is found in the session.
What I am trying to workout now, is how can I adjust this to display a count of "hello" into the custom column?
Script:
if (oSession.utilFindInResponse("hello", false)>-1 && oSession.utilFindInResponse("startMap", false)>-1){
oSession["ui-color"] = "green"
oSession["ui-customcolumn"]="found"
Thanks
I am working in a ui project which had a dataservice in a public server. I need to redirect the service calls only to remote . like
http://localhost/project/service/user to http://192.168.3.250:8080/project/service/user
http://localhost/project/service/edit to http://192.168.3.250:8080/project/service/edit
I need to replace the part of the uri and get the response from the remote server.
Hello,
I am new to fiddler. I don't know yet how it works. I followed few online videos but those are not very helpful in my case.
I would like to edit a website javascript. I tried firebug but the js it not appearing to be editable in firebug.
I know that the website only uses client side validation by using javascript.
I would like to edit but but i dont know how i can edit it by using the fiddler.
Anyone can help me please?
Currently I have Fiddler's Host Remapping feature configured like so:
127.0.0.1:10092 *WebsiteA.com127.0.0.1:10092 *WebsiteA.de127.0.0.1:10092 *WebsiteA.es127.0.0.1:10092 *WebsiteA.co.uk127.0.0.1:10092 *WebsiteA.fr127.0.0.1:10092 *WebsiteA.it127.0.0.1:10091 *m.WebsiteB.com127.0.0.1:10091 *m.WebsiteB.com.au127.0.0.1:10091 *m.WebsiteB.de127.0.0.1:10091 *m.WebsiteB.es127.0.0.1:10091 *m.WebsiteB.co.uk127.0.0.1:10091 *m.WebsiteB.fr127.0.0.1:10091 *m.WebsiteB.it 127.0.0.1:10093 *WebsiteB.com127.0.0.1:10093 *WebsiteB.com.au127.0.0.1:10093 *WebsiteB.de127.0.0.1:10093 *WebsiteB.es127.0.0.1:10093 *WebsiteB.co.uk127.0.0.1:10093 *WebsiteB.fr127.0.0.1:10093 *WebsiteB.itHow can I use a wildcard for the Top Level Domain?
I tried to use the code below in the Fiddler Rules script's OnBeforeRequest() but am not having success. How can this be done?
if (oSession.host.Contains('.websiteB.')) { //oSession.host='127.0.0.1'; oSession.m_hostIP= '127.0.0.1'; oSession.port=10091; // MessageBox.Show(oSession); }
Hi Eric,
1) congrats on your incredible and marvelous Fiddler, its really awesome, and helps us A LOT !
2) i couldnt find the answer to my question in the forums and/or other sources - so if i was just too blind to find it, please just direct me there. And i know the thing ill describe is not the standard usage of Fiddler (i also often use it for more mainstream purposes, but i thought to try it for this, and it works like a charm!)
3) my situation: i have to test a server with certain requests, and put it under a certain average but not uniform load. for that i first captured and saved some specific request/response pairs (some of them json, some not) using fiddler (v4.5.1.2, on Win7sp1/Ultimate/x64/en-us)
then i slapped together a quick fiddlerscript which does the following: prompt user for a loopcount, and a minimum and maximum delay. then, 'loopcount times', a for-loop replays the selected sessions (using random agentstrings from a list of mine), then waits for a random delay (between min & max), rinse, repeat.. i even added code to allow for multiple selected sessions at the same time, which lets the user enter a probability distribution between the multiple session, which it then uses for the replay, stuff like that.
4) my question: this works like a charm to create the required random/average load, depending on the parameters i give the script on start. BUT: i cant see a way to STOP the executing script in fiddler forcefully, before the loop ends naturally. Only way i see now is to close the fiddler application itself; then additionally i have to kill fiddler.exe (which still runs the script in the background and keeps throwing the requests from the loop). then i have to restart fiddler, reload all beloved settings (btw, is there a way for example to start with the Composer 'teared off' in separate window by default..?) and all required sessions.
This 'total kill' procedure is quite tedious every time i have to change some setting. normally i need request-loopcounts around 1000-5000x, because i need to have this load for some time to allow me the tests on my server..
Is there an intended method of stopping an executing fiddlerscript? i went so far as thinking about out-of-channel stuff/semaphores like adding code in the loop to query for existence of a specific file, and then break the loop when found (allowing me to stop script loop execution by renaming an external 'kill-file')... but this is very awkward - any other ideas or methods?
And again: really, thank you for Fiddler, its a godsend, an incredibly great software helping us developers out !!
Basically, in the code for
Fiddler's HTTPS decryption feature also offers basic support for intercepting requests that require client certificates and responding with a client certificate from the machine running Fiddler.Selection of Client CertificateIf a .CER file has been specified for a given session as follows:
oSession["https-Client-Certificate"] = "C:\\test\\someCert.cer";
...then Fiddler will simply use that certificate for the current session.
What goes in place of https-Client-Certificate is it the host or the URL or is it something entirely different?
I'm trying to use a client cert to get around a cert pinning issue and I want to know I'm coding it right before I admit defeat.
Thanks in advance,
Duane