sebb-2-2 wrote:
>
> If you are able to code in Java, then you should be able to use the
> BeanShell Post-Processor to redact the contents of the SampleResult
> (held in the 'prev' variable).
>
> something like:
>
> prev.setSampleData(prev.getSampleData().replace("secret","******"))
>
> Similarly if the secret is in one of the headers (use
> setRequestHeaders() and getRequestHeaders())
>
> Post-Processors are run before Listeners, so any change you make will
> be reflected in the data that is saved.
>
>
Sebb,
Thanks for the suggestion. I'm not a Java coder, nor have I used the
Beanshell post processors, but I'll certainly take a crack at it. Much
thanks for giving constructive feedback. I'll post back when I get it
working.
--
View this message in context:
http://jmeter.512774.n5.nabble.com/How-to-mask-encrypt-values-sent-as-an-HTTP-request-parameter-tp3200142p3200403.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]