Test mode offers basic debugging functionality where you can test the results of a script by entering values to test as input to the script.
Be aware that depending on the contents of a script, sometimes a script can fail when testing but still run successfully when deployed and executed on an agent. This may happen if, for example, you do not have a default value set for a global variable that obtains its value when running.
The script used for testing has a size limitation of 51200 bytes. This limit does not apply beyond testing.
In Jitterbit Scripts, you can use the function
Running a Test
Within a script, use the toggle in the top right to select Test mode:
Then click the Test button to run a test:
When running a test, this information is displayed in the table:
When a test is started or resumed, any new values are sent back to the script engine.
You can walk through the debugging process using the controls along the top of the table:
You also have the option to toggle off breakpoints. Select the checkbox to Disable Breakpoint if you want the test to ignore all calls to
To search for a particular variable by name, use the search box to enter a keyword or multiple keywords separated by commas. Variables that have any part of the keywords in the variable name are returned.
To reset all values, click the Reset Values link below the table.
Finally, the Result is shown in second table that appears below the first:
In addition, any error messages incurred during the testing are also displayed.