spenceclark / newman-reporter-json-summary

A Newman JSON Reporter that strips the results down to a minimum
8 stars 7 forks source link

Newman summary JSON having incorrect endpoints #10

Open khushyadav opened 3 years ago

khushyadav commented 3 years ago

If a request contains pm.sendRequest() in its test then, the summary object created post the execution of collection using newman.run yields following incorrect values:

  1. Under summary.run.executions we would have 2 object with identical values . One corresponding to request and second corresponding to pm.sendRequest.
  2. The url of parent request will also be incorrectly replaced with the url of pm.sendrequest() under summary.run.executions[index].request.url