Forum Discussion

raknarrok's avatar
raknarrok
Regular Visitor
2 years ago

Zephyr Service | JUNIT - Postman returns Error: socket hang up

Hi Guys

 

Im trying to sent the JUnit results to zephyr scale using postman. But the response is taking a long time and after 10-20 seconds the "Error: socket hang up" message is displayed.

 

img1

 

Do we have a solution to this? I mean i use the same projectKey with a Get, and its working as expected, its failing only with POST.
This is the post structure.

 

POSThttps://api.zephyrscale.smartbear.com/v2/automations/executions/junit?projectKey=<<key>>&autoCreateTestCases=false 

 

Authorization:

Bearer Token - ✔️

Headers:

  • content-length: 2000
  • content-Type: multipart/form-data
  • accept: application/json

Body:

  • file: testng-results.xml (as File format)

 

Console Logs:

 

POST https://api.zephyrscale.smartbear.com/v2/automations/executions/junit?projectKey=<<Key>>&autoCreateTestCases=false
Error: socket hang up
Request Headers
content-length: 2000
content-Type: multipart/form-data
accept: application/json
Authorization: Bearer <<Token>>
User-Agent: PostmanRuntime/7.30.0
Postman-Token: <<PostmanToken>>
Host: api.zephyrscale.smartbear.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Request Body
file: undefined

 

 

Section Details Screenshot

 

Params:

 

Authorization:

 

Headers:

 

Body:

 

No RepliesBe the first to reply