From 85dc116433897c84735e89aaaa3f7ce79e4f4b2e Mon Sep 17 00:00:00 2001 From: Madalin Ilie Date: Fri, 8 Nov 2024 08:33:12 +0200 Subject: [PATCH] chore: Add number of fuzzed fields instead of cached payloads when cats starts --- src/main/java/com/endava/cats/command/CatsCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/endava/cats/command/CatsCommand.java b/src/main/java/com/endava/cats/command/CatsCommand.java index d15bb43e..d0b18d6c 100644 --- a/src/main/java/com/endava/cats/command/CatsCommand.java +++ b/src/main/java/com/endava/cats/command/CatsCommand.java @@ -357,11 +357,11 @@ private void printConfiguration(OpenAPI openAPI) { ansi().fg(Ansi.Color.BLUE).a(processingArguments.isUsePropertyExamples()).reset().bold(), ansi().fg(Ansi.Color.BLUE).a(processingArguments.isUseResponseBodyExamples()).reset().bold(), ansi().fg(Ansi.Color.BLUE).a(processingArguments.isUseDefaults()).reset().bold()); - logger.config(ansi().bold().a("selfReferenceDepth {}, largeStringsSize {}, randomHeadersNumber {}, cachePayloads {}, limitXxxOfCombinations {}").reset().toString(), + logger.config(ansi().bold().a("selfReferenceDepth {}, largeStringsSize {}, randomHeadersNumber {}, limitFuzzedFields {}, limitXxxOfCombinations {}").reset().toString(), ansi().fg(Ansi.Color.BLUE).a(processingArguments.getSelfReferenceDepth()).reset().bold(), ansi().fg(Ansi.Color.BLUE).a(processingArguments.getLargeStringsSize()).reset().bold(), ansi().fg(Ansi.Color.BLUE).a(processingArguments.getRandomHeadersNumber()).reset().bold(), - ansi().fg(Ansi.Color.BLUE).a(processingArguments.isCachePayloads()).reset().bold(), + ansi().fg(Ansi.Color.BLUE).a(processingArguments.getLimitNumberOfFields()).reset().bold(), ansi().fg(Ansi.Color.BLUE).a(processingArguments.getLimitXxxOfCombinations()).reset().bold()); logger.config(ansi().bold().a("How the service handles whitespaces and random unicodes: edgeSpacesStrategy {}, sanitizationStrategy {}").reset().toString(), ansi().fg(Ansi.Color.BLUE).a(processingArguments.getEdgeSpacesStrategy()).reset().bold(),