I am trying to make a script to change a request before it is sent to my server...
This is in before request
if (oSession.uriContains("mywebsite"))
{
oSession.utilReplaceInRequest("itemID", "6969");
oSession.utilReplaceInRequest("itemid", "6969");
}
In this case fiddler is changing both names containing itemID or itemid to the value 6969
what I am trying to do is not change the name, but the value associated with that name.
For Example I want it to look like this in the body:
itemID 6969
or
itemid 6969
But fiddler is replacing the name instead of the value associated with that name in which case this is the output i get
6969 (random value)
6969 (random value)
Hope this makes sense would appreciate any help thanks!