On 18/09/2008, Mohamed Niyas <[EMAIL PROTECTED]> wrote:
> Hi Sebb,
>
>  Due to our stage build instability the samplers landed to error page.
>  I confirmed this by checking other scripts which was working well with the
>  RE attached with it.
>  When i ran those scripts, that RE samplers didnot get the exact values which
>  it retreives properly before.
>
>  So i wait for sometime for the latest build, & checked with the RE. It
>  worked well. The other point which i shown in the Jmeter log does not having
>  any issue even though it is shown as "Response data too Large".  All the

This is because of the potential problems when displaying large amounts of data.

See:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#View_Results_Tree

where it says:

"If the response data is larger than 200K, then it won't be displayed.
To change this limit, set the JMeter property
view.results.tree.max_size "

You can also save the response to a file using:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Save_Responses_to_a_file

>  latest scripts which includes RE extract the right data with this warning
>  too. This is all for your information.
>
>  I didnt check the debug sampler + Tree listener yet. Will check it tomorrow.
>
>
>  Thanks a lot for your quick response.
>
>
> Regards
>
> Mohamed Niyas M
>
>
>  On Thu, Sep 18, 2008 at 5:51 PM, sebb <[EMAIL PROTECTED]> wrote:
>
>  > On 18/09/2008, Mohamed Niyas <[EMAIL PROTECTED]> wrote:
>  > > Hi Sebb,
>  > >
>  > >  I have recreated the script again & it worked well with the same RE.
>  > Thanks
>  > >  a lot.
>  >
>  > So what was the problem?
>  > Was there a typo in the original script?
>  >
>  > >  As you said in previous mail to add the Debug sampler with the tree
>  > >  listener. I tried this.
>  > >  I have added a DEBUG post processor succeeded with the tree listener,
>  > But
>  > >  the regular expression values
>  > >  i am not seeing that.
>  > >
>  > >  Thread Group
>  > >   sampler - 1
>  > >   sampler - 2
>  > >     RE - 1
>  > >     debug sampler
>  > >     Tree Listener
>  >
>  > Thread Group
>  > + sampler - 1
>  > + sampler - 2
>  > + +   RE - 1
>  > + debug sampler
>  > + + Tree Listener  OR
>  > + Tree Listener
>  >
>  > >  By this set up, will i be able to see the extracted values in the
>  > listeners?
>  >
>  > Yes, check the response data pane - the debug sampler returns the
>  > information as response data.
>  >
>  > >  Or Did i miss something here to fulfill my request?
>  > >
>  > >  Regards
>  > >
>  > > Mohamed Niyas M
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >  On Thu, Sep 18, 2008 at 9:12 AM, Mohamed Niyas <[EMAIL PROTECTED]>
>  > wrote:
>  > >
>  > >  >  Hi sebb,
>  > >  >
>  > >  > I have tried the RE which you suggested. It is still returned -1 which
>  > is a
>  > >  > default value i set in RE.
>  > >  > But the Jmeter log says the sampler data which i am using this RE
>  > >  > says "Response too large to be displayed. Size: 412152 > Max: 204800 "
>  > >  >
>  > >  > Below the JMeter log contents.
>  > >  >
>  > >  > 2008/09/18 09:02:22 WARN -
>  > jmeter.visualizers.ViewResultsFullVisualizer:
>  > >  > Response too large to be displayed. Size: 412152 > Max: 204800
>  > >  > 2008/09/18 09:02:33 WARN -
>  > jmeter.visualizers.ViewResultsFullVisualizer:
>  > >  > Response too large to be displayed. Size: 412152 > Max: 204800
>  > >  > 2008/09/18 09:02:47 WARN -
>  > jmeter.visualizers.ViewResultsFullVisualizer:
>  > >  > Response too large to be displayed. Size: 412152 > Max: 204800
>  > >  >
>  > >  > *Note:* Thanks a lot for your quick response. I checked the RE in ORO
>  > >  > link, it is working fine. I am able to extract the right values which
>  > i want
>  > >  > to extract. but the same it not working in the test plan samplers.
>  > >  >
>  > >  > Please suggest me if i can increase the size of response page. Any
>  > >  > thoughts/suggestions are welcome.
>  > >  >
>  > >  > Regards
>  > >  > Mohamed Niyas M
>  > >  >   On Wed, Sep 17, 2008 at 4:57 PM, sebb <[EMAIL PROTECTED]> wrote:
>  > >  >
>  > >  >> On 17/09/2008, Mohamed Niyas <[EMAIL PROTECTED]> wrote:
>  > >  >> > hello team,
>  > >  >> >
>  > >  >> >  I just wanted your help to resolve the issues with the regular
>  > >  >> expression.
>  > >  >> >
>  > >  >> >  In my web request one of the web request response page contains
>  > the
>  > >  >> >  following data.
>  > >  >> >
>  > >  >> >  <li><a
>  > >  >> href="hotelDetails.form?octopusPropertyCode=T04185&cityId=3117735"
>  > >  >> >  title="HIGH TECH AVENIDA - Rank - 1 ">
>  > >  >> >  <li><a
>  > href="hotelDetails.form?octopusPropertyCode=TRA1&cityId=3117735"
>  > >  >> >  title="TRAVELODGE TORRELAGUNA - Rank - 2 ">
>  > >  >> >
>  > >  >> >  I wanted to extract
>  > >  >> >
>  > >  >> >  1) octopusPropertyCode="*T04185*"
>  > >  >> >  2) cityId="*3117735*"
>  > >  >> >
>  > >  >> >  I have given the following pattern for Property Code
>  > >  >> >
>  > >  >> >  *Regular Expression:*
>  > >  >> href="hotelDetails.form?octopusPropertyCode=(.*?)&
>  > >  >>
>  > >  >> That should be: href="hotelDetails.form\?octopusPropertyCode=(.*?)&
>  > >  >>
>  > >  >> because form? means "for" optionally followed by "m".
>  > >  >>
>  > >  >> >  *Template :* $1$
>  > >  >> >  *match No:* 1
>  > >  >> >  *Default value :* -1
>  > >  >> >
>  > >  >> >  For city ID
>  > >  >> >
>  > >  >> >  *Regular Expression:*
>  > >  >> href="hotelDetails.form?octopusPropertyCode=(.*?)"
>  > >  >> >  I thought it must have the extracted value as "*
>  > >  >> >  octopusPropertyCode=T04185&cityId=3117735*" if so, how can i split
>  > city
>  > >  >> id
>  > >  >> >  from this,
>  > >  >> >  provided if the regular expression is working correct.
>  > >  >> >
>  > >  >> >  But it returned the default value only (-1). Do i need to escape
>  > the
>  > >  >> "?"
>  > >  >> >  character? if so, how?
>  > >  >>
>  > >  >> See above.
>  > >  >>
>  > >  >> >  can anybody  please help me to extract the property code & city id
>  > from
>  > >  >> this
>  > >  >> >  expression?
>  > >  >>
>  > >  >> href="hotelDetails.form\?octopusPropertyCode=(.*?)&cityId=(\d+)
>  > >  >>
>  > >  >> property code will be in $1$ and cityId in $2$
>  > >  >>
>  > >  >> >  Sometimes back i have seen a mail to print the extracted code in
>  > the
>  > >  >> title
>  > >  >> >  bar?
>  > >  >>
>  > >  >> What title bar? Do you mean the Name of a sampler?
>  > >  >> If so, just use ${variable} in the name.
>  > >  >>
>  > >  >> >  can any one please tell me how to see the extracted values from
>  > the web
>  > >  >> >  request?
>  > >  >>
>  > >  >> Or use the Debug Sampler together with Tree View Listener.
>  > >  >>
>  > >  >> >
>  > >  >> >  Awaiting to hear from you team
>  > >  >> >
>  > >  >> >  Thanks in advance
>  > >  >> >
>  > >  >> > Mohamed Niyas M
>  > >  >> >
>  > >  >>
>  > >  >> ---------------------------------------------------------------------
>  > >  >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > >  >> For additional commands, e-mail: [EMAIL PROTECTED]
>  > >  >>
>  > >  >>
>  > >  >
>  > >  >
>  > >  > --
>  > >  > Regards, Mohamed Niyas M Mobile: 98804 59080 [EMAIL PROTECTED]
>  > >  > [EMAIL PROTECTED]
>  > >  >
>  > >
>  > >
>  > >
>  > >  --
>  > >  Regards, Mohamed Niyas M Mobile: 98804 59080 [EMAIL PROTECTED]
>  > >  [EMAIL PROTECTED]
>  > >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>
>
>  --
>  Regards, Mohamed Niyas M Mobile: 98804 59080 [EMAIL PROTECTED]
>  [EMAIL PROTECTED]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to