| || |
QALOAD equivalent for Load Runners lr_replace
I need to perform the QALOAD equivalent for the Load Runner function lr_replace.
An example statement
lr_replace( "temp1", "&#13;", "\r" );
In a nutshell need a funciton that can accept a string replace all ocurrences of one string within another.
Originalstring: "This is a &#13;message and&#13; need to replace characters"
Function (Originalstring, "&#13;", "\r" );
Need the expected result to be a string
"This is a \rmessage and\r need to replace characters"
A simple extract String to a variable will not work becuase of embedded characters that need to be translated.
Has anyone ever done this with QALOAD. The parameter I am replacing is a SAMLResponse.
thanks in advance
Re: QALOAD equivalent for Load Runners lr_replace
Did you make a try using C string library functions??