Dynatrace Synthetic pre-post scripting

Here you have some info about passing variables. When you set one on request 1, you should be able to use it in request 2:

Sebastian