Unknown Service in SOAtest report for tests created from swagger file
I'm seeing "Unknown Service" thing in my SOAtest report for all the tests I made from my Swagger .yaml file. It's showing two things under 'coverable resources" section of the report - my .yml file and "Unknown Service." But the coverage is only happening for the file. I'm using the default User-defined example configuration with "Calculate coverage against service definitions referenced by tests" turned on.
Note: the "Unknown Service" has the exact same list of resources listed as my .yml file, but without any parameters.
Example:
file:///C:testing.yaml has "/addPinToGroup/{key}/{product}/{pin}"
the unknown service has "https://baseurl.com/addPinToGroup///"
Any ideas on where it's picking up this "unknown service," and how can I make it go away from the report?
Answers
-
Are you sending requests to "https://baseurl.com/addPinToGroup///"? Make sure you define non-empty values for those path parameters. Then the request should match what is defined in your OpenAPI/Swagger definition instead of "Unknown Service".
0