Forum Discussion

nkpalli's avatar
nkpalli
Contributor
7 years ago

how to pass Valid and Invalid value to resource endpoint parameter

  Hello team,    Need some clarification on how to achieve this scenario:  I have a endpoint and i am trying to acheive two tests by passing valid and Invalid values to ID Parameter that exist in ...
  • JHunt's avatar
    7 years ago

    You want your Resource to give just what the parameters are, not the values for them.

     

    /{projectId}/newpricing/{pcode}/units

    Then in the Test Requests themselves, you set:

     

    projectId = ${Project#ID}

    or

     

    projectId = ${Project#InvalidID}