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
5 Answers, 1 is accepted
As far as I know, LoadRunner has the ability to load a Fiddler traffic capture (SAZ file). Simply capture the traffic with Fiddler (from whatever browser or client generated the traffic) and then save it to a SAZ file.
Telerik Test Studio also has the ability to import SAZ files for Load Testing purposes.
Regards,
Eric Lawrence
Telerik
Hi Eric,
I beg your pardon for not putting my question clearly. To your answer, well that is not what I am expecting. I am putting in steps clearly.
1.) Opened application
2.) Opened fiddler
3.) There is a traffic on left hand side.
4.) now when I click on my actual request, on the right hand side like the way I see the SOAP requests and XML requests, I should be a web_custom_request
I know I am poor at using right terminology. Apologies for that.
Thanks,
Kantu
The syntax you've shown isn't HTTP; it appears to be some sort of scripting language used to generate HTTP traffic. The scripting content isn't sent on the network, it's kept on the client.
Fiddler allows you to capture, modify, and store HTTP traffic.
If you want to create a script that generates HTTP traffic based on what Fiddler captured, you can do so in many ways. As I have shown in the link I provided previously, the Load Runner tool itself natively has that ability-- you give it a Fiddler SAZ file, and it will generate a script for you.
Regards,
Eric Lawrence
Telerik
Hi Eric,
I got your point. Went through the link you shared in first reply. Captured the traffic and saved session into SAZ file and uploaded to LoadRunner (version 11.52), but it is throwing error called "An error has occured".
Any Loadrunner settings required in regards to this?
And I also tried by invoking Fiddler itself and tried to capture traffic from LoadRunner but I wasn't successfull. I invoked fiddler and openend my application from the browser(IE) fiddler has and tried to capture the traffic.
Help in regards to this appreciated.!!
Thanks in advance,
Mani
Unfortunately, I'm unable to help you with bugs in LoadRunner's software (it made by a competitor of Telerik's and I do not have any access to their product). You may wish to contact their support team and request help.
It is likely that attempting to capture traffic coming from LoadRunner requires manual configuration steps because most load-generation software is configured to ignore the locally-registered system proxy by default for performance reasons.
Regards,
Eric Lawrence
Telerik