PM 11 upgrade: Deprecation warnings after every script

Since upgrading I am now getting the following two errors on every post-response script.

Using “tests” is deprecated. Use “pm.test()” instead.

Using “postman.setNextRequest” is deprecated. Use “pm.execution.setNextRequest()” instead.

Question: Why am I getting these warnings when I am not even using the deprecated “tests” and “postman-setNextRequest” ?

Hey @bill.evans :wave:

Welcome to the Postman community :postman:

What do you have in the post response script at the Folder or Collection level?

That request mentions 4 tests, where are the other 3 coming from?

1 Like

You are right, of course, “tests” buried in a global script. User error!!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.