# Dynatrace Synthetic pre-post scripting

**URL:** <https://community.dynatrace.com/t/dynatrace-synthetic-pre-post-scripting/21225>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [January 18, 2021, 8:54pm UTC](https://community.dynatrace.com/t/dynatrace-synthetic-pre-post-scripting/21225 "2021-01-18T20:54:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [January 21, 2021, 8:43am UTC](https://community.dynatrace.com/t/dynatrace-synthetic-pre-post-scripting/21225/2 "2021-01-21T08:43:12Z")

</div>

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:

> **[Pre- and post-execution scripts for HTTP monitors in Classic](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/http-monitors-classic/pre-and-post-scripting-for-http-monitors-classic)**
>
> Learn how to apply pre and post scripts to your requests

Sebastian

---

_[View the full topic](https://community.dynatrace.com/t/dynatrace-synthetic-pre-post-scripting/21225)._
