Skip to main content
formatting
Source Link
Bharat Mane
  • 6.8k
  • 11
  • 41
  • 69

I’m trying to access the API of TestRail (by gurock) on our self-hosted TestRail server (version v5.1.0.3413). To use TestRail, we have to login with basic authentication plus form-based authentication. The sample call in the API documentation uses “curl -u …”curl -u … to handle basic authentication. But this just gives me following error:

{“error”:“Authentication failed: invalid or missing user/password or session cookie.”}

{“error”:“Authentication failed: invalid or missing user/password or session cookie.”}

I guess this is because I somehow have to provide the form-based login credentials. Has anybody here handled this scenario of TestRail API access with basic plus form-based authentication before?

Thanks in advance!

I’m trying to access the API of TestRail (by gurock) on our self-hosted TestRail server (version v5.1.0.3413). To use TestRail, we have to login with basic authentication plus form-based authentication. The sample call in the API documentation uses “curl -u …” to handle basic authentication. But this just gives me:

{“error”:“Authentication failed: invalid or missing user/password or session cookie.”}

I guess this is because I somehow have to provide the form-based login credentials. Has anybody here handled this scenario of TestRail API access with basic plus form-based authentication before?

Thanks in advance!

I’m trying to access the API of TestRail (by gurock) on our self-hosted TestRail server (version v5.1.0.3413). To use TestRail, we have to login with basic authentication plus form-based authentication. The sample call in the API documentation uses curl -u … to handle basic authentication. But this just gives me following error:

{“error”:“Authentication failed: invalid or missing user/password or session cookie.”}

I guess this is because I somehow have to provide the form-based login credentials. Has anybody here handled this scenario of TestRail API access with basic plus form-based authentication before?

Thanks in advance!

Source Link

How to access the TestRail API behind basic authentication plus form based authentication?

I’m trying to access the API of TestRail (by gurock) on our self-hosted TestRail server (version v5.1.0.3413). To use TestRail, we have to login with basic authentication plus form-based authentication. The sample call in the API documentation uses “curl -u …” to handle basic authentication. But this just gives me:

{“error”:“Authentication failed: invalid or missing user/password or session cookie.”}

I guess this is because I somehow have to provide the form-based login credentials. Has anybody here handled this scenario of TestRail API access with basic plus form-based authentication before?

Thanks in advance!