Forum Discussion
DLuks
15 years agoContributor
The issue with doing it this way, is that the url is defined with query properties also. If one of those happen to be filled it, it will append two ??'s to the url string. I think I have found two solutions...Either the way you defined where every property is a template, but that seems like a hassle.
The other way is to :
testStep = context.testCase.getTestStepByName((String)"TestRequest")
testStep.prepare(testRunner, context)
/*
Modify URL by appending the text from my datasource
*
testStep.run(testRunner, context)
Havn't figured out that part yet though.
The other way is to :
testStep = context.testCase.getTestStepByName((String)"TestRequest")
testStep.prepare(testRunner, context)
/*
Modify URL by appending the text from my datasource
*
testStep.run(testRunner, context)
Havn't figured out that part yet though.