I have another issue also please help me,
I want to log my response body in csv file also, but it is not log response body in csv
command use
“newman run path_to_collection.json -d variable_value.csv -r csv,cli”
Please Help me
I have another issue also please help me,
I want to log my response body in csv file also, but it is not log response body in csv
command use
“newman run path_to_collection.json -d variable_value.csv -r csv,cli”
Please Help me
I’m not sure that I understand what you mean.
Do you want to log the response body of your request into the file/report created by the csv
reporter?
I didn’t actually build that reporter, @matt if the person who would be able to help with that.
If you’re talking about this reporter then you’ll see in the README that it doesn’t include a column for response body. This is kind of by design because CSV works best without huge values in a row, and a response body can be very long which would be hard to consume in a CSV.
If you’d like to add the response body in for your own purposes, you can always fork the source code for the reporter and add that in yourself:
@matt
That is my question how can i write my self
I am trying to add in “Index.js” file but it is failing
Hi gyzzz,
I need some help,
I need to verify value of 1 field in the response and that field is available @ many place in the response so that’s why i am not able to use JSONPATH for those everytime.
Can somebody help me to resolve this.
How can I write test to check the value of that field everywhere without using JSONPATH??
Can you share a sample response and explain your use case with that?
Thanks!
@singhsivcan
For Example
{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"title": "SGML",
"Abbrev": "ISO 8879:1986",
"GlossDef": {
"para": "A meta-markup language, used to create markup languages such as DocBook.",
"GlossSeeAlso": [
"GML",
"XML"
]
},
"GlossSee": "markup"
}
}
}
}
}
I want to test “Title” field value.
Hi @all,
I have 1 query please help me to resolve this…
I am going to integrate newman with jenkins,
But,
I am getting error “newman is not found” and continuously I am getting this.
Below command I am using:-
1st line Node path
2nd line Newman Path
3rd line Newman command to run collection
@matt @danny-dainton
How to integrate CSV in Postman “Pre-Request Script” for collection.
Please Help me to resolve this…
Thanks.
This thread seems to have changed many directions since the original question.
@Rohit.s95 I’m going to close out this topic but if you still require help from the community, could you please create a new topic and include all the relevant details so that others can chip in too.