Skip to main content
The test.sh script verifies that the SCANOSS Engine, Knowledge Base, and API are all functioning correctly after installation.
Before running this script, ensure the resources/ directory has read permissions. If not, run: bash chmod -R +r resources/

Running the Script

./test.sh
Once executed, you will be presented with the following menu:
Starting verification script for SCANOSS...

Select options from the menu to verify different aspects of your environment
----------------------------------------------------------------------------
1) Verify scanning feature
2) Check API service status
3) Check API service metrics
4) Quit
Verify scanning feature - the API returns a JSON response containing one or more component matches for the test file in the resources/ directory. Check API service status - the API returns:
{ "alive": true }
Check API service metrics - the API returns a JSON response containing request counts, performed scans, and related metrics. If all three checks return the expected output, your on-premise SCANOSS installation is complete and ready to use.