Troubleshooting¶
No tests generated¶
- Check your OpenAPI spec contains operations with parameters and/or request bodies.
- Check ignore filters are not excluding everything:
testGenerationSettings.ignoreTestCases,ignoreSchemaValidationRules,ignoreAuthValidationRules.
Budget exceeded¶
Symptoms often include BudgetExceededException or partial generation with many errors.
Try increasing:
maxSchemaDepth/maxMergedSchemaDepthmaxSchemaCombinationsmaxTestCasesPerOperation
Or skip problematic operations via ignore config.
Output not written when errors occur¶
By default, artifacts are written only on success.
- CLI: use
--always-write-test - YAML/Gradle: set
alwaysWriteTests: true/alwaysWriteTests.set(true)
CLI / npm issues¶
Force JAR execution¶
If you experience issues with the native binary, use --prefer-jar to bypass it and run the JAR directly:
This is useful when:
- Native binary crashes or behaves unexpectedly
- You need consistent behavior across different environments
- Debugging platform-specific issues
Requires Java 21+.
Native binary not working on Linux¶
If the CLI outputs errors about missing GLIBC_X.XX symbols or falls back to JAR unexpectedly:
Linux x64: The binary is statically linked and should work on any Linux distribution.
Linux ARM64: The binary requires glibc (not musl). If your glibc version is too old, the CLI automatically falls back to JAR:
Warning: Native binary is not compatible with this system (likely glibc version mismatch).
Falling back to JAR-based CLI (requires Java 21+)...
Solutions:
- Install Java 21+ for the JAR fallback to work
- Upgrade your distribution to get a newer glibc
- Use Docker with a compatible base image
Java not found¶
The JAR fallback requires Java 21+:
# Check Java version
java -version
# Install Java 21
# Ubuntu/Debian
sudo apt install openjdk-21-jre
# macOS (Homebrew)
brew install openjdk@21
# Windows (Chocolatey)
choco install temurin21
Alpine Linux / musl¶
Native binaries require glibc. On musl-based systems (Alpine), install Java 21+:
See npm Installation - Troubleshooting for more details.