pm.test("some string" +res.value +\n+"some string "+res.value) function(){
iteration of response
});
I am not able to print pm.test()
values in multiline is there any way?
pm.test("some string" +res.value +\n+"some string "+res.value) function(){
iteration of response
});
I am not able to print pm.test()
values in multiline is there any way?
Hey @Belgi_TST
Welcome to the community!
The Test
name will only be shown on a single line.
What is it that you’re trying to do, there might be an alternative way of achieving this
ofcourse there is an alternative way… but i want to know is there is any way to get new line feature in test , as because \n is not working
Simple answer is no
I was trying to establish the reasoning behind wanting to do that - Your question didn’t explain why
Thank you for the quick reply
pm.test(“some string” +res.value1 +\n+"some string "+res.value2) function(){
iteration of response
});
in this i tried to print two response values in two line . but its showing in same line , both the values
That’s just repeating the question, rather than explaining why you want to do that in the test name
It will only ever be on a single line, there are no multiple line test names.