Premier2k
9 years agoOccasional Contributor
Setting a URL in test
Hi all,
Looking for some advice here.
We have some URLs that call a particular a stub i.e. /company.api.host/api/applications/stub/applicants and then I have some params which follow that, i.e. ?fields=something
I want the ability to set the stub I want to use in my test case, is this possible? I've considered using a property transfer to do this but it doesn't appear I can do it with that. I can only set a project property.
I've looked at templates but unless I'm misunderstanding them, I have to set them before I run my tests. I would rather set in my test case at runtime.
So basically, I want to be able to have a test step that replaces stub with MDIP1 or MDIP2 etc etc...
I hope that makes sense...
--Premier2k