Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: how to find value without RB in web_reg_save_param

$
0
0

Hi Darrren,
I used your two functions still get

Action()
{

	web_set_max_html_param_len("2048"); 

/*	web_reg_save_param("free_list","LB=<PRE>Number of connections in free list: ","RB=","SaveLen=2",
			LAST);
*/

    web_reg_save_param("free_list","LB=<PRE>Number of connections in free list: ","RB=\n",
			LAST);



	web_browser("diag", 
		DESCRIPTION, 
		ACTION, "Navigate="someurl/servlet/diag", 
		LAST);

	web_browser("Sync", "Snapshot=t1.inf", 
		DESCRIPTION, 
		ACTION, "Sync", 
		LAST);

	lr_output_message (lr_eval_string ("{free_list}"));	

	return 0;
}

 


Action.c(18): Error -26377: No match found for the requested parameter "free_list". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(18): web_browser("diag") highest severity level was "ERROR", 109934 body bytes, 283 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26387]

 

I was already added : web_set_max_html_param_len("1024");

 

I tried to print values like this : lr_output_message (lr_eval_string ("{free_list}"));

 

I can not post my url here
but source page is like below :
<HTML>
<HEAD>
<TITLE>Pool Diagnostic Servlet</TITLE>
</HEAD>
<BODY>
<H1>Pool result</H1>
<PRE>
Number of connections in free list: 11
Number of connections in use: 22
Number of statement maps:46


Viewing all articles
Browse latest Browse all 12134

Trending Articles



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