Correlation - ***URGENT **** help required (278 Views)
Valued Contributor
Posts: 47
Registered: ‎04-15-2013
Message 1 of 4 (278 Views)
Accepted Solution

Correlation - ***URGENT **** help required

Hello all,

     I am trying to correlate the value "525E3648504C0C50E10080000A3EFDA0" from the below text,

web_reg_save_para("Test", "LB=OBJECT_GUID\x253d",RB=\x2526PORTFOLIO_GUID",LAST);
result :
No Match found.
web_reg_save_para("Test", "LB=OBJECT_GUID",RB=PORTFOLIO_GUID ",LAST);
So, i feel the escape caharacter "\" is skipping the remaining boundaries, results in no match.
Is the a way to handle the escape character in correlation function.
Much appreciate your help!!!
Nan Raso
Respected Contributor
Posts: 471
Registered: ‎11-25-2011
Message 2 of 4 (269 Views)

Re: Correlation - ***URGENT **** help required

Hi Nan_Raso,


What if we keep another escape character \ before the existing blakslash in the right boundary?


In the recording options -> enable correlation for recording -> create a new rule -> keep the current left and right boundary's test them and see whether you are able to extract the required data from the response.




HP Expert
Posts: 669
Registered: ‎04-06-2011
Message 3 of 4 (265 Views)

Re: Correlation - ***URGENT **** help required

yes, you need to duplicate the \ so vugen understand this is actually part of the boundary.

Valued Contributor
Posts: 117
Registered: ‎04-30-2012
Message 4 of 4 (241 Views)

Re: Correlation - ***URGENT **** help required

By adding escape sequences it should capture the value.


web_reg_save_para("Test", "LB=OBJECT_GUID\\x253d",RB=\\x2526PORTFOLIO_GUID",LAST);


Thanks, Ajay

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.