Search code examples
tfsmsbuildautomated-testsbuild-processpostman

Is there a postman plug-in for automated testing in on-premise tfs build agent?


The postman chrome extension https://www.getpostman.com is a well known test client for testing REST APIs. I know that they released a command line tool called "newman" (currently at version 2.1.1 and can be installed using npm).

I am wondering if any body try to use this command line tool for testing REST APIs from automated testing step in on-premise TFS build agent (assuming API server environment is already setup).

Any help is appreciated.


Solution

  • Just tested in TFS 2015.2, it's easy to invoke newman tool in vNext build. You only need to add two build steps: npm and Command Line:

    enter image description here

    enter image description here

    In my example, I get a list of options of newman (newman -h). You can also test other options in this article: https://github.com/postmanlabs/newman