title: How do you copy response values to the clipboard in Postman javascript tests?
body: <p>I've recently found out about the ability in postman to write pre-request and test scripts using javascript.</p>
  <p>I'm trying to figure out if it's possible to copy a value to the clipboard during a test in conjunction with setting the postman environment variable.</p>
  <p>For example:</p>
  <pre class="lang-js prettyprint-override"><code>var jsonData = JSON.parse(responseBody);
  postman.setEnvironmentVariable (&quot;Action ID&quot;, jsonData.ActionId);
  // set jsonData.ActionId to clipboard
  </code></pre>