Error:
Config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [ 'xhr', 'http' ],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: {
FormData: [Function: FormData] {
LINE_BREAK: '\r\n',
DEFAULT_CONTENT_TYPE: 'application/octet-stream'
},
Blob: [class Blob]
},
validateStatus: [Function: validateStatus],
headers: Object [AxiosHeaders] {
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/json',
Authorization: 'Basic 3faea98c-355a-4892-bbac-3c9fd7e04278',
'User-Agent': 'axios/1.6.7',
'Content-Length': '198',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
baseURL: 'https://mayukhkolkata2010.atlassian.net//rest/atm/1.0',
host: 'https://mayukhkolkata2010.atlassian.net/',
authorizationToken: '3faea98c-355a-4892-bbac-3c9fd7e04278',
projectKey: 'MBPT',
configDir: 'd:\\Automation\\PWVSCode',
method: 'post',
url: 'https://mayukhkolkata2010.atlassian.net//rest/atm/1.0/testrun',
data: '{"name":"[Thu, 15 Feb 2024 03:27:09 GMT] - Automated run","projectKey":"MBPT","items":[{"testCaseKey":"MBPT-T2","status":"Pass","environment":"chromium","executionDate":"2024-02-15T03:27:12.665Z"}]}'
}
Error in reporter Error:
Status: 404
Headers: Object [AxiosHeaders] {
date: 'Thu, 15 Feb 2024 03:27:15 GMT',
'content-type': 'application/json;charset=UTF-8',
server: 'AtlassianEdge',
'timing-allow-origin': '*',
'x-arequestid': 'ad9a3d4406d7c87db23e1137852eb13e',
'set-cookie': [
'atlassian.xsrf.token=d6c7ed9df4b67fb360ec5071e8195e9be043775f_lout; Path=/; SameSite=None; Secure'
],
'cache-control': 'no-transform',
vary: 'Accept',
'x-content-type-options': 'nosniff',
'x-xss-protection': '1; mode=block',
'atl-traceid': 'baddc1108dbf49d7a3646b18c5efdbd5',
'report-to': '{"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}',
nel: '{"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"}',
'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
'transfer-encoding': 'chunked'
}
Data: {
message: 'null for uri: https://mayukhkolkata2010.atlassian.net/rest/atm/1.0/testrun',
'status-code': 404
}
at ZephyrService.createRun (d:\Automation\PWVSCode\node_modules\playwright-zephyr\lib\src\zephyr.service.js:66:27)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at ZephyrReporter.onEnd (d:\Automation\PWVSCode\node_modules\playwright-zephyr\lib\src\index.js:44:13)
at ReporterV2Wrapper.onEnd (d:\Automation\PWVSCode\node_modules\@playwright\test\node_modules\playwright\lib\reporters\reporterV2.js:91:12)
at wrapAsync (d:\Automation\PWVSCode\node_modules\@playwright\test\node_modules\playwright\lib\reporters\multiplexer.js:79:12)
at Multiplexer.onEnd (d:\Automation\PWVSCode\node_modules\@playwright\test\node_modules\playwright\lib\reporters\multiplexer.js:51:25)
at InternalReporter.onEnd (d:\Automation\PWVSCode\node_modules\@playwright\test\node_modules\playwright\lib\reporters\internalReporter.js:69:12)
at Runner.runAllTests (d:\Automation\PWVSCode\node_modules\@playwright\test\node_modules\playwright\lib\runner\runner.js:77:28)
at runTests (d:\Automation\PWVSCode\node_modules\@playwright\test\node_modules\playwright\lib\cli.js:130:93)
at t.<anonymous> (d:\Automation\PWVSCode\node_modules\@playwright\test\node_modules\playwright\lib\cli.js:40:7)
I was trying to get the Playwright test results reported to Zephyr Scale.
I used the process mentioned in the link below:
https://www.npmjs.com/package/playwright-zephyr?activeTab=readme
Can you help me to get it solved?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.