Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to Profile > Project Mapping > Rules

  2. Press Create rule to create a new rule

  3. Once created, press the Edit (Cog Icon) Button.

  4. Once in the Rule configuration press the Edit button to configure a Rule.

  5. Now Press Script Configuration

  6. Once press you will now see the configuration for the Script Rule.

    Image RemovedImage Added
  7. Once the Script has been configured, you will then need to go to Rule Configuration and press Active as this will result in the Rule being enabled.

    Image RemovedImage Added

Testing Script Rule

...

  1. Success or Error - This is used to define if the Script was able to be processed correctly or if there was an error with the script. This section also defines if the Test Case was a match or not.

  2. Script Output - This is where the Print values are output, allowing for additional information to be displayed. e.g. using print("Sender is correct: " + message.getHeader('from'));

    Image RemovedImage Added
  3. Script Evaluation Time Metrics - Used to identify how long it took to evaluate the script against the selected Test Case.

...