The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Micro Focus/Compuware QALoad

Pages: 1
PokerPlayer
Member


Reged: 11/29/06
Posts: 40
Loc: NJ, USA
QALOAD equivalent for Load Runners lr_replace
      #718426 - 10/19/12 02:08 PM

I need to perform the QALOAD equivalent for the Load Runner function lr_replace.

An example statement
lr_replace( "temp1", "
", "\r" );

In a nutshell need a funciton that can accept a string replace all ocurrences of one string within another.

Example
Originalstring: "This is a 
message and
 need to replace characters"
Function (Originalstring, "
", "\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


Post Extras: Print Post   Remind Me!   Notify Moderator  
saharinivas
Member


Reged: 04/24/08
Posts: 199
Re: QALOAD equivalent for Load Runners lr_replace [Re: PokerPlayer]
      #718722 - 10/25/12 04:26 AM

Hi,

Did you make a try using C string library functions??


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:  AJ, DSquared 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1951

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5