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
TEAM Engine REST interface creates sessions which might run to a maximum #573
Describe the bug
TEAM Engine REST interface creates session files in ${USER}/rest/ folder.
The naming is limited to the range of s0000 to s9999.
After the upper limit is reached, tests executed via REST interface might fail (HTTP status code of execution is 500).
To Reproduce
Steps to reproduce the behavior:
Set up TEAM Engine with user which contains sessions in the range of s0000 to s9999 in rest/ folder.
Execute test run via REST interface (also try parallel runs of multiple test suites).
Test run exits with HTTP status code 500.
Beware, the error is not reproducible with all test suites. I was able to reproduce it with ets-wmts10, ets-wcs20, ets-wms13, and ets-wms11.
Expected behavior
The unexpected error does not occur anymore (HTTP status code 500).
Possible solutions:
Engine clears rest folder automatically.
User or administrator is informed.
Additional context
The problem might also occur with sessions created via Web Browser Interface (folder ${USER}/).
Describe the bug TEAM Engine REST interface creates session files in ${USER}/rest/ folder. The naming is limited to the range of s0000 to s9999. After the upper limit is reached, tests executed via REST interface might fail (HTTP status code of execution is 500).
To Reproduce Steps to reproduce the behavior:
Expected behavior The unexpected error does not occur anymore (HTTP status code 500). Possible solutions:
Additional context The problem might also occur with sessions created via Web Browser Interface (folder ${USER}/).