Forum Discussion

WEchlin's avatar
WEchlin
Occasional Contributor
9 years ago

How do I data drive a REST Api endpoint?

I'm trying to cycle through a list of Rest API endpoints like this...

 

GET https://XYZapi.com:1234/api/athing/<uniqueIdNum1>

GET https://XYZapi.com:1234/api/athing/<uniqueIdNum2>

GET https://XYZapi.com:1234/api/athing/<uniqueIdNum3>

GET https://XYZapi.com:1234/api/athing/<uniqueIdNum4>

GET https://XYZapi.com:1234/api/athing/<uniqueIdNum5>

where uniqueIdNumX is a data set like this...

 

38020150666098044400
38020188475097282133
38020160684095682582
38020186685093654030
38020186685093654017
38020184251093327262

 

 

When I'm in SoapUI Pro it looks to me like the you can't parameterise or data drive the end point URI...

 

http://screencast.com/t/aU5CCA5R

 

I can data drive the parameters or the body (if it's Post) but I can't seem to work out a way to datadrive the end point URI.

 

Any thoughts?