Skip to content

panic: nil type assertion in CreateTestResult when service is not registered #454

@Syedowais312

Description

@Syedowais312

Describe the bug

Bug Report

Description

Running microcks test against a service that isn't registered in Microcks
causes a panic instead of a clean, user-facing error message.

Steps to Reproduce

./microcks test 'NonExistent API:1.0.0' http://localhost:8585 OPEN_API_SCHEMA \
  --microcksURL=http://localhost:8585/api/ \
  --waitFor=5sec

Expected behavior

A clear error message like:

Image

Actual behavior

Image

How to Reproduce?

No response

Microcks version or git rev

No response

Install method (docker-compose, helm chart, operator, docker-desktop extension,...)

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions