title: Api Connect GatewayScript, apim is not defined
body: <p>We just installed the API Connect 2018 version on our premises (installed in Openshift) and was trying to follow some examples I found in IBM tutorials. MY problem is that I cannot use Gatewayscript policy at all, since apim seems not to be defined at all.</p>
  
  <p>I am trying a simple:</p>
  
  <pre><code>var req=apim.setvariable('message.body',"hello there!");
  </code></pre>
  
  <p>The exact error I get is: GatewayScript error: GatewayScript processing Error 'ReferenceError: apim is not defined. What am I missing here? Why "apim" seems to be defined in all IBM tutorials but not in our installation?</p>