Manipulate XML with FiddlerScript

2 posts, 0 answers
  1. Pär
    Pär avatar
    3 posts
    Member since:
    Mar 2014

    Posted 17 Sep 2014 Link to this post


    Is there a simple way to manipulate / replace elements in a XML document using FiddlerScript?

    BR Pär 
  2. Eric Lawrence
    Eric Lawrence avatar
    833 posts

    Posted 17 Sep 2014 Link to this post

    FiddlerScript is basically JScript.NET, so you can use any of the .NET Framework's XML classes to manipulate XML content. Alternatively, if the task is simple, you can just use oSession.GetResponseBodyAsString() to get the content as a string and then you can manipulate that string and assign it back using oSession.utilSetResponseBody(sString).

    Eric Lawrence

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top