Hi
I have created a data-driven test case pulling data from a .csv file, every time it executes I get the below error with status 0, however, if I execute the same test manually it processes successfully. Am I missing something?
POST http://{{url}}/quote
Error: getaddrinfo ENOTFOUND {{url}}
Are you able to provide some more details about the issue, please?
Is this using the Desktop App or Postman on the Web? It looks like you’re using a variable with the request - Is these coming from an environment file?
Can you provide any screenshots of the problem to help us to see what you’re currently seeing?
I am still new to postman and API testing so my lingo still needs some polishing.
Yes I have an environment variable called “url” and another one called “contractRef”
I need to call 2 endpoints “quote” to create a contract reference and “accept” to accept policy.
1st I execute the “quote” endpoint which generates a “Contract Reference” I store that in a variable called “contractRef”
2nd I execute “accept” endpoint, “contractRef” is passed as a path variable to the URL please see attached.
The process works fine when I execute the endpoints manually however, the moment I use .csv/.txt file and automate via collection runner, the 2nd endpoint fails and throws “socket hang up” error.
@danny-dainton I have changed the variable and called it {{CR}} on the URL, its pulling data from .csv please see attached console log info, the {{CR}} variable is passed correctly however I keep getting “Socket” error.