Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 976 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 976 Bytes

scpi-script-executor

Run your SAP Cloud Platform Integration Groovy scripts on your local machine for easier test and debugging.

Prerequites

  • JDK installed and configured (e.g. SAPMachine)
    Make sure the environment variable JAVA_HOME points to the JDK
  • curl to download dependencies

Setup

  1. Clone/download the repo
  2. Run bootstrap.sh

How to use

  1. Copy-paste your script into script.groovy
  2. Adapt execute.groovy to:
    • Setup the test message
    • Change the log output
    • Add assertions
    • ...
  3. ./run.sh
    The first run downloads additional dependencies (cached for subsequent runs). Be patient 😉

Notes

This project only implements a limited subset of the Scripting API of SCPI. Check the classes in the impl subfolder for details.