Forum Discussion
15 years ago
Hello,
I recently downloaded SoapUI 3.6. I was using SoapUI 3.5.1. When running my groovy script I am getting an error.
ERROR:groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.setRequestHeaders() is applicable for argument types: (com.eviware.soapui.support.types.StringToStringMap) values:
Possible solutions: setRequestHeaders(com.eviware.soapui.support.types.StringToStringsMap), getRequestHeaders()
I am able to run the same groovy script in 3.5.1 and it works fine. Did I miss something?
testRunner.testCase.getTestStepByName("testCase1").testRequest.setRequestHeaders(header)
Any ideas?
Thanks!
I recently downloaded SoapUI 3.6. I was using SoapUI 3.5.1. When running my groovy script I am getting an error.
ERROR:groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.setRequestHeaders() is applicable for argument types: (com.eviware.soapui.support.types.StringToStringMap) values:
Possible solutions: setRequestHeaders(com.eviware.soapui.support.types.StringToStringsMap), getRequestHeaders()
I am able to run the same groovy script in 3.5.1 and it works fine. Did I miss something?
testRunner.testCase.getTestStepByName("testCase1").testRequest.setRequestHeaders(header)
Any ideas?
Thanks!
Related Content
- 6 years ago
Recent Discussions
- 11 hours ago