I am not too sure why you loop continually.
Also, I am not sure why you don't have a goto as your 1st step.
I would do something like this:
Define AssetID property TestCase.
1. Groovy Script-Goto
2. Property transfer
3. Soap request (getAsset)
4. Groovy Script Loop
#1 only has one line in it: testRunner.gotoStepByName( "Groovy Script - Main Loop")
#4 Groovy Script Loop:
def aa =0
while (aa < 3)
{
aa++
// set property (which you defined in the testcase property)
testRunner.testCase.setPropertyValue( "AssetID", "$aa" )
testRunner.gotoStepByName( "Property transfer")
//property transfer gets AssetID and sets it into the getAsset step
testRunner.gotoStepByName( "getAsset")
log.info "aa = $aa";
}
log.info "Records Processed = $aa";
See if this help,
Dave