How to use and debug Pre request scripts #1492
-
Hi, I currently try to use the Pre Request Editor. So far I have the following:
But when I then look into the environment section I cannot see any variable 'foo' anymore. If with 'environment' it is meant the environment before you send it, how can I debug and have a look if that works? Is there any console I can activate? Edit: I am using the mac osx rich client version with version 3.2.2 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can use all regular JavaScript APIs within the scripts. So you can do |
Beta Was this translation helpful? Give feedback.
You can use all regular JavaScript APIs within the scripts. So you can do
alert(altair.helpers.getEnvironment('foo'))
orconsole.log(altair.helpers.getEnvironment('foo'))
to check the values.