In the field URL of the configuration of a WebService(SOAP) Request (Beta Code) listener, if I try to use a user variable for the url port (for example http://server:{port}/webservice), all the changes made to the listener configuration are not saved, so I guess user variables cannot not be used for this URL field, contrary to the Http Request listener. It's pity because url parameterization is useful for people like me who want to test several servers using the same test plan. At least, if the URL field is not correctly set, all the other fields (SOAP action, SOAP Message, ...) should be saved.
In fact, a user variable for "host" works fine, it only seems to have when we want to replace the "port" by a user variable. After searching I believe that such a bug has already been declared for the SOAP/XML component.
thanks for reporting this. sorry it took so long to look into it. the reason it doesn't work is the webservice sampler uses 1 field, instead of two. I'll look into changing this. peter
I've made some enhancements, can you try out the nightly and see if the patch works for you?
This should be in 2.1.1 - please re-open if the bug still exists
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1486