Information:

Environment

  • Synthetic Classic
  • Windows Recorder
Symptoms

  • A script that uses manual object downloads to dynamically download/post data
Solution

  • This must be done in the control window or the replyHandler
  • We are able to push items onto the HTTP Action request list just like array. All we need to do is use the format below:
 

Depending on whether you are using a GET or a POST, the parameters should look like this. Do not include the </> symbols in the parameter field above:

    • {"method": "GET", "headers": [], "url": "URL"}
    • {"method": "POST", "headers": [], "url": "URL", "body": "BODY"}

The code below is an example used in the replyHandler:

 

 

 

 

  • No labels