reporter
reporter copied to clipboard
404 error when reporting using Playwright + Azure DevOps CI pipeline
Created an Azure DevOps pipeline based on online docs, only major difference is that ours runs on Windows in a local agent pool, although I think we got the same result from a cloud-hosted Linux agent. Side note: Why is it giving a 404 rather than a 500 or some other error based on the actual issue? You provided the run ID and the base URL, it's confusing to make this a 404.
This is with @testomatio/reporter 2.0.1. Confirmed that the Azure DevOps PAT has proper permissions.
Error reporting:
[TESTOMATIO] Provide this information: Error: Request failed with status code 404
{
body: '{"api_key":"xxxxxxxxxx","status_event":"fail"}',
url: URL {
href: 'https://app.testomat.io/api/reporter/71ffa85f',
origin: 'https://app.testomat.io',/
protocol: 'https:',
username: '',
password: '',
host: 'app.testomat.io',
hostname: 'app.testomat.io',
port: '',
pathname: '/api/reporter/71ffa85f',
search: '',
searchParams: URLSearchParams {},
hash: ''
},
baseURL: 'https://app.testomat.io',/
method: 'PUT',
time: 'Tue, 08 Jul 2025 20:47:05 GMT'
}