Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8638289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:41:31+00:00 2026-06-12T10:41:31+00:00

Correlation is on different lines when select LB and RB getting message – Invalid

  • 0

Correlation is on different lines when select LB and RB getting message – Invalid selection selected value cannot be greater than one line.
So in script I am capturing all lines in different parameters as below
web_reg_save_param(“Corr_P1”, “LB=![CDATA[“, “RB=\n”, “Ord=1”, LAST);

similarly I am capturing parameters on different lines –

web_reg_save_param("Corr_P2", "LB=<token>![CDATA[", "RB=\n", "Ord=1", LAST);
web_reg_save_param("Corr_P3", "LB\n", "RB=\n", "Ord=24", LAST);
web_reg_save_param("Corr_P4", "LB=\n", "RB=\n", "Ord=25", LAST);
web_reg_save_param("Corr_P5", "LB=\n", "RB=\n", "Ord=26, LAST);
web_reg_save_param("Corr_P6", "LB=\n", "RB=\n", "Ord=27", LAST);

During recording values are coming on all 6 lines. But during replay value in Corr_P5 is blank. Hence it is failing. Please suggest what could be problem and provide me a solution.

So I want to get these values in a variable and concatenate it. But it is not working. Can someone please give a sample code in C to address this.

Thanks in advance.

Regards,

Yagya

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T10:41:32+00:00Added an answer on June 12, 2026 at 10:41 am

    Capturing data with

    web_reg_save_param("Corr_P6", "LB=\n", "RB=\n", "Ord=?", LAST);
    

    captures the exact LINE number. This will be problematic especially when you have dynamic data. It’s enough to have one more HTTP Header or an extra \n somewhere and your code will fail.

    From the ![CDATA in the 1st line I assume that the data returned from the server is XML. In this case I would capture the whole output and parse it with XML functions:

    web_reg_save_param("XML","LB=","RB=","Search=Body",LAST); // Take whole BODY
    
    // Get a value from <tag1></tag2><tagN>data</tagN></tag2></tag1>
    lr_xml_get_values("XML={XML}", "ValueParam=Corr_Px", "Query=/tag1/tag2/tagN", "NotFound=Continue", LAST);
    

    LoadRunner has some nice XML Functions, just search in the help for those.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How is it possible to find the correlation between vectors of different lengths? For
I have the following SQL code: select @colNames = coalesce(@colNames+',','')+''''+ RptLOB1 +'''' from CM.Correlation
Possible Duplicate: correlation matrix in r I have an excel sheet which has 700
I am trying to show correlation between two individual lists. Before installing Numpy, I
I am new to WF and i am working on the correlation on WF.i
I'm just curious if there is any correlation between the length of the address
Part of the solution to my problem I found here: How to calculate correlation
I'm implementing a WF4 service. I want to see the correlation Id of my
I have worked out how to calculate the correlation coefficient between two fields if
Matlab's cross-correlation function xcorr(x,y,maxlags) has an option maxlag , which returns the cross-correlation sequence

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.