5

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

CodeJockey
  • 423
  • 5
  • 18

2 Answers2

8

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.

SiKing
  • 10,003
  • 10
  • 39
  • 90
  • Thanks @SiKing, but where would I declare the variable and its value? In the Environment variables? or somewhere else? – CodeJockey Aug 08 '16 at 17:42
0

If you got error 40043 .

You just check your username or channel in tab headers

if you don't have --> put it and try to send the request.

  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Aug 25 '23 at 10:08