Endava / cats

CATS is a REST API Fuzzer and negative testing tool for OpenAPI endpoints. CATS automatically generates, runs and reports tests with minimum configuration and no coding effort. Tests are self-healing and do not require maintenance.
Apache License 2.0
1.11k stars 75 forks source link

When multiple values are required for one parameter #54

Closed dglee0307 closed 1 year ago

dglee0307 commented 1 year ago

Hello, I have a question using CATS.

I am testing the REST API. While testing the parameters, the 1:1 matching parameters go well in CATS. 1:N, i.e., when multiple values are required for one parameter, CATS does not seem to recognize it. Do you know the solution to this problem? Is it not recognized when multiple values are required for one parameter in CATS?

Thank you.

en-milie commented 1 year ago

Hi @dglee0307 . Can you please post an example of the expected behaviour?

dglee0307 commented 1 year ago

For example, I understand that the key: value format is required for REST API testing. When I tested it, the key:value in 1:1 format was successful. ex. userId: admin However, if the key:value is in the 1:N format, the test failed. ex. body: value1, value2, value3

Do you happen to know why? Am I not using CATS properly?

en-milie commented 1 year ago

I still miss the context :). Can you please put a concrete example of an OpenAPI spec and how you actually run vs. what you expect to happen?

en-milie commented 1 year ago

Hi @dglee0307. Do you still need help on this one?

dglee0307 commented 1 year ago

No, this problem is solved. Thank you. @en-milie