REST API endpoint security test
Smoke testing
Step 1: include the dependency
Step 2: create the security smoke test
class MyProjectSecuritySmokeIntegrationTest : SecuritySmokeIntegrationTest {
fun myProjectSecuritySmokeIntegrationTest() {
super("com.mycompany.package", setOf(
"GET /api/v1/open/exclude-this-endpoint/because-its-not-secured"
))
}
}Step 3: run the 'security' tests
Last updated