I want to save a value in a variable and use it in following requests. How can I save data in a persistent way?
Asked
Active
Viewed 25 times
0
-
I would assume this is possible writing custom FidderScript. There you can save data to a variable or to a file. https://www.telerik.com/blogs/understanding-fiddlerscript – Robert Mar 08 '23 at 14:18
1 Answers
0
I solved my problem saving my data in a file and than I read it in the next request:
var fso = new ActiveXObject("Scripting.FileSystemObject"),
thefile=fso.CreateTextFile("C:\\temp\\bogusToken.txt",true);
thefile.Write(token);
thefile.Close();
...
my_Token = File.ReadAllText("C:\\temp\\bogusToken.txt");

Duccio Fabbri
- 998
- 1
- 10
- 21