You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using version 12.9.1 of tcms-api it takes about a second for each server request over https.
Version 12.9 and below are fine.
I haven't tested plain http, but I guess the reason could be SSL certificate checking upon each request.
The text was updated successfully, but these errors were encountered:
FrankSommer-64
changed the title
SSL connections extremely slow
XMLRPC access extremely slow
Mar 14, 2024
Problem isn't SSL, but a design change in the API. TCMS().exec creates a new connection proxy every time. Application code now needs to operate on TCMS().exec instead of TCMS() to avoid performance loss:
connection = TCMS()
connection.exec.TestPlan.filter(...)
connection.exec.TestCase.filter(...)
...
will be opening a new connection for every connection.exec.
proxy = TCMS().exec
proxy.TestPlan.filter(...)
proxy.TestCase.filter(...)
...
will use just one connection.
Behaviour should be mentioned in the documentation.
When using version 12.9.1 of tcms-api it takes about a second for each server request over https.
Version 12.9 and below are fine.
I haven't tested plain http, but I guess the reason could be SSL certificate checking upon each request.
The text was updated successfully, but these errors were encountered: