This is a migrated thread and some comments may be shown as answers.

Help needed: how to capture custom requests

5 Answers 583 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
mani kumar
Top achievements
Rank 1
mani kumar asked on 29 Jun 2015, 02:44 PM

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

Sort by
0
Eric Lawrence
Telerik team
answered on 29 Jun 2015, 04:13 PM
Hello, Mani-- It's not entirely clear what you're asking. I think what you're asking is: "How do I use requests that Fiddler captured in LoadRunner?" Is that right?

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
mani kumar
Top achievements
Rank 1
answered on 29 Jun 2015, 04:38 PM

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

0
Eric Lawrence
Telerik team
answered on 29 Jun 2015, 04:55 PM
"like the way I see the SOAP requests and XML requests, I should be a web_custom_request"

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
mani kumar
Top achievements
Rank 1
answered on 30 Jun 2015, 12:51 PM

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

 

 

0
Eric Lawrence
Telerik team
answered on 30 Jun 2015, 09:32 PM
Hi, 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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Fiddler Classic
Asked by
mani kumar
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
mani kumar
Top achievements
Rank 1
Share this question
or