Skip to content

Wrong link to test results #589

Open

Description

@astramax57

Describe the bug

I'm using microcks as binary and run testing stage in gitlab CI as follows:
"$CI_PROJECT_DIR/utils/microcks-cli" test
"$api_version"
"$API_ENDPOINT"
OPEN_API_SCHEMA
--microcksURL="$MICROCKS_URL"
--keycloakClientId="$KEYCLOAK_CLIENT_ID"
--keycloakClientSecret="$KEYCLOAK_CLIENT_SECRET"
--insecure-tls
--filteredOperations='["GET /api/v1/version", "GET /api/v1/services"]'
--waitFor=10sec 2>&1 | tee -a microcks-results/test-report.txt

Report file contains link to results in JSON, but link is corrupted: https://microcks.devops.t-argos.ru/api//#/tests/6ad0b96d3739ce4b92d69ea8

test-report.txt

Expected behavior

Correct link is https://microcks.devops.t-argos.ru/api/tests/6ad0b96d3739ce4b92d69ea8 , without //# in the middle.

Actual behavior

No response

How to Reproduce?

No response

Microcks version or git rev

Microcks-CLI 1.0.3

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

binary

Additional information

No response

Activity

  1. lbroudoux commented on Oct 16, 2026

    @lbroudoux
    Member

    Hi @astramax57

    Thanks for reporting this one!

    The link to the executed test was meant to provide quick access to the UI showing the test result. So I think having a # in the URL is correct, as the Angular UI is using this for client-side navigation. I think the problem here is rather tied to the prepended /api prefix that comes from the microcksURL flag, and that should be removed when building the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions