Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Enhancement request: \{ and \} as valid escapes for literal braces

$
0
0

First, is there a better place to post an enhancement request?

 

Second, the issue at hand:

 

I recorded a script that has a POST that needs to post values that literally are text surrounded by braces, e.g.. in a web_submit_data lines that look like:

 

"Name=subpage-title-fossil", "Value=istring#{simplePageBean.subpageTitle}", ENDITEM, 

 

When played back, LoadRunner complains about the invalid parameter.

 

The only currently-supported fix I can find is to change the left and right braces for the script in Tools | General Options | Parameterizations | Parameter Braces .

 

However, in our case, we make heavy use of an #include file that handles some common functions, and now I've got to create and maintain a duplicate one, or else redo *all* our scripts to use [ and ], rather than { and } in our case.

 

It would be a great idea if LoadRunner a) recorded and b) allowed in playback for a literal "{" a "\{" escape sequence (which gives "invalid escape sequence" in 10.5 anyway), and of course for "}" a "\}".

 

Thanks - Rick


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>