Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi,
If you change the script SubmitListener.afterSubmit to following then it should work (notice the name the of the proprty):
You might also want to apply the target filter to apply these events to specific requests, otherwise these will apply to all requests.
Best Regards,
Prakash
SmartBear Sweden
If you change the script SubmitListener.afterSubmit to following then it should work (notice the name the of the proprty):
def headers = request.requestHeaders
headers.put( "uxfauthorization",testRunner.testCase.getPropertyValue( "uxfToken" ) )
request.requestHeaders = headers
You might also want to apply the target filter to apply these events to specific requests, otherwise these will apply to all requests.
Best Regards,
Prakash
SmartBear Sweden