Skip to content

KLOV UI unable to load some test history #78

@ammmze

Description

@ammmze

I've got some tests that have parameters and are named something like RandomTests.testWithParams{USPS_REGULAR,USA}.

When trying to load up that given test history, I get an infinite spinner and a 400 Bad Request from the klov api. The reason for this is that the browser is not url encoding the test name. So it makes a request like:

http://localhost:8064/api/projects/DevNotificationSuite/tests?name=RandomTests.testWithParams{USPS_REGULAR,USA}&size=10&sort=startTime,desc&page=0

But really should be making that request like this

http://localhost:8064/api/projects/DevNotificationSuite/tests?name=RandomTests.testWithParams%7BUSPS_REGULAR%2CUSA%7D&size=10&sort=startTime,desc&page=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions