meringliu
(Mering Liu)
August 2, 2024, 7:31am
1
Hi all,
Recently. I am using âpm.execution.setNextRequestâ through postman app(version 11.2.35), but it can not work in my Jenkins pipline(Newman run).
I canât find ANY documentation on pm.execution.setNextRequest() does anyone know anything about this?
Thanks a lot~
Hey @meringliu
Welcome to the Postman Community
Is there a particular error message that youâre not seeing?
What version of Newman is that using? Is it the latest version?
meringliu
(Mering Liu)
August 2, 2024, 8:38am
3
Hi @danny-dainton
Thanks for your feedback~
The error msg like " Cannot read property âsetNextRequestâ of undefined", and I use newman as a plugin in my Jenkins CI platform. Did you mean that i need to upgrade the latest version?
I donât know which version of Newman that your plugin is using.
It would need to be 6.1.0 or newer to use the pm.execution.setNextRequest()
functionality.
meringliu
(Mering Liu)
August 2, 2024, 9:20am
5
I have checked my version and turns out it is 5.2.0.
After upgrade to 6.1.3 and solve the problem now~ thanks a lot~
1 Like
system
(system)
Closed
August 5, 2024, 9:20am
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.