Search code examples
soapuipostman

Specifying Query and template parameters in POSTMAN


I moved from SOAPUI to Postman for API testing and can't find a way to specify parameters as Query or template in Postman.

SOAPUI gives you an option to specify the type of parameter in its parameter table. enter image description here

But in Postman, it just gets recognized as Query parameter (appended to URL)

enter image description here

Need to find a way to specify parameter as template parameter in POSTMAN


Solution

  • In Postman you need to use :variable to specify a template parameter. So in your example, your request URL would look like:

    http://localhost:8080/database/:databaseID
    

    After declaring your URL this way, you would click on Params where you should see your key, "databaseID" in this case, and you can provide any value, including any global or environment variable.