Ask a Question

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

raknarrok
Regular Visitor

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.

 

img1img1

 

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>>&autoCreateT... 

 

Authorization:

Bearer Token - ✔️

Headers:

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

Body:

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

raknarrok_1-1675893968222.png

 

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:

raknarrok_2-1675894349102.png

 

Authorization:

raknarrok_3-1675894389297.png

 

Headers:

raknarrok_4-1675894408542.png

 

Body:

raknarrok_5-1675894432760.png

 

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: