Edit environment JSON and submit changes—Paste the JSON representation of the environment settings into your favorite text editor and modify the value of the initial variable.
Below, we're using the Request Editor to execute a PUT call to modify the environment record, placing the updated JSON in the request body.
Modifying initial variables is just one example of how the Runscope API can provide test management and configuration flexibility.
Section 4.9, “My SQL Program Environment Variables”, lists all environment variables that affect My SQL program operation.For example, in the screenshot above we have created a “Dev locally” environment where the variable Web App Url will be replaced by to be used in the second request, you can use test scripts to make your life easier.The test script runs inside a sandbox and Postman provides the postman object to interact with the main Postman context.You can obtain this ID from the dashboard URL while viewing/editing your test.Another way to obtain the ID is with the API using the List Tests method which lists all the tests in a bucket. Fetch the environment JSON object—Pasting the test ID from above, make a GET call to the environments endpoint. Select and copy the environment JSON object into your clipboard in preparation for the next step.4.However, it is always a good idea to use the latest version of Java to ensure you have the latest security fixes and enhancements.