opengeospatial / teamengine

TEAM Engine (Test, Evaluation, And Measurement Engine) is an engine for testing web services and other resources written in JAVA. It executes test scripts written in Compliance Test Language (CTL), TestNG and other languages. It is lightweight and easy to run as a command line or to setup as a service. It can be used to test any type of service or encoding. It is also the official tool used by the Open Geospatial Consortium (OGC) for compliance testing.
Apache License 2.0
45 stars 41 forks source link

Download log Files broken? #486

Closed jerstlouis closed 2 years ago

jerstlouis commented 2 years ago

Describe the bug Download log Files results in a blank page now

To Reproduce Try to Download log Files from a completed OGC API - Features test e.g. https://cite.opengeospatial.org/teamengine/downloadLog?session=s0001 in this case

Expected behavior Downloading the log files.

dstenger commented 2 years ago

Thank you for reporting. I am able to reproduce your problem. We will do further analysis.

dstenger commented 2 years ago

@jerstlouis Can you please check if the problem is still occurring? It might have been related to problems with the environment back then which are solved by now.

jerstlouis commented 2 years ago

@dstenger This issue is still happening.

Clicking https://cite.opengeospatial.org/te2/viewSessionLog.jsp?session=s0004 after being logged in returns a blank file.

dstenger commented 2 years ago

@jerstlouis Thank you for reporting back. Is this error occurring with all your sessions? Did you also try out other test suites than OGC API Features tests?

jerstlouis commented 2 years ago

@dstenger Sorry I corrected the link in my last comment, I meant the original link in the issue still returns a blank file. I do get this problem with all sessions (e.g. https://cite.opengeospatial.org/teamengine/downloadLog?session=s0006) even though that session does work. I don't know if such URLs are still valid now?

However I was now able to Click the "Download log Files" for my session 6 from the viewOldSessionLog URL clicking "detailed old test report". I did not try other test suites.

https://cite.opengeospatial.org/te2/viewOldSessionLog.jsp?session=s0006 also returns a 500 when not logged in instead of a 401 or 404 as it should:

HTTP Status 500 - java.lang.NullPointerException

ghobona commented 2 years ago

@dstenger I was able to replicate the 500 error issue on te2. Attempting to access the viewOldSessionLog page returns an HTTP 500 error. This happens on all my sessions too. See the attached screenshot for the error message.

Screenshot 2022-02-15 at 08 02 35

ghobona commented 2 years ago

@jerstlouis Today (2022-02-21) we confirmed that the Download Log Files mechanism works. May we close this GitHub issue?

The viewOldSessionLog problems will be reported as separate issues.

jerstlouis commented 2 years ago

Thank you @ghobona and @dstenger . Closing the issue.

dstenger commented 2 years ago

I created two new issues as announced by @ghobona: