Forum Discussion
SmartBear_Suppo
11 years agoSmartBear Alumni (Retired)
Hi,
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
Related Content
- 2 years agoSiKing