Forum Discussion
SmartBear_Suppo
10 years agoSmartBear Alumni (Retired)
Hi,
If removing the below works then the issue is not with Target, you can remove the Target and you will still see the same problem. The response is null and the event handler is returning before executing the code afterwards, so the main problem is that the response is null when running from certain levels. I believe this has to do with the response not being populated yet in the request object. You can use context.httpResponse.responseContent in place of request.response instead if that is working.
Regards,
Marcus
SmartBear Support
If removing the below works then the issue is not with Target, you can remove the Target and you will still see the same problem. The response is null and the event handler is returning before executing the code afterwards, so the main problem is that the response is null when running from certain levels. I believe this has to do with the response not being populated yet in the request object. You can use context.httpResponse.responseContent in place of request.response instead if that is working.
if( request.response == null )
return
Regards,
Marcus
SmartBear Support
Related Content
- 7 months agomengbinhao