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

How to use Fiddler and imacros with multi-threading

3 Answers 149 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Sergej
Top achievements
Rank 1
Sergej asked on 05 Jul 2018, 10:48 AM

Hi! 

I am a web analyst and not a front-end developer.

I am trying to debug a site's analytics using imacros and Fiddler (I am open to another solutions that can log a traffic and autosave a log). Never done it before.
It is a 1 site that I will run using 5-10 simultaneous firefox profiles under Imacros.

What I cannot understand is how will I differentiate in fiddler which log correspond to which firefox profile since they run simultaneously.

 

VERSION BUILD=11.5.498.2403; Windows 10; Imacros Browser + Firefox Imacros 8.9.7; Firefox 49.0.2

3 Answers, 1 is accepted

Sort by
0
Simeon
Telerik team
answered on 06 Jul 2018, 03:29 PM
Hello Sergej,

Is there any data in the analytics requests which could help you to uniquely identify the tab it originated from (ids, guids, some unique values in the headers or the body, etc.). You could use the FiddlerApplication.Log.LogString or the FiddlerApplication.Log.LogFormat methods in any of the FiddlerScript session handling functions in order to log the site's analytics traffic.

Regards,
Simeon
Progress 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
Sergej
Top achievements
Rank 1
answered on 07 Jul 2018, 11:57 AM

Hello Simeon,

Thank you for a reply.

My current solution is that I save Firefox profile id using iMacros.

Fiddler shows id of a process like firefox:21668 and each FF profile will have its own id. I hope that these ids' are constant for each profile. 
Then if I know which FF profile correspond to which process id in Fiddler I can match them.

 

 

0
Simeon
Telerik team
answered on 13 Jul 2018, 08:09 AM
Hello Sergej,

 I hope that these ids' are constant for each profile. 
The process id is assigned by the operating system on a random basis for each process when it is started.

Then if I know which FF profile correspond to which process id in Fiddler I can match them.
I am not familiar how to obtain the FF profile process id with iMacros but I found out here and here that it is possible with Selenium.

Regards,
Simeon
Progress 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
Windows
Asked by
Sergej
Top achievements
Rank 1
Answers by
Simeon
Telerik team
Sergej
Top achievements
Rank 1
Share this question
or