Forum Discussion

doubtsreadyapi's avatar
doubtsreadyapi
Contributor
4 years ago
Solved

How to Handle different resources for the same point

Hi 

 

Is there a way how to parameterize the resource in the endpoint url

 

I have Two versions of the endpoints for one version already automation is done, Now we are getting one more version of the endpoints with the resource different for the endpoint

 

like for ex: Before the endpoint url is like  abcd.com/users

where as now the endpoint is changed to abcdef.com/new/users

 

the resource differs from endpoint to endpoint

 

So is there a way where both the endpoints should work with the existing automation already done?

 

Thanks

4 Replies

    • doubtsreadyapi's avatar
      doubtsreadyapi
      Contributor

      nmrao 

       

      This wont help. My suite has to work  with the both the versions of endpoints  in the same environment, As i told earlier,

       

      for ex: Before the endpoint url is like  abcd.com/users

      where as now the endpoint is changed to abcdef.com/new/users

       

      but if i use property expansion, and parameterize the endpoints it will take only one version of endpoints.

       

       

      • nmrao's avatar
        nmrao
        Champion Level 3
        that's not correct. Use multiple properties to form total url.