extent-framework / klov

Report server for ExtentReports
http://klov.herokuapp.com
38 stars 31 forks source link

KLOV UI unable to load some test history #78

Open ammmze opened 3 years ago

ammmze commented 3 years ago

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
prabhudatta22 commented 3 years ago

Same issue with me as well. Not able to see step-wise report for a test case.