Loading ...
Sorry, an error occurred while loading the content.

Problem with LB and RB from listbox value in server's response !

Expand Messages
  • sceljo
    Good day to all, I have problem with using web_reg_save_param. I wish to save list of value in parameter, but LB and RB prolem occour. Can anyone can advice?
    Message 1 of 7 , May 1, 2012
    • 0 Attachment
      Good day to all,

      I have problem with using web_reg_save_param. I wish to save list of
      value in parameter, but LB and RB prolem occour.

      Can anyone can advice?

      Thank you !

      Suad

      P.S. Bellow is part of the code from server's response:

      // -------------

      <tr>
      <td class="formLabel">
      Supervisor:
      </td>
      <td class="formField">
      <select name="ctl00$M$P2$T1$CPLGx1$ddlSupervisor"
      id="ctl00_M_P2_T1_CPLGx1_ddlSupervisor" style="width:280px;">
      <option value="">Select...</option>
      <option value="a77d54b0-2dad-4744-80cb-0029c328e7d6">Ashley
      AAAAA</option>
      <option value="244f0fe4-7636-4a5f-9f8f-10db890fc212">M
      BBBAKRAM</option>
      <option value="83d2b378-7d43-4b01-86ca-19fa238e8cbe">Dawood
      ZAH</option>
      <option value="6acf75dd-9ec9-4676-add3-24949e38dd9b">ZUL
      BHATTY</option>
      <option selected="selected"
      value="e9eb745e-352b-43b2-8a2f-4874c6d0f69b">AS SARPAS</option>
      <option value="4503f459-e25b-42d9-9c23-4ee98922110e">Christ
      KASAP</option>
      <option value="a333d760-4116-458a-97f5-54e3bf65a965">Akhatov
      KHAYDAROV</option>

      </select>


      </td>
      </tr>

      //
      ------------------------------------------------------------------------\
      -------------





      [Non-text portions of this message have been removed]
    • Michael Foley
      looks fairly straightforward,  pick the correct RB and LB use ORD=ALL and move right along   if you want detailed answers, ask detailed questions.   -m  
      Message 2 of 7 , May 1, 2012
      • 0 Attachment
        looks fairly straightforward,  pick the correct RB and LB use ORD=ALL and move right along
         
        if you want detailed answers, ask detailed questions.
         
        -m
         

        From: sceljo <sceljo@...>
        To: LoadRunner@yahoogroups.com
        Sent: Tuesday, May 1, 2012 7:16 AM
        Subject: [LoadRunner] Problem with LB and RB from listbox value in server's response !


         

        Good day to all,

        I have problem with using web_reg_save_param. I wish to save list of
        value in parameter, but LB and RB prolem occour.

        Can anyone can advice?

        Thank you !

        Suad

        P.S. Bellow is part of the code from server's response:

        // -------------

        <tr>
        <td class="formLabel">
        Supervisor:
        </td>
        <td class="formField">
        <select name="ctl00$M$P2$T1$CPLGx1$ddlSupervisor"
        id="ctl00_M_P2_T1_CPLGx1_ddlSupervisor" style="width:280px;">
        <option value="">Select...</option>
        <option value="a77d54b0-2dad-4744-80cb-0029c328e7d6">Ashley
        AAAAA</option>
        <option value="244f0fe4-7636-4a5f-9f8f-10db890fc212">M
        BBBAKRAM</option>
        <option value="83d2b378-7d43-4b01-86ca-19fa238e8cbe">Dawood
        ZAH</option>
        <option value="6acf75dd-9ec9-4676-add3-24949e38dd9b">ZUL
        BHATTY</option>
        <option selected="selected"
        value="e9eb745e-352b-43b2-8a2f-4874c6d0f69b">AS SARPAS</option>
        <option value="4503f459-e25b-42d9-9c23-4ee98922110e">Christ
        KASAP</option>
        <option value="a333d760-4116-458a-97f5-54e3bf65a965">Akhatov
        KHAYDAROV</option>

        </select>

        </td>
        </tr>

        //
        ----------------------------------------------------------\
        -------------

        [Non-text portions of this message have been removed]




        [Non-text portions of this message have been removed]
      • Sean Littlejohn
        Not to be crude, but you are kidding right? Who would put you in a position to create programs to be effectve for load testing? My friend you are way over your
        Message 3 of 7 , May 1, 2012
        • 0 Attachment
          Not to be crude, but you are kidding right? Who would put you in a position
          to create programs to be effectve for load testing? My friend you are way
          over your head and for this I doubt you will get much help.
          On May 1, 2012 8:06 AM, "sceljo" <sceljo@...> wrote:

          > **
          >
          >
          >
          > Good day to all,
          >
          > I have problem with using web_reg_save_param. I wish to save list of
          > value in parameter, but LB and RB prolem occour.
          >
          > Can anyone can advice?
          >
          > Thank you !
          >
          > Suad
          >
          > P.S. Bellow is part of the code from server's response:
          >
          > // -------------
          >
          > <tr>
          > <td class="formLabel">
          > Supervisor:
          > </td>
          > <td class="formField">
          > <select name="ctl00$M$P2$T1$CPLGx1$ddlSupervisor"
          > id="ctl00_M_P2_T1_CPLGx1_ddlSupervisor" style="width:280px;">
          > <option value="">Select...</option>
          > <option value="a77d54b0-2dad-4744-80cb-0029c328e7d6">Ashley
          > AAAAA</option>
          > <option value="244f0fe4-7636-4a5f-9f8f-10db890fc212">M
          > BBBAKRAM</option>
          > <option value="83d2b378-7d43-4b01-86ca-19fa238e8cbe">Dawood
          > ZAH</option>
          > <option value="6acf75dd-9ec9-4676-add3-24949e38dd9b">ZUL
          > BHATTY</option>
          > <option selected="selected"
          > value="e9eb745e-352b-43b2-8a2f-4874c6d0f69b">AS SARPAS</option>
          > <option value="4503f459-e25b-42d9-9c23-4ee98922110e">Christ
          > KASAP</option>
          > <option value="a333d760-4116-458a-97f5-54e3bf65a965">Akhatov
          > KHAYDAROV</option>
          >
          > </select>
          >
          > </td>
          > </tr>
          >
          > //
          > ----------------------------------------------------------\
          > -------------
          >
          > [Non-text portions of this message have been removed]
          >
          >
          >


          [Non-text portions of this message have been removed]
        • Doug Melstrom
          What did you use for LB and RB, what did you get and what did you expect? ... From: sceljo Subject: [LoadRunner] Problem with LB and RB from
          Message 4 of 7 , May 1, 2012
          • 0 Attachment
            What did you use for LB and RB, what did you get and what did you expect?

            --- On Tue, 5/1/12, sceljo <sceljo@...> wrote:


            From: sceljo <sceljo@...>
            Subject: [LoadRunner] Problem with LB and RB from listbox value in server's response !
            To: LoadRunner@yahoogroups.com
            Date: Tuesday, May 1, 2012, 5:16 AM



             




            Good day to all,

            I have problem with using web_reg_save_param. I wish to save list of
            value in parameter, but LB and RB prolem occour.

            Can anyone can advice?

            Thank you !

            Suad

            P.S. Bellow is part of the code from server's response:

            // -------------

            <tr>
            <td class="formLabel">
            Supervisor:
            </td>
            <td class="formField">
            <select name="ctl00$M$P2$T1$CPLGx1$ddlSupervisor"
            id="ctl00_M_P2_T1_CPLGx1_ddlSupervisor" style="width:280px;">
            <option value="">Select...</option>
            <option value="a77d54b0-2dad-4744-80cb-0029c328e7d6">Ashley
            AAAAA</option>
            <option value="244f0fe4-7636-4a5f-9f8f-10db890fc212">M
            BBBAKRAM</option>
            <option value="83d2b378-7d43-4b01-86ca-19fa238e8cbe">Dawood
            ZAH</option>
            <option value="6acf75dd-9ec9-4676-add3-24949e38dd9b">ZUL
            BHATTY</option>
            <option selected="selected"
            value="e9eb745e-352b-43b2-8a2f-4874c6d0f69b">AS SARPAS</option>
            <option value="4503f459-e25b-42d9-9c23-4ee98922110e">Christ
            KASAP</option>
            <option value="a333d760-4116-458a-97f5-54e3bf65a965">Akhatov
            KHAYDAROV</option>

            </select>

            </td>
            </tr>

            //
            ----------------------------------------------------------\
            -------------

            [Non-text portions of this message have been removed]








            [Non-text portions of this message have been removed]
          • sceljo
            Option LB=
            Message 5 of 7 , May 1, 2012
            • 0 Attachment
              Option
              LB=<option value=\",
              RB=</option>,
              ORD=All
              give me a list of what I need, but when I have more than one list on response page, how to distinct them (all lines are then in one parameter array)? If content of record in array is 'Select...', then it is start of list of value for first LOV, after second appearance of 'Select...' record is LOV for second field, etc...
              I assume more efficient way to do it exist???

              Regards
              S


              --- In LoadRunner@yahoogroups.com, Michael Foley <michaelf30189@...> wrote:
              >
              > looks fairly straightforward,  pick the correct RB and LB use ORD=ALL and move right along
              >  
              > if you want detailed answers, ask detailed questions.
              >  
              > -m
              >  
              >
              > From: sceljo <sceljo@...>
              > To: LoadRunner@yahoogroups.com
              > Sent: Tuesday, May 1, 2012 7:16 AM
              > Subject: [LoadRunner] Problem with LB and RB from listbox value in server's response !
              >
              >
              >  
              >
              > Good day to all,
              >
              > I have problem with using web_reg_save_param. I wish to save list of
              > value in parameter, but LB and RB prolem occour.
              >
              > Can anyone can advice?
              >
              > Thank you !
              >
              > Suad
              >
              > P.S. Bellow is part of the code from server's response:
              >
              > // -------------
              >
              > <tr>
              > <td class="formLabel">
              > Supervisor:
              > </td>
              > <td class="formField">
              > <select name="ctl00$M$P2$T1$CPLGx1$ddlSupervisor"
              > id="ctl00_M_P2_T1_CPLGx1_ddlSupervisor" style="width:280px;">
              > <option value="">Select...</option>
              > <option value="a77d54b0-2dad-4744-80cb-0029c328e7d6">Ashley
              > AAAAA</option>
              > <option value="244f0fe4-7636-4a5f-9f8f-10db890fc212">M
              > BBBAKRAM</option>
              > <option value="83d2b378-7d43-4b01-86ca-19fa238e8cbe">Dawood
              > ZAH</option>
              > <option value="6acf75dd-9ec9-4676-add3-24949e38dd9b">ZUL
              > BHATTY</option>
              > <option selected="selected"
              > value="e9eb745e-352b-43b2-8a2f-4874c6d0f69b">AS SARPAS</option>
              > <option value="4503f459-e25b-42d9-9c23-4ee98922110e">Christ
              > KASAP</option>
              > <option value="a333d760-4116-458a-97f5-54e3bf65a965">Akhatov
              > KHAYDAROV</option>
              >
              > </select>
              >
              > </td>
              > </tr>
              >
              > //
              > ----------------------------------------------------------\
              > -------------
              >
              > [Non-text portions of this message have been removed]
              >
              >
              >
              >
              > [Non-text portions of this message have been removed]
              >
            • Mahesh Kumar Somaraju
              Hi, The only solution for this is to capture the list of all required values into one single parameter as a whole string and write a custom C function to get
              Message 6 of 7 , May 3, 2012
              • 0 Attachment
                Hi,

                The only solution for this is to capture the list of all required values
                into one single parameter as a whole string and write a custom C function
                to get the required value out of LR parameter.
                You would need to use string handling functions like strcpy, strstr to get
                this done.

                Regards,
                Mahesh



                On Wed, May 2, 2012 at 9:36 AM, sceljo <sceljo@...> wrote:

                > **
                >
                >
                >
                >
                > Option
                > LB=<option value=\",
                > RB=</option>,
                > ORD=All
                > give me a list of what I need, but when I have more than one list on
                > response page, how to distinct them (all lines are then in one parameter
                > array)? If content of record in array is 'Select...', then it is start of
                > list of value for first LOV, after second appearance of 'Select...' record
                > is LOV for second field, etc...
                > I assume more efficient way to do it exist???
                >
                > Regards
                > S
                >
                > --- In LoadRunner@yahoogroups.com, Michael Foley <michaelf30189@...>
                > wrote:
                > >
                > > looks fairly straightforward,� pick the correct RB and LB use ORD=ALL
                > and move right along
                > > �
                >
                > > if you want detailed answers, ask detailed questions.
                > > �
                > > -m
                > > �
                > >
                > > From: sceljo <sceljo@...>
                >
                > > To: LoadRunner@yahoogroups.com
                > > Sent: Tuesday, May 1, 2012 7:16 AM
                > > Subject: [LoadRunner] Problem with LB and RB from listbox value in
                > server's response !
                > >
                > >
                > > �
                > >
                > > Good day to all,
                > >
                > > I have problem with using web_reg_save_param. I wish to save list of
                > > value in parameter, but LB and RB prolem occour.
                > >
                > > Can anyone can advice?
                > >
                > > Thank you !
                > >
                > > Suad
                > >
                > > P.S. Bellow is part of the code from server's response:
                > >
                > > // -------------
                > >
                > > <tr>
                > > <td class="formLabel">
                > > Supervisor:
                > > </td>
                > > <td class="formField">
                > > <select name="ctl00$M$P2$T1$CPLGx1$ddlSupervisor"
                > > id="ctl00_M_P2_T1_CPLGx1_ddlSupervisor" style="width:280px;">
                > > <option value="">Select...</option>
                > > <option value="a77d54b0-2dad-4744-80cb-0029c328e7d6">Ashley
                > > AAAAA</option>
                > > <option value="244f0fe4-7636-4a5f-9f8f-10db890fc212">M
                > > BBBAKRAM</option>
                > > <option value="83d2b378-7d43-4b01-86ca-19fa238e8cbe">Dawood
                > > ZAH</option>
                > > <option value="6acf75dd-9ec9-4676-add3-24949e38dd9b">ZUL
                > > BHATTY</option>
                > > <option selected="selected"
                > > value="e9eb745e-352b-43b2-8a2f-4874c6d0f69b">AS SARPAS</option>
                > > <option value="4503f459-e25b-42d9-9c23-4ee98922110e">Christ
                > > KASAP</option>
                > > <option value="a333d760-4116-458a-97f5-54e3bf65a965">Akhatov
                > > KHAYDAROV</option>
                > >
                > > </select>
                > >
                > > </td>
                > > </tr>
                > >
                > > //
                > > ----------------------------------------------------------\
                > > -------------
                > >
                > > [Non-text portions of this message have been removed]
                > >
                > >
                > >
                > >
                > > [Non-text portions of this message have been removed]
                > >
                >
                >
                >


                [Non-text portions of this message have been removed]
              • John Crunk
                Well that is not the only solution, but it is one. ... From: LoadRunner@yahoogroups.com [mailto:LoadRunner@yahoogroups.com] On Behalf Of Mahesh Kumar Somaraju
                Message 7 of 7 , May 3, 2012
                • 0 Attachment
                  Well that is not the only solution, but it is one.

                  -----Original Message-----
                  From: LoadRunner@yahoogroups.com [mailto:LoadRunner@yahoogroups.com] On
                  Behalf Of Mahesh Kumar Somaraju
                  Sent: Thursday, May 03, 2012 9:21 PM
                  To: LoadRunner@yahoogroups.com
                  Subject: Re: [LoadRunner] Re: Problem with LB and RB from listbox value in
                  server's response !

                  Hi,

                  The only solution for this is to capture the list of all required values
                  into one single parameter as a whole string and write a custom C function to
                  get the required value out of LR parameter.
                  You would need to use string handling functions like strcpy, strstr to get
                  this done.

                  Regards,
                  Mahesh



                  On Wed, May 2, 2012 at 9:36 AM, sceljo <sceljo@...> wrote:

                  > **
                  >
                  >
                  >
                  >
                  > Option
                  > LB=<option value=\",
                  > RB=</option>,
                  > ORD=All
                  > give me a list of what I need, but when I have more than one list on
                  > response page, how to distinct them (all lines are then in one
                  > parameter array)? If content of record in array is 'Select...', then
                  > it is start of list of value for first LOV, after second appearance of
                  > 'Select...' record is LOV for second field, etc...
                  > I assume more efficient way to do it exist???
                  >
                  > Regards
                  > S
                  >
                  > --- In LoadRunner@yahoogroups.com, Michael Foley <michaelf30189@...>
                  > wrote:
                  > >
                  > > looks fairly straightforward, pick the correct RB and LB use
                  > > ORD=ALL
                  > and move right along
                  > > Â
                  >
                  > > if you want detailed answers, ask detailed questions.
                  > > Â
                  > > -m
                  > > Â
                  > >
                  > > From: sceljo <sceljo@...>
                  >
                  > > To: LoadRunner@yahoogroups.com
                  > > Sent: Tuesday, May 1, 2012 7:16 AM
                  > > Subject: [LoadRunner] Problem with LB and RB from listbox value in
                  > server's response !
                  > >
                  > >
                  > > Â
                  > >
                  > > Good day to all,
                  > >
                  > > I have problem with using web_reg_save_param. I wish to save list of
                  > > value in parameter, but LB and RB prolem occour.
                  > >
                  > > Can anyone can advice?
                  > >
                  > > Thank you !
                  > >
                  > > Suad
                  > >
                  > > P.S. Bellow is part of the code from server's response:
                  > >
                  > > // -------------
                  > >
                  > > <tr>
                  > > <td class="formLabel">
                  > > Supervisor:
                  > > </td>
                  > > <td class="formField">
                  > > <select name="ctl00$M$P2$T1$CPLGx1$ddlSupervisor"
                  > > id="ctl00_M_P2_T1_CPLGx1_ddlSupervisor" style="width:280px;">
                  > > <option value="">Select...</option> <option
                  > > value="a77d54b0-2dad-4744-80cb-0029c328e7d6">Ashley
                  > > AAAAA</option>
                  > > <option value="244f0fe4-7636-4a5f-9f8f-10db890fc212">M
                  > > BBBAKRAM</option>
                  > > <option value="83d2b378-7d43-4b01-86ca-19fa238e8cbe">Dawood
                  > > ZAH</option>
                  > > <option value="6acf75dd-9ec9-4676-add3-24949e38dd9b">ZUL
                  > > BHATTY</option>
                  > > <option selected="selected"
                  > > value="e9eb745e-352b-43b2-8a2f-4874c6d0f69b">AS SARPAS</option>
                  > > <option value="4503f459-e25b-42d9-9c23-4ee98922110e">Christ
                  > > KASAP</option>
                  > > <option value="a333d760-4116-458a-97f5-54e3bf65a965">Akhatov
                  > > KHAYDAROV</option>
                  > >
                  > > </select>
                  > >
                  > > </td>
                  > > </tr>
                  > >
                  > > //
                  > > ----------------------------------------------------------\
                  > > -------------
                  > >
                  > > [Non-text portions of this message have been removed]
                  > >
                  > >
                  > >
                  > >
                  > > [Non-text portions of this message have been removed]
                  > >
                  >
                  >
                  >


                  [Non-text portions of this message have been removed]



                  ------------------------------------

                  Yahoo! Groups Links
                Your message has been successfully submitted and would be delivered to recipients shortly.