I am using SOAP/XML variables for a CSV Data Set Config request in JMeter. My problem is, when some variables are empty, I get a validation error caused by this so I need to get rid of those.
There is very similar topic, well described (Jmeter remove empty strings at a SOAP/XML request), but unfortunately the solution is not working for me, I am getting:
meter.util.BeanShellInterpreter: Error invoking bsh method: eval Sourced file: inline evaluation of: ``String data = sampler.getXmlData(); data = data.replaceAll("",""); . . . '' : Typed variable declaration : Error in method invocation: Method getXmlData() not found in class'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!