Fiddlercore replace request NOT responce

4 posts, 0 answers
  1. asia
    asia avatar
    13 posts
    Member since:
    Sep 2014

    Posted 17 Aug 2017 Link to this post

    So i have the below request

     

    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="default" SOAP-ENV:encodingStyle="default">
    <SOAP-ENV:Body>
    <login user="3602e743d1ba76fb" password="888888" terminal_id="3602e743d1ba76fb" terminal_type="1" mac="08:00:27:db:56:ce" netmode="4" soft_ver="000 pad_1.2.09 eng..20170714.181621" hard_ver="376 KTU84P" epg="epo" token="SKeXAEmnvgBKp74A" />
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

     

    How can i replace parts of this in c# such as 3602e743d1ba76fb with another number ?

    is this correct ? it doesn't seem to work

     

      Fiddler.FiddlerApplication.BeforeRequest += delegate(Fiddler.Session oS)
                {

                    oS.bBufferResponse = true;
                    oS.utilDecodeRequest();
                    oS.utilReplaceInRequest("3602e743d1ba76fb", "4c1d80a8f35e6a4d");   //userid
                    oS.utilReplaceInRequest("08:00:27:db:56:ce", "38:1d:d9:9a:51:a2");   //mac


                };

     

     


  2. asia
    asia avatar
    13 posts
    Member since:
    Sep 2014

    Posted 23 Aug 2017 in reply to asia Link to this post

    nevermind..
  3. Alexander
    Admin
    Alexander avatar
    336 posts

    Posted 23 Aug 2017 Link to this post

    Hello,

    This seems to be right and should work. Where are you using this code? In FiddlerScript or you are using FiddlerCore?

    Regards,
    Alexander
    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
  4. asia
    asia avatar
    13 posts
    Member since:
    Sep 2014

    Posted 23 Aug 2017 in reply to Alexander Link to this post

    fiddlercore, let me try again please see my other post 

     

    ""fiddlercore c# save response to file - create new request"" its urgent !

Back to Top