Forum Discussion
rrsqrd
11 years agoNew Contributor
Yes, I may have watched the same video.
EventHandlers seems the best way to go to set header values via code.
I have code that adds a custom header field to a request which I've tested in a testStep.
Unfortunately, I couldn't get the EventHandler to work as the target value I specified gives an exception:
java.lang.NullPointerException
at com.eviware.soapui.model.propertyexpansion.resolvers.SubmitPropertyResolver.resolveProperty
I used ${#TestStep#DeleteUserRequest} for the target where “DeleteUserRequest” is the
name of an HTTP Test Request test step.
I have been waiting to hear back on the exception issue for quite some time.
Maybe posting this here help..
r2
EventHandlers seems the best way to go to set header values via code.
I have code that adds a custom header field to a request which I've tested in a testStep.
Unfortunately, I couldn't get the EventHandler to work as the target value I specified gives an exception:
java.lang.NullPointerException
at com.eviware.soapui.model.propertyexpansion.resolvers.SubmitPropertyResolver.resolveProperty
I used ${#TestStep#DeleteUserRequest} for the target where “DeleteUserRequest” is the
name of an HTTP Test Request test step.
I have been waiting to hear back on the exception issue for quite some time.
Maybe posting this here help..
r2
Related Content
- 4 years agojodydowling
Recent Discussions
SFTP
Solved5 days agotowardsQuality