postmanlabs / newman

Newman is a command-line collection runner for Postman
https://www.postman.com
Apache License 2.0
6.83k stars 1.16k forks source link

Newman can't parse the http verb dynamicaly #3255

Open lsousa1988 opened 1 month ago

lsousa1988 commented 1 month ago

Hi everyone, I'm facing a problem and probably I'm the problem but I'll give a try.

Newman cli version: 6.1.3 OS: ubuntu

I have two files, 1 postman collection and 2 csv file with verb,endpoint, payload

I'm running this command - "run .\postman_collection.json --iteration-data .\mock_data.csv" and I'm stuck in this error - "

failure detail

  1. TypeError Method must be a valid HTTP token ["{{METHOD}}"] at request inside " "

mock_data.csv postman_collection.json

Long story short, I'm trying to create a pipeline in azure devops to test some endpoints with differents HTTP verbs.

I appreciate your help.

Regards.