XML : JMeter - Remove empty elements in SOAP request

Iam using CSV Data Set Config to fill SOAP/XML variables to request in JMeter. My problem is, when some variables are empty, then i get error on validation 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 reqeust), unfortunately the solution is not working for me, iam 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'

sign: absolute non coder

No comments:

Post a Comment